diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 23:05:16 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 23:05:16 +0000 |
commit | 6b823fc389cfcabc3bfb4358ae058c8b713d3192 (patch) | |
tree | f2bf2983c2f2f14b1eb9a6b74582f2b0a955986a /views/views_delegate.h | |
parent | 9c587a0112d239f5d9fd6979e7b3be4a970068ad (diff) | |
download | chromium_src-6b823fc389cfcabc3bfb4358ae058c8b713d3192.zip chromium_src-6b823fc389cfcabc3bfb4358ae058c8b713d3192.tar.gz chromium_src-6b823fc389cfcabc3bfb4358ae058c8b713d3192.tar.bz2 |
Removes Widget from two of ViewsDelegate methods. I would have liked
to remove it from all, but it's needed for the save. The reason I'm
doing this is I'm changing the calling order so that the delegate
won't know it's widget at the time GetSavedXXX is invoked. Turns out
we really only need the widget during the save calls anyway, so this
all still works.
BUG=none
TEST=none
R=ben@chromium.org,mirandac@chromium.org
Review URL: http://codereview.chromium.org/7377004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92619 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/views_delegate.h')
-rw-r--r-- | views/views_delegate.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/views/views_delegate.h b/views/views_delegate.h index 112f3b8..41ed17f 100644 --- a/views/views_delegate.h +++ b/views/views_delegate.h @@ -54,14 +54,12 @@ class ViewsDelegate { // Retrieves the saved position and size for the window with the specified // name. - virtual bool GetSavedWindowBounds(const Widget* widget, - const std::wstring& window_name, + virtual bool GetSavedWindowBounds(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(const Widget* widget, - const std::wstring& window_name, + virtual bool GetSavedMaximizedState(const std::wstring& window_name, bool* maximized) const = 0; virtual void NotifyAccessibilityEvent( |