From 6b33e4da472b3c474a3f1328fdba4a84d4a91886 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Sat, 14 Mar 2009 02:49:59 +0000 Subject: 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 --- chrome/views/view_unittest.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome/views/view_unittest.cc') 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(window->client_view()); + static_cast(window->GetClientView()); views::NativeButton* ok_button = client_view->ok_button(); views::NativeButton* cancel_button = client_view->cancel_button(); -- cgit v1.1