Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: ash/test/ash_test_base.cc

Issue 184903003: Window ownership -> WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/sticky_keys/sticky_keys_unittest.cc ('k') | ash/test/mirror_window_test_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index 78127300e241708d96c15a65caec5a3d38336a1f..ecc1e8fa2c687e35e977dda7d4e59206b3790c27 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -63,7 +63,7 @@ class AshEventGeneratorDelegate : public aura::test::EventGeneratorDelegate {
gfx::Screen* screen = Shell::GetScreen();
gfx::Display display = screen->GetDisplayNearestPoint(point_in_screen);
return Shell::GetInstance()->display_controller()->
- GetRootWindowForDisplayId(display.id())->GetDispatcher();
+ GetRootWindowForDisplayId(display.id())->GetHost()->dispatcher();
}
virtual aura::client::ScreenPositionClient* GetScreenPositionClient(
@@ -123,7 +123,7 @@ void AshTestBase::SetUp() {
ash_test_helper_->SetUp(start_session_);
Shell::GetPrimaryRootWindow()->Show();
- Shell::GetPrimaryRootWindow()->GetDispatcher()->host()->Show();
+ Shell::GetPrimaryRootWindow()->GetHost()->Show();
// Move the mouse cursor to far away so that native events doesn't
// interfere test expectations.
Shell::GetPrimaryRootWindow()->MoveCursorTo(gfx::Point(-1000, -1000));
« no previous file with comments | « ash/sticky_keys/sticky_keys_unittest.cc ('k') | ash/test/mirror_window_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698