commit | ee6a9e4d12a31d5f461476070dc6746efe27dbe7 | [log] [tgz] |
---|---|---|
author | Tom Anderson <thomasanderson@chromium.org> | Mon May 21 19:40:08 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 21 19:40:08 2018 |
tree | b10d96e7fc69448ac5b0dfb75e277d2d6cd13444 | |
parent | 2084fb4f19ee5d52cfa4447b40fb9ef5763f2f23 [diff] |
Confirm-to-quit: Delay quitting until accelerator is released On Mac, they discovered long ago that quitting after holding Cmd+Q was a bad idea since apps underneath Chrome would get the repeated Cmd+Q key event and would also close [1]. Their solution was to delay quitting until the shortcut is released. To give users confirmation that Chrome is quitting, all browser windows are faded out. The same issue occurs on Linux and Windows (I've unintentionally closed many background apps writing CL [2]), so this CL implements the Mac solution. [1] http://dev.chromium.org/developers/design-documents/confirm-to-quit-experiment [2] https://chromium.googlesource.com/chromium/src.git/+/6cbd505d3cb04e3e108e61a74f82421b66f0f655 BUG=243164 R=sky Change-Id: Ia3de4acaf463cd5b202743d44f763c6d52fbe963 Reviewed-on: https://chromium-review.googlesource.com/1066924 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#560336}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .