Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: chrome/browser/ui/ash/ash_keyboard_controller_proxy.h

Issue 1169223002: [Extensions] Clean up the handling of ExtensionHostMsg_Request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/ash_keyboard_controller_proxy.h
diff --git a/chrome/browser/ui/ash/ash_keyboard_controller_proxy.h b/chrome/browser/ui/ash/ash_keyboard_controller_proxy.h
index 64c042ce81ce1f2b7359c98763e4cb3cc43e83b9..e22d363b08de124437eaa1cd40158f98105a92e3 100644
--- a/chrome/browser/ui/ash/ash_keyboard_controller_proxy.h
+++ b/chrome/browser/ui/ash/ash_keyboard_controller_proxy.h
@@ -8,7 +8,6 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "content/public/browser/web_contents_observer.h"
-#include "extensions/browser/extension_function_dispatcher.h"
#include "ui/keyboard/keyboard_controller_proxy.h"
namespace content {
@@ -34,15 +33,12 @@ class InputMethod;
// access to the virtual keyboard window and setup Chrome extension functions.
class AshKeyboardControllerProxy
: public keyboard::KeyboardControllerProxy,
- public content::WebContentsObserver,
- public extensions::ExtensionFunctionDispatcher::Delegate {
+ public content::WebContentsObserver {
public:
explicit AshKeyboardControllerProxy(content::BrowserContext* context);
~AshKeyboardControllerProxy() override;
private:
- void OnRequest(const ExtensionHostMsg_Request_Params& params);
-
// keyboard::KeyboardControllerProxy overrides
ui::InputMethod* GetInputMethod() override;
void RequestAudioInput(
@@ -62,18 +58,11 @@ class AshKeyboardControllerProxy
// that case.
void SetUpdateInputType(ui::TextInputType type) override;
- // extensions::ExtensionFunctionDispatcher::Delegate overrides
- extensions::WindowController* GetExtensionWindowController() const override;
- content::WebContents* GetAssociatedWebContents() const override;
-
// content::WebContentsObserver overrides
- bool OnMessageReceived(const IPC::Message& message) override;
void RenderViewCreated(content::RenderViewHost* render_view_host) override;
keyboard::KeyboardController* keyboard_controller_;
- scoped_ptr<extensions::ExtensionFunctionDispatcher>
- extension_function_dispatcher_;
scoped_ptr<keyboard::KeyboardControllerObserver> observer_;
DISALLOW_COPY_AND_ASSIGN(AshKeyboardControllerProxy);

Powered by Google App Engine
This is Rietveld 408576698