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

Unified Diff: ash/wm/coordinate_conversion.h

Issue 270863005: Use native coordinates to warp the cursor to another display. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/coordinate_conversion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/coordinate_conversion.h
diff --git a/ash/wm/coordinate_conversion.h b/ash/wm/coordinate_conversion.h
index f5c1af8d20f8d3af47c570591fec53dcf239a651..539e7c036b85dcc2dd232f0c0839ca9dfc2db703 100644
--- a/ash/wm/coordinate_conversion.h
+++ b/ash/wm/coordinate_conversion.h
@@ -30,11 +30,12 @@ ASH_EXPORT aura::Window* GetRootWindowMatching(const gfx::Rect& rect);
// Converts the |point| from a given |window|'s coordinates into the screen
// coordinates.
-ASH_EXPORT void ConvertPointToScreen(aura::Window* window, gfx::Point* point);
+ASH_EXPORT void ConvertPointToScreen(const aura::Window* window,
+ gfx::Point* point);
// Converts the |point| from the screen coordinates to a given |window|'s
// coordinates.
-ASH_EXPORT void ConvertPointFromScreen(aura::Window* window,
+ASH_EXPORT void ConvertPointFromScreen(const aura::Window* window,
gfx::Point* point_in_screen);
} // namespace wm
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/coordinate_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698