summaryrefslogtreecommitdiffstats
path: root/ui/keyboard/keyboard_controller_proxy.h
diff options
context:
space:
mode:
authorbryeung@chromium.org <bryeung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-10 13:39:24 +0000
committerbryeung@chromium.org <bryeung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-10 13:39:24 +0000
commit86459e2cef0d83b80c5efb0c932463e4dd3735ee (patch)
treed732b15a281a43554d83f753f25689411b5c47f7 /ui/keyboard/keyboard_controller_proxy.h
parent4f629d42cc381f446f8d0544287db23d4f1d8d62 (diff)
downloadchromium_src-86459e2cef0d83b80c5efb0c932463e4dd3735ee.zip
chromium_src-86459e2cef0d83b80c5efb0c932463e4dd3735ee.tar.gz
chromium_src-86459e2cef0d83b80c5efb0c932463e4dd3735ee.tar.bz2
Create and show the virtual keyboard.
Introduces ui/keyboard/ which contains generic code for the control of the keyboard (right now, just creation of the container window). Also includes the necessary changes to ash so that the keyboard is (always) displayed on ChromeOS builds when the --enable-virtual-keyboard flag is present. BUG=226986 Review URL: https://codereview.chromium.org/13164002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193378 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/keyboard/keyboard_controller_proxy.h')
-rw-r--r--ui/keyboard/keyboard_controller_proxy.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/ui/keyboard/keyboard_controller_proxy.h b/ui/keyboard/keyboard_controller_proxy.h
new file mode 100644
index 0000000..e1783a4d
--- /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_