| Index: chrome/browser/ui/panels/panel_host.cc
|
| diff --git a/chrome/browser/ui/panels/panel_host.cc b/chrome/browser/ui/panels/panel_host.cc
|
| index c8e998c5552d4c9290cec2b51f226da15086da4a..d96dfee2beab8aa7c2202a8f54d09a8c7a9b2d19 100644
|
| --- a/chrome/browser/ui/panels/panel_host.cc
|
| +++ b/chrome/browser/ui/panels/panel_host.cc
|
| @@ -96,10 +96,23 @@ bool PanelHost::IsPopupOrPanel(const content::WebContents* source) const {
|
| return true;
|
| }
|
|
|
| +void PanelHost::ContentsZoomChange(bool zoom_in) {
|
| + panel_->ContentsZoomChange(zoom_in);
|
| +}
|
| +
|
| bool PanelHost::IsApplication() const {
|
| return true;
|
| }
|
|
|
| +bool PanelHost::HandleContextMenu(const content::ContextMenuParams& params) {
|
| + return true; // Disallow context menu.
|
| +}
|
| +
|
| +void PanelHost::HandleKeyboardEvent(
|
| + const content::NativeWebKeyboardEvent& event) {
|
| + return panel_->HandleKeyboardEvent(event);
|
| +}
|
| +
|
| void PanelHost::ResizeDueToAutoResize(content::WebContents* web_contents,
|
| const gfx::Size& new_size) {
|
| panel_->OnContentsAutoResized(new_size);
|
|
|