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

Unified Diff: ash/laser/laser_pointer_points_test_api.h

Issue 2362063002: cros: Laser pointer fades out on release, do not cover palette. (Closed)
Patch Set: Moved age logic to laser pointer points class. Created 4 years, 3 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/laser/laser_pointer_points_test_api.h
diff --git a/ash/laser/laser_pointer_points_test_api.h b/ash/laser/laser_pointer_points_test_api.h
index d40834d0324e0611bff4d16373ac4f6f696fc328..f8e29026c1f61cbdda355b1e02ca45c754d30229 100644
--- a/ash/laser/laser_pointer_points_test_api.h
+++ b/ash/laser/laser_pointer_points_test_api.h
@@ -21,10 +21,9 @@ class LaserPointerPointsTestApi {
// Moves existing points back in time by |delta| and adds a new point at
// (0,0).
void MoveForwardInTime(const base::TimeDelta& delta);
+ double AgeAtIndex(int index);
jdufault 2016/10/04 22:04:13 What about doing GetPointAtIndex(int index) and th
sammiequon 2016/10/05 17:42:23 Done.
private:
- // The time the new points are added.
- base::Time new_point_time_;
LaserPointerPoints* instance_;
DISALLOW_COPY_AND_ASSIGN(LaserPointerPointsTestApi);

Powered by Google App Engine
This is Rietveld 408576698