diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-14 02:49:59 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-14 02:49:59 +0000 |
commit | 6b33e4da472b3c474a3f1328fdba4a84d4a91886 (patch) | |
tree | 60b1bdfdba96c65bfa671e98d7c4c2392f49593f /chrome/views/view_unittest.cc | |
parent | d0769df5d494568b24f77a54409ec8539bba4cf3 (diff) | |
download | chromium_src-6b33e4da472b3c474a3f1328fdba4a84d4a91886.zip chromium_src-6b33e4da472b3c474a3f1328fdba4a84d4a91886.tar.gz chromium_src-6b33e4da472b3c474a3f1328fdba4a84d4a91886.tar.bz2 |
Rename Window->WindowWin
Pull basic Window interface out of WindowWin into new interface, Window.
Convert code to use it.
Review URL: http://codereview.chromium.org/42201
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11695 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/view_unittest.cc')
-rw-r--r-- | chrome/views/view_unittest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/views/view_unittest.cc b/chrome/views/view_unittest.cc index feb9182..bbb7616 100644 --- a/chrome/views/view_unittest.cc +++ b/chrome/views/view_unittest.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/message_loop.h" #include "chrome/common/gfx/chrome_canvas.h" #include "chrome/common/gfx/path.h" #include "chrome/common/notification_service.h" @@ -11,6 +12,7 @@ #include "chrome/views/event.h" #include "chrome/views/root_view.h" #include "chrome/views/view.h" +#include "chrome/views/widget_win.h" #include "chrome/views/window.h" #include "testing/gtest/include/gtest/gtest.h" @@ -623,7 +625,7 @@ TEST_F(ViewTest, DialogDefaultButtonTest) { views::Window::CreateChromeWindow(NULL, gfx::Rect(0, 0, 100, 100), dialog_view_); views::DialogClientView* client_view = - static_cast<views::DialogClientView*>(window->client_view()); + static_cast<views::DialogClientView*>(window->GetClientView()); views::NativeButton* ok_button = client_view->ok_button(); views::NativeButton* cancel_button = client_view->cancel_button(); |