Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: ash/shell/keyboard_controller_proxy_stub.h

Issue 22465007: Whitelist virtual keyboard container to process events at login screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reviews Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/shell/keyboard_controller_proxy_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/keyboard_controller_proxy_stub.h
diff --git a/ash/shell/keyboard_controller_proxy_stub.h b/ash/shell/keyboard_controller_proxy_stub.h
new file mode 100644
index 0000000000000000000000000000000000000000..acf1eb84b65aa4f31186a896ef89e31e4531a382
--- /dev/null
+++ b/ash/shell/keyboard_controller_proxy_stub.h
@@ -0,0 +1,33 @@
+// Copyright 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 ASH_SHELL_KEYBOARD_CONTROLLER_PROXY_STUB_H_
+#define ASH_SHELL_KEYBOARD_CONTROLLER_PROXY_STUB_H_
+
+#include "ui/keyboard/keyboard_controller_proxy.h"
+
+namespace ash {
+
+// Stub implementation of KeyboardControllerProxy
+class KEYBOARD_EXPORT KeyboardControllerProxyStub
+ : public keyboard::KeyboardControllerProxy {
+ public:
+ KeyboardControllerProxyStub();
+ virtual ~KeyboardControllerProxyStub();
+
+ private:
+ // Overridden from keyboard::KeyboardControllerProxy:
+ virtual content::BrowserContext* GetBrowserContext() OVERRIDE;
+ virtual ui::InputMethod* GetInputMethod() OVERRIDE;
+
oshima 2013/08/08 20:03:07 nuke new line
bshe 2013/08/12 18:31:31 Done.
+ virtual void RequestAudioInput(content::WebContents* web_contents,
+ const content::MediaStreamRequest& request,
+ const content::MediaResponseCallback& callback) OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(KeyboardControllerProxyStub);
+};
+
+} // namespace ash
+
+#endif // ASH_SHELL_KEYBOARD_CONTROLLER_PROXY_STUB_H_
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/shell/keyboard_controller_proxy_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698