diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-13 21:56:26 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-13 21:56:26 +0000 |
commit | 2fdd00a4c6a07856180347c6d147b27c10ae14ff (patch) | |
tree | fc1634a77f397665cdf20526b96fcb9801c8d144 /views/views_delegate.h | |
parent | f25b8052531b1d4668d1d9ed60b1151af4ca3ab2 (diff) | |
download | chromium_src-2fdd00a4c6a07856180347c6d147b27c10ae14ff.zip chromium_src-2fdd00a4c6a07856180347c6d147b27c10ae14ff.tar.gz chromium_src-2fdd00a4c6a07856180347c6d147b27c10ae14ff.tar.bz2 |
Eliminate Window completely.
BUG=72040
TEST=none
Review URL: http://codereview.chromium.org/7108047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88905 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/views_delegate.h')
-rw-r--r-- | views/views_delegate.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/views_delegate.h b/views/views_delegate.h index 3b53b67..e9f9113 100644 --- a/views/views_delegate.h +++ b/views/views_delegate.h @@ -24,7 +24,7 @@ class Clipboard; namespace views { class View; -class Window; +class Widget; // ViewsDelegate is an interface implemented by an object using the views // framework. It is used to obtain various high level application utilities @@ -41,20 +41,20 @@ class ViewsDelegate { // Saves the position, size and maximized state for the window with the // specified name. - virtual void SaveWindowPlacement(views::Window* window, + virtual void SaveWindowPlacement(const Widget* widget, const std::wstring& window_name, const gfx::Rect& bounds, bool maximized) = 0; // Retrieves the saved position and size for the window with the specified // name. - virtual bool GetSavedWindowBounds(views::Window* window, + virtual bool GetSavedWindowBounds(const Widget* widget, const std::wstring& window_name, gfx::Rect* bounds) const = 0; // Retrieves the saved maximized state for the window with the specified // name. - virtual bool GetSavedMaximizedState(views::Window* window, + virtual bool GetSavedMaximizedState(const Widget* widget, const std::wstring& window_name, bool* maximized) const = 0; |