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

Unified Diff: chrome/browser/renderer_host/render_view_host_delegate.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/renderer_host/render_view_host_delegate.h
diff --git a/chrome/browser/renderer_host/render_view_host_delegate.h b/chrome/browser/renderer_host/render_view_host_delegate.h
index 0be57842c7b88cd1f6d257243cb6b38bf1ae9d31..a81c27112cbc4582037804fe35ee7a42cdf4c312 100644
--- a/chrome/browser/renderer_host/render_view_host_delegate.h
+++ b/chrome/browser/renderer_host/render_view_host_delegate.h
@@ -119,6 +119,10 @@ class RenderViewHostDelegate {
virtual void CreateNewWidget(int route_id,
WebKit::WebPopupType popup_type) = 0;
+ // Creates a full screen RenderWidget. Similar to above.
+ virtual void CreateNewFullscreenWidget(
+ int route_id, WebKit::WebPopupType popup_type) = 0;
+
// Show a previously created page with the specified disposition and bounds.
// The window is identified by the route_id passed to CreateNewWindow.
//
@@ -134,6 +138,9 @@ class RenderViewHostDelegate {
virtual void ShowCreatedWidget(int route_id,
const gfx::Rect& initial_pos) = 0;
+ // Show the newly created full screen widget. Similar to above.
+ virtual void ShowCreatedFullscreenWidget(int route_id) = 0;
+
// A context menu should be shown, to be built using the context information
// provided in the supplied params.
virtual void ShowContextMenu(const ContextMenuParams& params) = 0;
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/renderer_host/render_widget_fullscreen_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698