summaryrefslogtreecommitdiffstats
path: root/ash/shell_window_ids.h
diff options
context:
space:
mode:
authorkevers <kevers@chromium.org>2014-09-17 06:50:12 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-17 13:50:26 +0000
commit23f3987d5ecd4be30938bd9673148830482ac777 (patch)
treef87a64cf6300bcf95711eaacbcd90d3324bee816 /ash/shell_window_ids.h
parent830c88cca3c89dfabcbfc360ac7c035a020b8307 (diff)
downloadchromium_src-23f3987d5ecd4be30938bd9673148830482ac777.zip
chromium_src-23f3987d5ecd4be30938bd9673148830482ac777.tar.gz
chromium_src-23f3987d5ecd4be30938bd9673148830482ac777.tar.bz2
Adjust the z-order of the virtual keyboard to ensure that it does not overlap context menus. Previously, the virtual keyboard was placed just below the cursor container. Adding a test case to ensure that the virtual keyboard overlaps normal windows but not menus.
BUG=377180 Review URL: https://codereview.chromium.org/565373002 Cr-Commit-Position: refs/heads/master@{#295268}
Diffstat (limited to 'ash/shell_window_ids.h')
-rw-r--r--ash/shell_window_ids.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/ash/shell_window_ids.h b/ash/shell_window_ids.h
index f01e74b..1732887 100644
--- a/ash/shell_window_ids.h
+++ b/ash/shell_window_ids.h
@@ -73,27 +73,27 @@ const int kShellWindowId_LockSystemModalContainer = 16;
// The container for the status area.
const int kShellWindowId_StatusContainer = 17;
+// A parent container that holds the virtual keyboard container. This is to
+// ensure that the virtual keyboard is stacked above most containers but below
+// the mouse cursor, context menus and the power off animation.
+const int kShellWindowId_VirtualKeyboardParentContainer = 18;
+
// The container for menus.
-const int kShellWindowId_MenuContainer = 18;
+const int kShellWindowId_MenuContainer = 19;
// The container for drag/drop images and tooltips.
-const int kShellWindowId_DragImageAndTooltipContainer = 19;
+const int kShellWindowId_DragImageAndTooltipContainer = 20;
// The container for bubbles briefly overlaid onscreen to show settings changes
// (volume, brightness, input method bubbles, etc.).
-const int kShellWindowId_SettingBubbleContainer = 20;
+const int kShellWindowId_SettingBubbleContainer = 21;
// The container for special components overlaid onscreen, such as the
// region selector for partial screenshots.
-const int kShellWindowId_OverlayContainer = 21;
+const int kShellWindowId_OverlayContainer = 22;
// ID of the window created by PhantomWindowController or DragWindowController.
-const int kShellWindowId_PhantomWindow = 22;
-
-// A parent container that holds the virtual keyboard container. This is to
-// ensure that the virtual keyboard is stacked above most containers but below
-// the mouse cursor and the power off animation.
-const int kShellWindowId_VirtualKeyboardParentContainer = 23;
+const int kShellWindowId_PhantomWindow = 23;
// The container for mouse cursor.
const int kShellWindowId_MouseCursorContainer = 24;