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 #ifndef ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_ | |
6 #define ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_ | |
7 | |
8 #include "ash/ash_export.h" | |
9 #include "ui/keyboard/keyboard_controller_proxy.h" | |
10 | |
11 namespace ash { | |
12 | |
13 // Stub implementation of KeyboardControllerProxy | |
14 class ASH_EXPORT KeyboardControllerProxyStub | |
15 : public keyboard::KeyboardControllerProxy { | |
16 public: | |
17 KeyboardControllerProxyStub(); | |
18 virtual ~KeyboardControllerProxyStub(); | |
19 | |
20 private: | |
21 // Overridden from keyboard::KeyboardControllerProxy: | |
22 virtual content::BrowserContext* GetBrowserContext() OVERRIDE; | |
23 virtual ui::InputMethod* GetInputMethod() OVERRIDE; | |
24 virtual void RequestAudioInput(content::WebContents* web_contents, | |
25 const content::MediaStreamRequest& request, | |
26 const content::MediaResponseCallback& callback) OVERRIDE; | |
27 | |
28 DISALLOW_COPY_AND_ASSIGN(KeyboardControllerProxyStub); | |
29 }; | |
30 | |
31 } // namespace ash | |
32 | |
33 #endif // ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_ | |
OLD | NEW |