diff options
author | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-09 13:17:57 +0000 |
---|---|---|
committer | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-09 13:17:57 +0000 |
commit | 4636716b1880ae68c92f57b8eaef19bde67f45a3 (patch) | |
tree | 66b7f75229452da780979d08c075a85a7d80b82b /ash/accelerators | |
parent | 5d69d04745fb9d82af4bb75f92c7bc938dbdd46f (diff) | |
download | chromium_src-4636716b1880ae68c92f57b8eaef19bde67f45a3.zip chromium_src-4636716b1880ae68c92f57b8eaef19bde67f45a3.tar.gz chromium_src-4636716b1880ae68c92f57b8eaef19bde67f45a3.tar.bz2 |
Centered system modal windows will remain centered after screen orientation changes / VK visibility changes / etc.
As discussed with oshima and sky, we keep a window centered when the system modal container changes size and it was previously centered. Otherwise we keep the previous handling: making sure that the window is remaining fully visible.
BUG=370920
TEST=ash_unittest and visual
Review URL: https://codereview.chromium.org/273763002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269257 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/accelerators')
-rw-r--r-- | ash/accelerators/accelerator_table.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/accelerators/accelerator_table.cc b/ash/accelerators/accelerator_table.cc index 10b568c..51b6324 100644 --- a/ash/accelerators/accelerator_table.cc +++ b/ash/accelerators/accelerator_table.cc @@ -329,6 +329,10 @@ const AcceleratorAction kActionsAllowedAtModalWindow[] = { POWER_RELEASED, PREVIOUS_IME, PRINT_UI_HIERARCHIES, + ROTATE_SCREEN, + SCALE_UI_UP, + SCALE_UI_DOWN, + SCALE_UI_RESET, SHOW_KEYBOARD_OVERLAY, SWITCH_IME, TAKE_PARTIAL_SCREENSHOT, |