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

Unified Diff: ash/laser/laser_pointer_controller_test_api.h

Issue 2745953002: ash: Add basic prediction code to the laser pointer. (Closed)
Patch Set: more tests and nits Created 3 years, 9 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_controller.cc ('k') | ash/laser/laser_pointer_controller_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/laser/laser_pointer_controller_test_api.h
diff --git a/ash/laser/laser_pointer_controller_test_api.h b/ash/laser/laser_pointer_controller_test_api.h
index 9d1aa0182672345c67ccaf712028bfd33819c6f6..8653dbdb79627b8a8b66a77f3f590b14748849f4 100644
--- a/ash/laser/laser_pointer_controller_test_api.h
+++ b/ash/laser/laser_pointer_controller_test_api.h
@@ -20,11 +20,12 @@ class LaserPointerControllerTestApi {
~LaserPointerControllerTestApi();
void SetEnabled(bool enabled);
- bool IsShowingLaserPointer();
- bool IsFadingAway();
+ bool IsShowingLaserPointer() const;
+ bool IsFadingAway() const;
void SetIsFadingAway(bool fading_away);
- const LaserPointerPoints& laser_points();
- LaserPointerView* laser_pointer_view();
+ const LaserPointerPoints& laser_points() const;
+ const LaserPointerPoints& predicted_laser_points() const;
+ LaserPointerView* laser_pointer_view() const;
private:
LaserPointerController* instance_;
« no previous file with comments | « ash/laser/laser_pointer_controller.cc ('k') | ash/laser/laser_pointer_controller_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698