Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ash/shell/keyboard_controller_proxy_stub.h" | |
| 6 | |
| 7 #include "ash/shell.h" | |
| 8 #include "ui/views/corewm/input_method_event_filter.h" | |
| 9 | |
| 10 using namespace content; | |
| 11 | |
| 12 namespace ash { | |
| 13 | |
| 14 KeyboardControllerProxyStub::KeyboardControllerProxyStub() { | |
| 15 } | |
| 16 | |
| 17 KeyboardControllerProxyStub::~KeyboardControllerProxyStub() { | |
| 18 } | |
| 19 | |
| 20 BrowserContext* KeyboardControllerProxyStub::GetBrowserContext() OVERRIDE { | |
| 21 return Shell::GetInstance()->browser_context(); | |
| 22 } | |
| 23 | |
| 24 ui::InputMethod* KeyboardControllerProxyStub::GetInputMethod() OVERRIDE { | |
| 25 return Shell::GetInstance()->input_method_filter()->input_method(); | |
| 26 } | |
| 27 | |
| 28 void KeyboardControllerProxyStub::RequestAudioInput( | |
| 29 WebContents* web_contents, | |
| 30 const MediaStreamRequest& request, | |
| 31 const MediaResponseCallback& callback) OVERRIDE { | |
| 32 return; | |
|
oshima
2013/08/08 17:19:29
nuke return;
bshe
2013/08/08 19:37:02
Done.
| |
| 33 } | |
| 34 | |
| 35 } // namespace keyboard | |
|
oshima
2013/08/08 17:19:29
ash
bshe
2013/08/08 19:37:02
Done.
| |
| 36 | |
| OLD | NEW |