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

Unified Diff: ui/wm/core/default_screen_position_client.h

Issue 2648583003: Handle floating point coordinates from ozone to exosphere (Closed)
Patch Set: added F variant to screen position client. fixed exo tests. Created 3 years, 11 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: ui/wm/core/default_screen_position_client.h
diff --git a/ui/wm/core/default_screen_position_client.h b/ui/wm/core/default_screen_position_client.h
index 3c7bfa3f89ea298ebd238435f0194ce95f51a96a..464b1ed93f500f77cc94b29aa46d8b90acaddc86 100644
--- a/ui/wm/core/default_screen_position_client.h
+++ b/ui/wm/core/default_screen_position_client.h
@@ -22,8 +22,13 @@ class WM_EXPORT DefaultScreenPositionClient
// aura::client::ScreenPositionClient overrides:
void ConvertPointToScreen(const aura::Window* window,
gfx::Point* point) override;
+ void ConvertPointToScreenF(const aura::Window* window,
+ gfx::PointF* point) override;
void ConvertPointFromScreen(const aura::Window* window,
gfx::Point* point) override;
+ void ConvertPointFromScreenF(const aura::Window* window,
+ gfx::PointF* point) override;
+
void ConvertHostPointToScreen(aura::Window* window,
gfx::Point* point) override;
void SetBounds(aura::Window* window,

Powered by Google App Engine
This is Rietveld 408576698