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/views_delegate.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/views_delegate.h')
-rw-r--r-- | views/views_delegate.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/views/views_delegate.h b/views/views_delegate.h index 082689c..6fe7f74 100644 --- a/views/views_delegate.h +++ b/views/views_delegate.h @@ -28,12 +28,11 @@ class ViewsDelegate { // Gets the clipboard. virtual Clipboard* GetClipboard() const = 0; - // Saves the position, size, maximized and always-on-top state for the - // window with the specified name. + // Saves the position, size and maximized state for the window with the + // specified name. virtual void SaveWindowPlacement(const std::wstring& window_name, const gfx::Rect& bounds, - bool maximized, - bool always_on_top) = 0; + bool maximized) = 0; // Retrieves the saved position and size for the window with the specified // name. @@ -45,11 +44,6 @@ class ViewsDelegate { virtual bool GetSavedMaximizedState(const std::wstring& window_name, bool* maximized) const = 0; - // Retrieves the saved always-on-top state for the window with the specified - // name. - virtual bool GetSavedAlwaysOnTopState(const std::wstring& window_name, - bool* always_on_top) const = 0; - #if defined(OS_WIN) // Retrieves the default window icon to use for windows if none is specified. virtual HICON GetDefaultWindowIcon() const = 0; |