summaryrefslogtreecommitdiffstats
path: root/views/window/window.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-07 23:12:38 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-07 23:12:38 +0000
commitc6f9cc2dda4fc4541d0ee4bc91491ed2a6ef57cd (patch)
tree19a05b1605a19a38391b0d4c5abc4082dcd7399d /views/window/window.h
parentad7b6319e6b005a4d289695f5c22013a0f9dd933 (diff)
downloadchromium_src-c6f9cc2dda4fc4541d0ee4bc91491ed2a6ef57cd.zip
chromium_src-c6f9cc2dda4fc4541d0ee4bc91491ed2a6ef57cd.tar.gz
chromium_src-c6f9cc2dda4fc4541d0ee4bc91491ed2a6ef57cd.tar.bz2
Move all the stuff relating to detached tab dragging out of BrowserFrameWin and onto the TabStrip2 object. It was mostly cross platform anyway.Adds APIs to Widget that:- allow a Widget to be obtained for a given gfx::NativeView- allow native properties to be set on a Widget.Adds an API to Window that lets the caller convert the window's appearance into a lightly transparent transient looking thing for dragging.BUG=noneTEST=none
Review URL: http://codereview.chromium.org/149440 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/window.h')
-rw-r--r--views/window/window.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/window/window.h b/views/window/window.h
index becb8d0..d322d8f 100644
--- a/views/window/window.h
+++ b/views/window/window.h
@@ -120,6 +120,10 @@ class Window {
virtual void SetFullscreen(bool fullscreen) = 0;
virtual bool IsFullscreen() const = 0;
+ // Sets whether or not the window should show its frame as a "transient drag
+ // frame" - slightly transparent and without the standard window controls.
+ virtual void SetUseDragFrame(bool use_drag_frame) = 0;
+
// Returns true if the Window is considered to be an "app window" - i.e.
// any window which when it is the last of its type closed causes the
// application to exit.