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

Unified Diff: ui/compositor/dip_util.h

Issue 11316014: Full Screen Magnifier: (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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/magnifier/magnification_controller.cc ('k') | ui/compositor/dip_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/dip_util.h
diff --git a/ui/compositor/dip_util.h b/ui/compositor/dip_util.h
index d793dc7d99966437fb51a2686aec8d62bd06256c..e8d0367ee5436ece07183c36be9269d5c02fece5 100644
--- a/ui/compositor/dip_util.h
+++ b/ui/compositor/dip_util.h
@@ -7,6 +7,7 @@
#include "ui/compositor/compositor_export.h"
#include "base/basictypes.h"
+#include "ui/gfx/point_f.h"
namespace gfx {
class Point;
@@ -24,6 +25,9 @@ COMPOSITOR_EXPORT float GetDeviceScaleFactor(const Layer* layer);
COMPOSITOR_EXPORT gfx::Point ConvertPointToDIP(
const Layer* layer,
const gfx::Point& point_in_pixel);
+COMPOSITOR_EXPORT gfx::PointF ConvertPointToDIP(
+ const Layer* layer,
+ const gfx::PointF& point_in_pixel);
COMPOSITOR_EXPORT gfx::Size ConvertSizeToDIP(
const Layer* layer,
const gfx::Size& size_in_pixel);
« no previous file with comments | « ash/magnifier/magnification_controller.cc ('k') | ui/compositor/dip_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698