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

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

Issue 3055009: Use RenderWidget(Host) for full screen (Closed)
Patch Set: Add IPC::SyncMessage dependency. Fix auto complete. Created 10 years, 4 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.h
diff --git a/chrome/browser/tab_contents/tab_contents_view.h b/chrome/browser/tab_contents/tab_contents_view.h
index 82d01f13665df20e8842b49ba63f9c4fde286637..0186f27a03b787a08ac51cad2d380134b7e73bf7 100644
--- a/chrome/browser/tab_contents/tab_contents_view.h
+++ b/chrome/browser/tab_contents/tab_contents_view.h
@@ -169,6 +169,11 @@ class TabContentsView : public RenderViewHostDelegate::View {
WebKit::WebPopupType popup_type);
virtual void ShowCreatedWidgetInternal(RenderWidgetHostView* widget_host_view,
const gfx::Rect& initial_pos);
+ virtual void ShowCreatedFullscreenWidgetInternal(
+ RenderWidgetHostView* widget_host_view);
+ virtual RenderWidgetHostView* CreateNewFullscreenWidgetInternal(
+ int route_id,
+ WebKit::WebPopupType popup_type);
// Common implementations of some RenderViewHostDelegate::View methods.
RenderViewHostDelegateViewHelper delegate_view_helper_;
@@ -182,6 +187,8 @@ class TabContentsView : public RenderViewHostDelegate::View {
WindowContainerType window_container_type,
const string16& frame_name);
virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type);
+ virtual void CreateNewFullscreenWidget(
+ int route_id, WebKit::WebPopupType popup_type);
virtual void ShowCreatedWindow(int route_id,
WindowOpenDisposition disposition,
const gfx::Rect& initial_pos,
@@ -189,6 +196,7 @@ class TabContentsView : public RenderViewHostDelegate::View {
virtual void ShowCreatedWidget(int route_id, const gfx::Rect& initial_pos);
virtual void Activate();
virtual void Deactivate();
+ virtual void ShowCreatedFullscreenWidget(int route_id);
// The TabContents whose contents we display.
TabContents* tab_contents_;
« no previous file with comments | « chrome/browser/tab_contents/render_view_host_delegate_helper.cc ('k') | chrome/browser/tab_contents/tab_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698