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

Unified Diff: ash/laser/laser_pointer_controller_test_api.cc

Issue 2745953002: ash: Add basic prediction code to the laser pointer. (Closed)
Patch Set: Add unit test and fix 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
Index: ash/laser/laser_pointer_controller_test_api.cc
diff --git a/ash/laser/laser_pointer_controller_test_api.cc b/ash/laser/laser_pointer_controller_test_api.cc
index 165608acb50fd9e6f457e0741c28ccade7c21bad..a0d56759ebd4d149d590146517c8c3c96be92ab5 100644
--- a/ash/laser/laser_pointer_controller_test_api.cc
+++ b/ash/laser/laser_pointer_controller_test_api.cc
@@ -36,6 +36,11 @@ const LaserPointerPoints& LaserPointerControllerTestApi::laser_points() {
return instance_->laser_pointer_view_->laser_points_;
}
+const LaserPointerPoints&
+LaserPointerControllerTestApi::predicted_laser_points() {
+ return instance_->laser_pointer_view_->predicted_laser_points_;
+}
+
LaserPointerView* LaserPointerControllerTestApi::laser_pointer_view() {
return instance_->laser_pointer_view_.get();
}

Powered by Google App Engine
This is Rietveld 408576698