summaryrefslogtreecommitdiffstats
path: root/chrome/test/interactive_ui
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-12 19:29:06 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-12 19:29:06 +0000
commited8b1b805203b6ccdb5517d0c30cc689dde65e98 (patch)
tree88b8d0c2e552f291fbb01e8aa660806597e9d3fc /chrome/test/interactive_ui
parent71994cd0877f3528079b1154d46d90801e515292 (diff)
downloadchromium_src-ed8b1b805203b6ccdb5517d0c30cc689dde65e98.zip
chromium_src-ed8b1b805203b6ccdb5517d0c30cc689dde65e98.tar.gz
chromium_src-ed8b1b805203b6ccdb5517d0c30cc689dde65e98.tar.bz2
Make Widget return a gfx::NativeView instead of a HWND.
Review URL: http://codereview.chromium.org/43124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11562 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/interactive_ui')
-rw-r--r--chrome/test/interactive_ui/view_event_test_base.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/interactive_ui/view_event_test_base.cc b/chrome/test/interactive_ui/view_event_test_base.cc
index f5bd7a9..b2480c9 100644
--- a/chrome/test/interactive_ui/view_event_test_base.cc
+++ b/chrome/test/interactive_ui/view_event_test_base.cc
@@ -57,7 +57,7 @@ void ViewEventTestBase::SetUp() {
void ViewEventTestBase::TearDown() {
if (window_) {
- DestroyWindow(window_->GetHWND());
+ DestroyWindow(window_->GetNativeView());
window_ = NULL;
}
OleUninitialize();
@@ -79,7 +79,7 @@ void ViewEventTestBase::StartMessageLoopAndRunTest() {
window_->Show();
// Make sure the window is the foreground window, otherwise none of the
// mouse events are going to be targeted correctly.
- SetForegroundWindow(window_->GetHWND());
+ SetForegroundWindow(window_->GetNativeView());
// Flush any pending events to make sure we start with a clean slate.
MessageLoop::current()->RunAllPending();