| 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/keyboard_controller_proxy_stub.h" | |
| 6 | |
| 7 #include "ash/shell.h" | |
| 8 #include "ash/shell_delegate.h" | |
| 9 #include "ui/views/corewm/input_method_event_filter.h" | |
| 10 | |
| 11 using namespace content; | |
| 12 | |
| 13 namespace ash { | |
| 14 | |
| 15 KeyboardControllerProxyStub::KeyboardControllerProxyStub() { | |
| 16 } | |
| 17 | |
| 18 KeyboardControllerProxyStub::~KeyboardControllerProxyStub() { | |
| 19 } | |
| 20 | |
| 21 BrowserContext* KeyboardControllerProxyStub::GetBrowserContext() { | |
| 22 return Shell::GetInstance()->delegate()->GetCurrentBrowserContext(); | |
| 23 } | |
| 24 | |
| 25 ui::InputMethod* KeyboardControllerProxyStub::GetInputMethod() { | |
| 26 return Shell::GetInstance()->input_method_filter()->input_method(); | |
| 27 } | |
| 28 | |
| 29 void KeyboardControllerProxyStub::RequestAudioInput( | |
| 30 WebContents* web_contents, | |
| 31 const MediaStreamRequest& request, | |
| 32 const MediaResponseCallback& callback) { | |
| 33 } | |
| 34 | |
| 35 } // namespace ash | |
| OLD | NEW |