Index: ui/keyboard/keyboard_controller_proxy.h |
diff --git a/ui/keyboard/keyboard_controller_proxy.h b/ui/keyboard/keyboard_controller_proxy.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e1783a4dbd43015fa81b83ff864ac0f32c253371 |
--- /dev/null |
+++ b/ui/keyboard/keyboard_controller_proxy.h |
@@ -0,0 +1,29 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_KEYBOARD_KEYBOARD_CONTROLLER_PROXY_H_ |
+#define UI_KEYBOARD_KEYBOARD_CONTROLLER_PROXY_H_ |
+ |
+#include "ui/keyboard/keyboard_export.h" |
+ |
+namespace aura { |
+class Window; |
+} |
+ |
+namespace keyboard { |
+ |
+// A proxy used by the KeyboardController to get access to the virtual |
+// keyboard window. |
+class KEYBOARD_EXPORT KeyboardControllerProxy { |
+ public: |
+ virtual ~KeyboardControllerProxy() {} |
+ |
+ // Get the virtual keyboard window. Ownership of the returned Window remains |
+ // with the proxy. |
+ virtual aura::Window* GetKeyboardWindow() = 0; |
+}; |
+ |
+} // namespace keyboard |
+ |
+#endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_PROXY_H_ |