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

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: Fixed patch set 3 errors. Created 4 years, 2 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..a28889fdfd4dc4ff5a4493818900de5d5d89b15e 100644
--- a/ash/laser/laser_pointer_points_test_api.h
+++ b/ash/laser/laser_pointer_points_test_api.h
@@ -5,12 +5,11 @@
#ifndef ASH_LASER_LASER_POINTER_POINTS_TEST_API_H_
#define ASH_LASER_LASER_POINTER_POINTS_TEST_API_H_
+#include "ash/laser/laser_pointer_points.h"
#include "base/time/time.h"
namespace ash {
-class LaserPointerPoints;
-
// An api for testing the laser_pointer_points class.
class LaserPointerPointsTestApi {
public:
@@ -21,10 +20,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);
+ LaserPointerPoints::LaserPoint GetPointAtIndex(int index);
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