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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 10377158: Move keyboard related methods from RenderViewHostDelegate to a new RenderWidgetHostDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove crbug link Created 8 years, 7 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: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 63573baefd7a13f9fee86757babe9d5420f0720e..dc7c55ef913860350b2bdf961fa2544dd6699b3e 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -61,6 +61,7 @@ namespace content {
class SessionStorageNamespace;
class RenderViewHostObserver;
+class RenderWidgetHostDelegate;
struct FileChooserParams;
struct ContextMenuParams;
struct Referrer;
@@ -134,6 +135,7 @@ class CONTENT_EXPORT RenderViewHostImpl
RenderViewHostImpl(
SiteInstance* instance,
RenderViewHostDelegate* delegate,
+ RenderWidgetHostDelegate* widget_delegate,
int routing_id,
bool swapped_out,
SessionStorageNamespace* session_storage_namespace);
@@ -425,10 +427,6 @@ class CONTENT_EXPORT RenderViewHostImpl
void RemoveObserver(RenderViewHostObserver* observer);
// RenderWidgetHost protected overrides.
- virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
- bool* is_keyboard_shortcut) OVERRIDE;
- virtual void UnhandledKeyboardEvent(
- const NativeWebKeyboardEvent& event) OVERRIDE;
virtual void OnUserGesture() OVERRIDE;
virtual void NotifyRendererUnresponsive() OVERRIDE;
virtual void NotifyRendererResponsive() OVERRIDE;
« no previous file with comments | « content/browser/renderer_host/render_view_host_factory.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698