summaryrefslogtreecommitdiffstats
path: root/content/test/test_render_view_host_factory.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 16:19:05 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 16:19:05 +0000
commit4ca76c039697483d5f27accf2772ca9cdcd1a586 (patch)
tree3cfb7fd955918e6a833ba945980bab06a575af2e /content/test/test_render_view_host_factory.h
parent5795ee1901f6a14a8635b93a8b7a39589eb8b179 (diff)
downloadchromium_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/test/test_render_view_host_factory.h')
-rw-r--r--content/test/test_render_view_host_factory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/test/test_render_view_host_factory.h b/content/test/test_render_view_host_factory.h
index c7f05e2..7154aba 100644
--- a/content/test/test_render_view_host_factory.h
+++ b/content/test/test_render_view_host_factory.h
@@ -32,6 +32,7 @@ class TestRenderViewHostFactory : public 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) OVERRIDE;