diff options
Diffstat (limited to 'chrome/browser/extensions/extension_host.h')
-rw-r--r-- | chrome/browser/extensions/extension_host.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h index 51db000..c9422ce 100644 --- a/chrome/browser/extensions/extension_host.h +++ b/chrome/browser/extensions/extension_host.h @@ -106,11 +106,11 @@ class ExtensionHost : public RenderViewHostDelegate, // |size_limit| in both width and height. void DisableScrollbarsForSmallWindows(const gfx::Size& size_limit); - // RenderViewHostDelegate::View implementation. + // RenderViewHostDelegate implementation. + virtual bool OnMessageReceived(const IPC::Message& message); virtual const GURL& GetURL() const; virtual void RenderViewCreated(RenderViewHost* render_view_host); virtual ViewType::Type GetRenderViewType() const; - virtual FileSelect* GetFileSelectDelegate(); virtual int GetBrowserWindowID() const; virtual void RenderViewGone(RenderViewHost* render_view_host, base::TerminationStatus status, @@ -226,6 +226,9 @@ class ExtensionHost : public RenderViewHostDelegate, virtual Browser* GetBrowser(); virtual gfx::NativeView GetNativeViewOfHost(); + // Message handlers. + void OnRunFileChooser(const ViewHostMsg_RunFileChooser_Params& params); + // Handles keyboard events that were not handled by HandleKeyboardEvent(). // Platform specific implementation may override this method to handle the // event in platform specific way. |