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

Unified Diff: ash/test/mirror_window_test_api.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/test/mirror_window_test_api.h ('k') | ash/test/ui_controls_factory_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/mirror_window_test_api.cc
diff --git a/ash/test/mirror_window_test_api.cc b/ash/test/mirror_window_test_api.cc
index dd495f618679d29030f8928cc1dce17d6b3565f8..701b27ea9af117b8f9da0b901ed8a5665b92feab 100644
--- a/ash/test/mirror_window_test_api.cc
+++ b/ash/test/mirror_window_test_api.cc
@@ -14,10 +14,9 @@
namespace ash {
namespace test {
-const aura::WindowEventDispatcher* MirrorWindowTestApi::GetDispatcher() const {
- aura::WindowTreeHost* host = Shell::GetInstance()->display_controller()->
+const aura::WindowTreeHost* MirrorWindowTestApi::GetHost() const {
+ return Shell::GetInstance()->display_controller()->
mirror_window_controller()->host_.get();
- return host ? host->dispatcher() : NULL;
}
int MirrorWindowTestApi::GetCurrentCursorType() const {
« no previous file with comments | « ash/test/mirror_window_test_api.h ('k') | ash/test/ui_controls_factory_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698