Revert 219825 "Blink roll 156773:156785"
[chromium-blink-merge.git] / ash / keyboard_controller_proxy_stub.cc
blobcaaa3dd8a2e1365201b459722936261f77a61cdc
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.
5 #include "ash/keyboard_controller_proxy_stub.h"
7 #include "ash/shell.h"
8 #include "ui/views/corewm/input_method_event_filter.h"
10 using namespace content;
12 namespace ash {
14 KeyboardControllerProxyStub::KeyboardControllerProxyStub() {
17 KeyboardControllerProxyStub::~KeyboardControllerProxyStub() {
20 BrowserContext* KeyboardControllerProxyStub::GetBrowserContext() {
21 return Shell::GetInstance()->browser_context();
24 ui::InputMethod* KeyboardControllerProxyStub::GetInputMethod() {
25 return Shell::GetInstance()->input_method_filter()->input_method();
28 void KeyboardControllerProxyStub::RequestAudioInput(
29 WebContents* web_contents,
30 const MediaStreamRequest& request,
31 const MediaResponseCallback& callback) {
34 } // namespace ash