diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-16 16:19:05 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-16 16:19:05 +0000 |
commit | 4ca76c039697483d5f27accf2772ca9cdcd1a586 (patch) | |
tree | 3cfb7fd955918e6a833ba945980bab06a575af2e /content/browser/renderer_host/render_view_host_factory.h | |
parent | 5795ee1901f6a14a8635b93a8b7a39589eb8b179 (diff) | |
download | chromium_src-4ca76c039697483d5f27accf2772ca9cdcd1a586.zip chromium_src-4ca76c039697483d5f27accf2772ca9cdcd1a586.tar.gz chromium_src-4ca76c039697483d5f27accf2772ca9cdcd1a586.tar.bz2 |
Move keyboard related methods from RenderViewHostDelegate to a new RenderWidgetHostDelegate
That way, a WebContentsDelegate gets to handle the keyboard events also for widgets spawned by the WebContents
BUG=none
TEST=what could possibly go wrong?
Review URL: https://chromiumcodereview.appspot.com/10377158
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137436 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/render_view_host_factory.h')
-rw-r--r-- | content/browser/renderer_host/render_view_host_factory.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_view_host_factory.h b/content/browser/renderer_host/render_view_host_factory.h index 99d7299..fe9a0d5 100644 --- a/content/browser/renderer_host/render_view_host_factory.h +++ b/content/browser/renderer_host/render_view_host_factory.h @@ -12,6 +12,7 @@ namespace content { class RenderViewHost; class RenderViewHostDelegate; +class RenderWidgetHostDelegate; class SessionStorageNamespace; class SiteInstance; } @@ -27,6 +28,7 @@ class RenderViewHostFactory { static content::RenderViewHost* Create( content::SiteInstance* instance, content::RenderViewHostDelegate* delegate, + content::RenderWidgetHostDelegate* widget_delegate, int routing_id, bool swapped_out, content::SessionStorageNamespace* session_storage); @@ -45,6 +47,7 @@ class RenderViewHostFactory { virtual content::RenderViewHost* CreateRenderViewHost( content::SiteInstance* instance, content::RenderViewHostDelegate* delegate, + content::RenderWidgetHostDelegate* widget_delegate, int routing_id, bool swapped_out, content::SessionStorageNamespace* session_storage_namespace) = 0; |