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/test | |
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/test')
-rw-r--r-- | views/test/test_views_delegate.cc | 4 | ||||
-rw-r--r-- | views/test/test_views_delegate.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/views/test/test_views_delegate.cc b/views/test/test_views_delegate.cc index 37a7797..077f6f0 100644 --- a/views/test/test_views_delegate.cc +++ b/views/test/test_views_delegate.cc @@ -23,13 +23,13 @@ ui::Clipboard* TestViewsDelegate::GetClipboard() const { } -bool TestViewsDelegate::GetSavedWindowBounds(views::Window* window, +bool TestViewsDelegate::GetSavedWindowBounds(const views::Widget* window, const std::wstring& window_name, gfx::Rect* bounds) const { return false; } -bool TestViewsDelegate::GetSavedMaximizedState(views::Window* window, +bool TestViewsDelegate::GetSavedMaximizedState(const views::Widget* window, const std::wstring& window_name, bool* maximized) const { return false; diff --git a/views/test/test_views_delegate.h b/views/test/test_views_delegate.h index b7ffabe..45a2341 100644 --- a/views/test/test_views_delegate.h +++ b/views/test/test_views_delegate.h @@ -11,7 +11,7 @@ #include "views/views_delegate.h" namespace views { -class Window; +class Widget; } class TestViewsDelegate : public views::ViewsDelegate { @@ -21,15 +21,15 @@ class TestViewsDelegate : public views::ViewsDelegate { // Overridden from views::ViewsDelegate: virtual ui::Clipboard* GetClipboard() const; - virtual void SaveWindowPlacement(views::Window* window, + virtual void SaveWindowPlacement(const views::Widget* window, const std::wstring& window_name, const gfx::Rect& bounds, bool maximized) OVERRIDE { } - virtual bool GetSavedWindowBounds(views::Window* window, + virtual bool GetSavedWindowBounds(const views::Widget* window, const std::wstring& window_name, gfx::Rect* bounds) const; - virtual bool GetSavedMaximizedState(views::Window* window, + virtual bool GetSavedMaximizedState(const views::Widget* window, const std::wstring& window_name, bool* maximized) const; |