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

Unified Diff: chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc

Issue 10031044: TabContents -> WebContentsImpl, part 5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (fixed) Created 8 years, 8 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: chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
diff --git a/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc b/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
index d37c85f6207f8c5a6987b450def36013510456ea..5b4482697f2b9366c35550f540b2dc0a8096b213 100644
--- a/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
+++ b/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
@@ -270,19 +270,19 @@ views::Widget* TabContentsViewViews::GetSadTab() const {
void TabContentsViewViews::CreateNewWindow(
int route_id,
const ViewHostMsg_CreateWindow_Params& params) {
- tab_contents_view_helper_.CreateNewWindow(web_contents_, route_id, params);
+ web_contents_view_helper_.CreateNewWindow(web_contents_, route_id, params);
}
void TabContentsViewViews::CreateNewWidget(
int route_id, WebKit::WebPopupType popup_type) {
- tab_contents_view_helper_.CreateNewWidget(web_contents_,
+ web_contents_view_helper_.CreateNewWidget(web_contents_,
route_id,
false,
popup_type);
}
void TabContentsViewViews::CreateNewFullscreenWidget(int route_id) {
- tab_contents_view_helper_.CreateNewWidget(web_contents_,
+ web_contents_view_helper_.CreateNewWidget(web_contents_,
route_id,
true,
WebKit::WebPopupTypeNone);
@@ -292,20 +292,20 @@ void TabContentsViewViews::ShowCreatedWindow(int route_id,
WindowOpenDisposition disposition,
const gfx::Rect& initial_pos,
bool user_gesture) {
- tab_contents_view_helper_.ShowCreatedWindow(
+ web_contents_view_helper_.ShowCreatedWindow(
web_contents_, route_id, disposition, initial_pos, user_gesture);
}
void TabContentsViewViews::ShowCreatedWidget(
int route_id, const gfx::Rect& initial_pos) {
- tab_contents_view_helper_.ShowCreatedWidget(web_contents_,
+ web_contents_view_helper_.ShowCreatedWidget(web_contents_,
route_id,
false,
initial_pos);
}
void TabContentsViewViews::ShowCreatedFullscreenWidget(int route_id) {
- tab_contents_view_helper_.ShowCreatedWidget(web_contents_,
+ web_contents_view_helper_.ShowCreatedWidget(web_contents_,
route_id,
true,
gfx::Rect());

Powered by Google App Engine
This is Rietveld 408576698