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

Unified Diff: ash/test/mirror_window_test_api.cc

Issue 145313003: Implement cursor compositing mode on Ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get rid changes in ui/views/. Let Shell call AshNativeCursorManager directly. 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/shell.cc ('k') | ash/wm/ash_native_cursor_manager.h » ('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 d8c7705f1bcaba7dec01ad434b4657451869eb5d..92be78b4ac5c2c1d6ce74a6e7c31f6736ceb5204 100644
--- a/ash/test/mirror_window_test_api.cc
+++ b/ash/test/mirror_window_test_api.cc
@@ -4,6 +4,7 @@
#include "ash/test/mirror_window_test_api.h"
+#include "ash/display/cursor_window_controller.h"
#include "ash/display/display_controller.h"
#include "ash/display/mirror_window_controller.h"
#include "ash/shell.h"
@@ -20,17 +21,17 @@ const aura::RootWindow* MirrorWindowTestApi::GetRootWindow() const {
int MirrorWindowTestApi::GetCurrentCursorType() const {
return Shell::GetInstance()->display_controller()->
- mirror_window_controller()->current_cursor_type_;
+ cursor_window_controller()->cursor_type_;
}
const gfx::Point& MirrorWindowTestApi::GetCursorHotPoint() const {
return Shell::GetInstance()->display_controller()->
- mirror_window_controller()->hot_point_;
+ cursor_window_controller()->hot_point_;
}
const aura::Window* MirrorWindowTestApi::GetCursorWindow() const {
return Shell::GetInstance()->display_controller()->
- mirror_window_controller()->cursor_window_;
+ cursor_window_controller()->cursor_window_.get();
}
scoped_ptr<aura::RootWindowTransformer>
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/ash_native_cursor_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698