diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-14 21:35:59 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-14 21:35:59 +0000 |
commit | 5623c4aa4307e2a4843ffca845d8bc2c932d110a (patch) | |
tree | 60caf94fcc4c44514af3ff199a5ed2eb8a131eef /views/window/window.h | |
parent | 9f0728516ece1c689a11332819c9bd0be83dd6f2 (diff) | |
download | chromium_src-5623c4aa4307e2a4843ffca845d8bc2c932d110a.zip chromium_src-5623c4aa4307e2a4843ffca845d8bc2c932d110a.tar.gz chromium_src-5623c4aa4307e2a4843ffca845d8bc2c932d110a.tar.bz2 |
Move Always On Top setting out of Window/WindowDelegate and into task manager. It's the only one who uses this setting and the UI for exposing it is very specific to the task manager. Window retains a setter to set always on top state, but persistence and the system menu is Task Manager's responsbility. This allows us to sever the second-to-last chrome dependency from views.
http://crbug.com/11674
Review URL: http://codereview.chromium.org/115378
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16107 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/window.h')
-rw-r--r-- | views/window/window.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/window/window.h b/views/window/window.h index 17a2ff5..9d29a81 100644 --- a/views/window/window.h +++ b/views/window/window.h @@ -111,6 +111,9 @@ class Window { // Tell the window to update its icon from the delegate. virtual void UpdateWindowIcon() = 0; + // Sets whether or not the window is always-on-top. + virtual void SetIsAlwaysOnTop(bool always_on_top) = 0; + // Creates an appropriate NonClientFrameView for this window. virtual NonClientFrameView* CreateFrameViewForWindow() = 0; |