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

Unified Diff: ash/laser/laser_pointer_view.h

Issue 2716223002: ash: Use floating point precision for laser pointer. (Closed)
Patch Set: rebase and fix unit test Created 3 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
« no previous file with comments | « ash/laser/laser_pointer_points_unittest.cc ('k') | ash/laser/laser_pointer_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/laser/laser_pointer_view.h
diff --git a/ash/laser/laser_pointer_view.h b/ash/laser/laser_pointer_view.h
index 13abf867c2afde9c69dbc7f2d197a40a7232ee8a..55ff8344ef0574142a20c5b05a7b3a4b5d4cee96 100644
--- a/ash/laser/laser_pointer_view.h
+++ b/ash/laser/laser_pointer_view.h
@@ -27,7 +27,7 @@ class Window;
namespace gfx {
class GpuMemoryBuffer;
-class Point;
+class PointF;
}
namespace views {
@@ -47,7 +47,7 @@ class LaserPointerView : public views::View,
LaserPointerView(base::TimeDelta life_duration, aura::Window* root_window);
~LaserPointerView() override;
- void AddNewPoint(const gfx::Point& new_point);
+ void AddNewPoint(const gfx::PointF& new_point);
void UpdateTime();
void Stop();
« no previous file with comments | « ash/laser/laser_pointer_points_unittest.cc ('k') | ash/laser/laser_pointer_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698