| Index: chrome/browser/ui/panels/panel_host.h
|
| diff --git a/chrome/browser/ui/panels/panel_host.h b/chrome/browser/ui/panels/panel_host.h
|
| index 4ed270b58bdbf51194f6f367a848262aeeb47013..52be8f1261e9aef6f34e391f9c71bcde4a92c4c0 100644
|
| --- a/chrome/browser/ui/panels/panel_host.h
|
| +++ b/chrome/browser/ui/panels/panel_host.h
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/browser/extensions/extension_function_dispatcher.h"
|
| #include "content/public/browser/web_contents_delegate.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| +#include "content/public/common/page_zoom.h"
|
|
|
| class ExtensionWindowController;
|
| class FaviconTabHelper;
|
| @@ -53,7 +54,12 @@ class PanelHost : public content::WebContentsDelegate,
|
| const gfx::Rect& pos) OVERRIDE;
|
| virtual bool IsPopupOrPanel(
|
| const content::WebContents* source) const OVERRIDE;
|
| + virtual void ContentsZoomChange(bool zoom_in) OVERRIDE;
|
| virtual bool IsApplication() const OVERRIDE;
|
| + virtual bool HandleContextMenu(
|
| + const content::ContextMenuParams& params) OVERRIDE;
|
| + virtual void HandleKeyboardEvent(
|
| + const content::NativeWebKeyboardEvent& event) OVERRIDE;
|
| virtual void ResizeDueToAutoResize(content::WebContents* web_contents,
|
| const gfx::Size& new_size) OVERRIDE;
|
|
|
| @@ -68,6 +74,12 @@ class PanelHost : public content::WebContentsDelegate,
|
| OVERRIDE;
|
| virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE;
|
|
|
| + // Actions on web contents.
|
| + void Reload();
|
| + void ReloadIgnoringCache();
|
| + void StopLoading();
|
| + void Zoom(content::PageZoom zoom);
|
| +
|
| private:
|
| // Helper to close panel via the message loop.
|
| void ClosePanel();
|
|
|