Index: ash/shell/keyboard_controller_proxy_stub.cc |
diff --git a/ash/shell/keyboard_controller_proxy_stub.cc b/ash/shell/keyboard_controller_proxy_stub.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5e2330a3eb96bef120e2277260be64d775cfe28d |
--- /dev/null |
+++ b/ash/shell/keyboard_controller_proxy_stub.cc |
@@ -0,0 +1,36 @@ |
+// 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. |
+ |
+#include "ash/shell/keyboard_controller_proxy_stub.h" |
+ |
+#include "ash/shell.h" |
+#include "ui/views/corewm/input_method_event_filter.h" |
+ |
+using namespace content; |
+ |
+namespace ash { |
+ |
+KeyboardControllerProxyStub::KeyboardControllerProxyStub() { |
+} |
+ |
+KeyboardControllerProxyStub::~KeyboardControllerProxyStub() { |
+} |
+ |
+BrowserContext* KeyboardControllerProxyStub::GetBrowserContext() OVERRIDE { |
+ return Shell::GetInstance()->browser_context(); |
+} |
+ |
+ui::InputMethod* KeyboardControllerProxyStub::GetInputMethod() OVERRIDE { |
+ return Shell::GetInstance()->input_method_filter()->input_method(); |
+} |
+ |
+void KeyboardControllerProxyStub::RequestAudioInput( |
+ WebContents* web_contents, |
+ const MediaStreamRequest& request, |
+ const MediaResponseCallback& callback) OVERRIDE { |
+ return; |
oshima
2013/08/08 17:19:29
nuke return;
bshe
2013/08/08 19:37:02
Done.
|
+} |
+ |
+} // namespace keyboard |
oshima
2013/08/08 17:19:29
ash
bshe
2013/08/08 19:37:02
Done.
|
+ |