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

Unified Diff: ash/test/mirror_window_test_api.h

Issue 948583005: Add more tests for mouse rotation,scale&position after display change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/display/mirror_window_controller_unittest.cc ('k') | ash/test/mirror_window_test_api.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.h
diff --git a/ash/test/mirror_window_test_api.h b/ash/test/mirror_window_test_api.h
index b6758608c93a14da246f7eaeddf1310cf3e6cc98..1dd73aa1e436538487f9ad3097634bc8c4213ec5 100644
--- a/ash/test/mirror_window_test_api.h
+++ b/ash/test/mirror_window_test_api.h
@@ -30,7 +30,15 @@ class MirrorWindowTestApi {
const aura::WindowTreeHost* GetHost() const;
int GetCurrentCursorType() const;
+
+ // Returns the position of the hot point within the cursor. This is
+ // unaffected by the cursor location.
const gfx::Point& GetCursorHotPoint() const;
+
+ // Returns the position of the cursor hot point in root window coordinates.
+ // This should be the same as the native cursor location.
+ gfx::Point GetCursorHotPointLocationInRootWindow() const;
+
const aura::Window* GetCursorWindow() const;
gfx::Point GetCursorLocation() const;
« no previous file with comments | « ash/display/mirror_window_controller_unittest.cc ('k') | ash/test/mirror_window_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698