Index: ash/shell.h |
diff --git a/ash/shell.h b/ash/shell.h |
index f3d47e8e23e1efa1e8d419c6747404f20d2150c2..d7a6632de0b83961b4f5fbfc6adf2395dc04e66c 100644 |
--- a/ash/shell.h |
+++ b/ash/shell.h |
@@ -49,6 +49,11 @@ class ImageSkia; |
class Point; |
class Rect; |
} |
+ |
+namespace keyboard { |
+class KeyboardController; |
+} |
+ |
namespace ui { |
class Layer; |
} |
@@ -276,6 +281,10 @@ class ASH_EXPORT Shell |
void AddShellObserver(ShellObserver* observer); |
void RemoveShellObserver(ShellObserver* observer); |
+ keyboard::KeyboardController* keyboard_controller() { |
+ return keyboard_controller_.get(); |
+ } |
+ |
AcceleratorController* accelerator_controller() { |
return accelerator_controller_.get(); |
} |
@@ -502,6 +511,9 @@ class ASH_EXPORT Shell |
void Init(); |
+ // Initializes virtual keyboard controller and attaches it to |root|. |
+ void InitKeyboard(internal::RootWindowController* root); |
+ |
// Initializes the root window and root window controller so that it |
// can host browser windows. |first_run_after_boot| is true for the |
// primary display only first time after boot. |
@@ -540,6 +552,7 @@ class ASH_EXPORT Shell |
std::vector<WindowAndBoundsPair> to_restore_; |
+ scoped_ptr<keyboard::KeyboardController> keyboard_controller_; |
scoped_ptr<NestedDispatcherController> nested_dispatcher_controller_; |
scoped_ptr<AcceleratorController> accelerator_controller_; |
scoped_ptr<ShellDelegate> delegate_; |