summaryrefslogtreecommitdiffstats
path: root/ash/shell_window_ids.h
diff options
context:
space:
mode:
authorhshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-05 18:39:52 +0000
committerhshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-05 18:39:52 +0000
commitb2da9b606286f651cf45d9312fa5ed8e2ca9c401 (patch)
tree4c7b561c712ee3247e94402b42476d9d3825cfb2 /ash/shell_window_ids.h
parente82abea5720382429c29c2691d4d17e0719185da (diff)
downloadchromium_src-b2da9b606286f651cf45d9312fa5ed8e2ca9c401.zip
chromium_src-b2da9b606286f651cf45d9312fa5ed8e2ca9c401.tar.gz
chromium_src-b2da9b606286f651cf45d9312fa5ed8e2ca9c401.tar.bz2
Make Chrome OS virtual keyboard to work with cursor compositing.
Explicitly define container IDs for the parent container of the virtual keyboard, as well as the mouse cursor container. This is to ensure the correct ordering in which containers are stacked together. Specifically the virtual keyboard parent container should be above all non-lock screen, lock screen and lock screen related containers, but below the mouse cursor container, which sits immediately below the power animation container. BUG=347304 TEST=trybots and manual verification. R=kevers@chromium.org, oshima@chromium.org Review URL: https://codereview.chromium.org/186673008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_window_ids.h')
-rw-r--r--ash/shell_window_ids.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/ash/shell_window_ids.h b/ash/shell_window_ids.h
index ab5fd23..aedc8b5 100644
--- a/ash/shell_window_ids.h
+++ b/ash/shell_window_ids.h
@@ -99,8 +99,16 @@ const int kShellWindowId_OverlayContainer = 22;
// ID of the window created by PhantomWindowController or DragWindowController.
const int kShellWindowId_PhantomWindow = 23;
+// 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 = 24;
+
+// The container for mouse cursor.
+const int kShellWindowId_MouseCursorContainer = 25;
+
// The topmost container, used for power off animation.
-const int kShellWindowId_PowerButtonAnimationContainer = 24;
+const int kShellWindowId_PowerButtonAnimationContainer = 26;
} // namespace internal