diff options
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host.h')
-rw-r--r-- | chrome/browser/renderer_host/render_widget_host.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host.h b/chrome/browser/renderer_host/render_widget_host.h index 45b114b..b0192a4 100644 --- a/chrome/browser/renderer_host/render_widget_host.h +++ b/chrome/browser/renderer_host/render_widget_host.h @@ -177,7 +177,7 @@ class RenderWidgetHost : public IPC::Channel::Listener, virtual void Shutdown(); // Manual RTTI FTW. We are not hosting a web page. - virtual bool IsRenderView() const { return false; } + virtual bool IsRenderView() const; // IPC::Channel::Listener virtual void OnMessageReceived(const IPC::Message& msg); @@ -428,9 +428,7 @@ class RenderWidgetHost : public IPC::Channel::Listener, // be handled in HandleKeyboardEvent() method as a normal keyboard shortcut, // |*is_keyboard_shortcut| should be set to true. virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, - bool* is_keyboard_shortcut) { - return false; - } + bool* is_keyboard_shortcut); // Called when a keyboard event was not processed by the renderer. This is // overridden by RenderView to send upwards to its delegate. |