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

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, 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
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 ce58f971b5fd52214297a418e9c513ae9adbd525..ef7fcfbb4c61d3f3560d633dc8df40e140c640dc 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;
scoped_ptr<RootWindowTransformer> CreateCurrentRootWindowTransformer() const;

Powered by Google App Engine
This is Rietveld 408576698