summaryrefslogtreecommitdiffstats
path: root/ash/root_window_controller.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-29 00:14:28 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-29 00:14:28 +0000
commit608de6c37623cffef25091a29ad9eb8a22406367 (patch)
tree4655e3fd74f9ac00ea71284a049c2a86e45f5bab /ash/root_window_controller.h
parenteb03353241d2cf444a1f1ef5c4ea12d2815f2b30 (diff)
downloadchromium_src-608de6c37623cffef25091a29ad9eb8a22406367.zip
chromium_src-608de6c37623cffef25091a29ad9eb8a22406367.tar.gz
chromium_src-608de6c37623cffef25091a29ad9eb8a22406367.tar.bz2
VIRTUAL KEYBOARD mode for second display
This is a place holder so that bshe can add VK to this root window. BUG=310325 R=bshe@chromium.org Review URL: https://codereview.chromium.org/41583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/root_window_controller.h')
-rw-r--r--ash/root_window_controller.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h
index 3bbc469..fa8172f 100644
--- a/ash/root_window_controller.h
+++ b/ash/root_window_controller.h
@@ -84,6 +84,10 @@ class ASH_EXPORT RootWindowController : public ShellObserver {
// Creates and Initialize the RootWindowController for secondary displays.
static void CreateForSecondaryDisplay(aura::RootWindow* root_window);
+ // Creates and Initialize the RootWindowController for virtual
+ // keyboard displays.
+ static void CreateForVirtualKeyboardDisplay(aura::RootWindow* root_window);
+
// Returns a RootWindowController that has a launcher for given
// |window|. This returns the RootWindowController for the |window|'s
// root window when multiple launcher mode is enabled, or the primary
@@ -222,11 +226,16 @@ class ASH_EXPORT RootWindowController : public ShellObserver {
private:
explicit RootWindowController(aura::RootWindow* root_window);
+ enum RootWindowType {
+ PRIMARY,
+ SECONDARY,
+ VIRTUAL_KEYBOARD
+ };
// Initializes the RootWindowController. |is_primary| is true if
// the controller is for primary display. |first_run_after_boot| is
// set to true only for primary root window after boot.
- void Init(bool is_primary, bool first_run_after_boot);
+ void Init(RootWindowType root_window_type, bool first_run_after_boot);
void InitLayoutManagers();