diff options
author | nasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-04 20:23:51 +0000 |
---|---|---|
committer | nasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-04 20:23:51 +0000 |
commit | a8504028cffb0c2a2c4221580ddf51c4e6eb6e3d (patch) | |
tree | c37af60905b35207ed4f73fa24ccd7c22095e34c /content/test/test_web_contents.h | |
parent | 81741eff7f75910f486469aca40a722b3ac569b9 (diff) | |
download | chromium_src-a8504028cffb0c2a2c4221580ddf51c4e6eb6e3d.zip chromium_src-a8504028cffb0c2a2c4221580ddf51c4e6eb6e3d.tar.gz chromium_src-a8504028cffb0c2a2c4221580ddf51c4e6eb6e3d.tar.bz2 |
Prevent the browser process from creating duplicate RenderWidgetHosts
This is a follow up CL for crrev.com/238575. The same problem exists when creating RenderWidgetHosts and this CL address this.
BUG=312016
Review URL: https://codereview.chromium.org/105033002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238750 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/test_web_contents.h')
-rw-r--r-- | content/test/test_web_contents.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/content/test/test_web_contents.h b/content/test/test_web_contents.h index fc6ee3d..3b9ccf4 100644 --- a/content/test/test_web_contents.h +++ b/content/test/test_web_contents.h @@ -111,9 +111,11 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester { int main_frame_route_id, const ViewHostMsg_CreateWindow_Params& params, SessionStorageNamespace* session_storage_namespace) OVERRIDE; - virtual void CreateNewWidget(int route_id, + virtual void CreateNewWidget(int render_process_id, + int route_id, blink::WebPopupType popup_type) OVERRIDE; - virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; + virtual void CreateNewFullscreenWidget(int render_process_id, + int route_id) OVERRIDE; virtual void ShowCreatedWindow(int route_id, WindowOpenDisposition disposition, const gfx::Rect& initial_pos, |