summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authoryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-23 03:11:17 +0000
committeryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-23 03:11:17 +0000
commitff1ce88bd150ce315e5a225e124e8b39c5f3dbd8 (patch)
tree5c2713de952a85c60e10d4e0b61af141ed908575 /content
parentf292f1719c54a79e83eedd44154f1259093d909e (diff)
downloadchromium_src-ff1ce88bd150ce315e5a225e124e8b39c5f3dbd8.zip
chromium_src-ff1ce88bd150ce315e5a225e124e8b39c5f3dbd8.tar.gz
chromium_src-ff1ce88bd150ce315e5a225e124e8b39c5f3dbd8.tar.bz2
Support fullscreen widget on Windows.
BUG=None TEST=None Review URL: http://codereview.chromium.org/7466007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93768 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/render_widget_host_view.h4
-rw-r--r--content/browser/renderer_host/test_render_view_host.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/content/browser/renderer_host/render_widget_host_view.h b/content/browser/renderer_host/render_widget_host_view.h
index 6b0cd7a..b638bd2 100644
--- a/content/browser/renderer_host/render_widget_host_view.h
+++ b/content/browser/renderer_host/render_widget_host_view.h
@@ -83,7 +83,9 @@ class RenderWidgetHostView {
// Perform all the initialization steps necessary for this object to represent
// a full screen window.
- virtual void InitAsFullscreen() = 0;
+ // |reference_host_view| is the view associated with the creating page that
+ // helps to position the full screen widget on the correct monitor.
+ virtual void InitAsFullscreen(RenderWidgetHostView* reference_host_view) = 0;
// Returns the associated RenderWidgetHost.
virtual RenderWidgetHost* GetRenderWidgetHost() const = 0;
diff --git a/content/browser/renderer_host/test_render_view_host.h b/content/browser/renderer_host/test_render_view_host.h
index 224a0eb..889dfa5 100644
--- a/content/browser/renderer_host/test_render_view_host.h
+++ b/content/browser/renderer_host/test_render_view_host.h
@@ -53,7 +53,7 @@ class TestRenderWidgetHostView : public RenderWidgetHostView {
virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
const gfx::Rect& pos) {}
- virtual void InitAsFullscreen() {}
+ virtual void InitAsFullscreen(RenderWidgetHostView* reference_host_view) {}
virtual RenderWidgetHost* GetRenderWidgetHost() const;
virtual void DidBecomeSelected() {}
virtual void WasHidden() {}