#include "extensions/browser/extension_function_dispatcher.h"
#include "ui/keyboard/keyboard_controller_proxy.h"
-class ExtensionFunctionDispatcher;
-
namespace content {
class WebContents;
}
namespace extensions {
+class ExtensionFunctionDispatcher;
class WindowController;
}
namespace gfx {
class AshKeyboardControllerProxy
: public keyboard::KeyboardControllerProxy,
public content::WebContentsObserver,
- public ExtensionFunctionDispatcher::Delegate {
+ public extensions::ExtensionFunctionDispatcher::Delegate {
public:
AshKeyboardControllerProxy();
virtual ~AshKeyboardControllerProxy();
private:
- friend class AshKeyboardControllerProxyTest;
-
void OnRequest(const ExtensionHostMsg_Request_Params& params);
// keyboard::KeyboardControllerProxy overrides
const content::MediaResponseCallback& callback) OVERRIDE;
virtual void SetupWebContents(content::WebContents* contents) OVERRIDE;
virtual void ShowKeyboardContainer(aura::Window* container) OVERRIDE;
- virtual void EnsureCaretInWorkArea() OVERRIDE;
// The overridden implementation dispatches
// chrome.virtualKeyboardPrivate.onTextInputBoxFocused event to extension to
// that case.
virtual void SetUpdateInputType(ui::TextInputType type) OVERRIDE;
- // ExtensionFunctionDispatcher::Delegate overrides
+ // extensions::ExtensionFunctionDispatcher::Delegate overrides
virtual extensions::WindowController* GetExtensionWindowController() const
OVERRIDE;
virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE;
// content::WebContentsObserver overrides
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
- scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
+ scoped_ptr<extensions::ExtensionFunctionDispatcher>
+ extension_function_dispatcher_;
DISALLOW_COPY_AND_ASSIGN(AshKeyboardControllerProxy);
};