From 4636716b1880ae68c92f57b8eaef19bde67f45a3 Mon Sep 17 00:00:00 2001 From: "skuhne@chromium.org" Date: Fri, 9 May 2014 13:17:57 +0000 Subject: 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 --- ash/accelerators/accelerator_table.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ash/accelerators') 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, -- cgit v1.1