summaryrefslogtreecommitdiffstats
path: root/content/test/test_web_contents_view.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-23 23:09:50 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-23 23:09:50 +0000
commitbafe6cdc3da381a3caf146550f85c19d981dd81d (patch)
treeb7e408e1615b7bc38295333a97f12593b9faa97b /content/test/test_web_contents_view.h
parent739528db569fca69e0e1f222312c1a7aedf39063 (diff)
downloadchromium_src-bafe6cdc3da381a3caf146550f85c19d981dd81d.zip
chromium_src-bafe6cdc3da381a3caf146550f85c19d981dd81d.tar.gz
chromium_src-bafe6cdc3da381a3caf146550f85c19d981dd81d.tar.bz2
Move the create/show window/widget calls from RenderViewHostDelegate::View to RenderViewHostDelegate.
The reasons for this are: -we don't have to duplicate all the code that calls WebContentsViewHelper in each different WebContentsView implementation -other embedders of content who provide their own WebContentsView implementation shouldn't have to do this work, or use WebContentsViewHelper which isn't public BUG=98716 Review URL: https://chromiumcodereview.appspot.com/10426008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138648 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/test_web_contents_view.h')
-rw-r--r--content/test/test_web_contents_view.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/content/test/test_web_contents_view.h b/content/test/test_web_contents_view.h
index bfd7eaf..6aa5cf1 100644
--- a/content/test/test_web_contents_view.h
+++ b/content/test/test_web_contents_view.h
@@ -17,19 +17,6 @@ class TestWebContentsView : public WebContentsView {
virtual ~TestWebContentsView();
// RenderViewHostDelegate::View:
- virtual void CreateNewWindow(
- int route_id,
- const ViewHostMsg_CreateWindow_Params& params) OVERRIDE;
- virtual void CreateNewWidget(int route_id,
- WebKit::WebPopupType popup_type) OVERRIDE;
- virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE;
- virtual void ShowCreatedWindow(int route_id,
- WindowOpenDisposition disposition,
- const gfx::Rect& initial_pos,
- bool user_gesture) OVERRIDE;
- virtual void ShowCreatedWidget(int route_id,
- const gfx::Rect& initial_pos) OVERRIDE;
- virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE;
virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE;
virtual void StartDragging(const WebDropData& drop_data,
WebKit::WebDragOperationsMask allowed_ops,