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

Unified Diff: chrome/browser/tab_contents/tab_contents_view.cc

Issue 6462017: gtk: Improve fullscreen RenderWidgetHostViewGtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update a comment Created 9 years, 10 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/tab_contents/tab_contents_view.cc
diff --git a/chrome/browser/tab_contents/tab_contents_view.cc b/chrome/browser/tab_contents/tab_contents_view.cc
index 7d90e5abb05c0a12fe40e900cb2862e352c42ac0..9574a56b41ff1ebbb8749ff8a5e8334b2006d339 100644
--- a/chrome/browser/tab_contents/tab_contents_view.cc
+++ b/chrome/browser/tab_contents/tab_contents_view.cc
@@ -59,9 +59,8 @@ void TabContentsView::CreateNewWidget(int route_id,
CreateNewWidgetInternal(route_id, popup_type);
}
-void TabContentsView::CreateNewFullscreenWidget(
- int route_id, WebKit::WebPopupType popup_type) {
- CreateNewFullscreenWidgetInternal(route_id, popup_type);
+void TabContentsView::CreateNewFullscreenWidget(int route_id) {
+ CreateNewFullscreenWidgetInternal(route_id);
}
void TabContentsView::ShowCreatedWindow(int route_id,
@@ -145,9 +144,9 @@ RenderWidgetHostView* TabContentsView::CreateNewWidgetInternal(
}
RenderWidgetHostView* TabContentsView::CreateNewFullscreenWidgetInternal(
- int route_id, WebKit::WebPopupType popup_type) {
+ int route_id) {
return delegate_view_helper_.CreateNewFullscreenWidget(
- route_id, popup_type, tab_contents()->render_view_host()->process());
+ route_id, tab_contents()->render_view_host()->process());
}
void TabContentsView::ShowCreatedWidgetInternal(
@@ -165,6 +164,6 @@ void TabContentsView::ShowCreatedFullscreenWidgetInternal(
if (tab_contents_->delegate())
tab_contents_->delegate()->RenderWidgetShowing();
- widget_host_view->InitAsFullscreen(tab_contents_->GetRenderWidgetHostView());
+ widget_host_view->InitAsFullscreen();
widget_host_view->GetRenderWidgetHost()->Init();
}

Powered by Google App Engine
This is Rietveld 408576698