| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_ASH_ASH_KEYBOARD_CONTROLLER_PROXY_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_ASH_KEYBOARD_CONTROLLER_PROXY_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_ASH_KEYBOARD_CONTROLLER_PROXY_H_ | 6 #define CHROME_BROWSER_UI_ASH_ASH_KEYBOARD_CONTROLLER_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 10 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 public: | 33 public: |
| 34 AshKeyboardControllerProxy(); | 34 AshKeyboardControllerProxy(); |
| 35 virtual ~AshKeyboardControllerProxy(); | 35 virtual ~AshKeyboardControllerProxy(); |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 void OnRequest(const ExtensionHostMsg_Request_Params& params); | 38 void OnRequest(const ExtensionHostMsg_Request_Params& params); |
| 39 | 39 |
| 40 // keyboard::KeyboardControllerProxy overrides | 40 // keyboard::KeyboardControllerProxy overrides |
| 41 virtual content::BrowserContext* GetBrowserContext() OVERRIDE; | 41 virtual content::BrowserContext* GetBrowserContext() OVERRIDE; |
| 42 virtual ui::InputMethod* GetInputMethod() OVERRIDE; | 42 virtual ui::InputMethod* GetInputMethod() OVERRIDE; |
| 43 virtual void RequestAudioInput(content::WebContents* web_contents, |
| 44 const content::MediaStreamRequest& request, |
| 45 const content::MediaResponseCallback& callback) OVERRIDE; |
| 43 virtual void SetupWebContents(content::WebContents* contents) OVERRIDE; | 46 virtual void SetupWebContents(content::WebContents* contents) OVERRIDE; |
| 44 virtual void ShowKeyboardContainer(aura::Window* container) OVERRIDE; | 47 virtual void ShowKeyboardContainer(aura::Window* container) OVERRIDE; |
| 45 | 48 |
| 46 // ExtensionFunctionDispatcher::Delegate overrides | 49 // ExtensionFunctionDispatcher::Delegate overrides |
| 47 virtual extensions::WindowController* GetExtensionWindowController() const | 50 virtual extensions::WindowController* GetExtensionWindowController() const |
| 48 OVERRIDE; | 51 OVERRIDE; |
| 49 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; | 52 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; |
| 50 | 53 |
| 51 // content::WebContentsObserver overrides | 54 // content::WebContentsObserver overrides |
| 52 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 55 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 53 | 56 |
| 54 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 57 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
| 55 | 58 |
| 56 DISALLOW_COPY_AND_ASSIGN(AshKeyboardControllerProxy); | 59 DISALLOW_COPY_AND_ASSIGN(AshKeyboardControllerProxy); |
| 57 }; | 60 }; |
| 58 | 61 |
| 59 #endif // CHROME_BROWSER_UI_ASH_ASH_KEYBOARD_CONTROLLER_PROXY_H_ | 62 #endif // CHROME_BROWSER_UI_ASH_ASH_KEYBOARD_CONTROLLER_PROXY_H_ |
| OLD | NEW |