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

Unified Diff: ash/laser/laser_pointer_controller_test_api.cc

Issue 2362063002: cros: Laser pointer fades out on release, do not cover palette. (Closed)
Patch Set: Nit. 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
« no previous file with comments | « ash/laser/laser_pointer_controller_test_api.h ('k') | ash/laser/laser_pointer_controller_unittest.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.cc
diff --git a/ash/laser/laser_pointer_controller_test_api.cc b/ash/laser/laser_pointer_controller_test_api.cc
index eda09a9fa5f594ae45ef569390b5f57c9ecd7b2a..165608acb50fd9e6f457e0741c28ccade7c21bad 100644
--- a/ash/laser/laser_pointer_controller_test_api.cc
+++ b/ash/laser/laser_pointer_controller_test_api.cc
@@ -24,6 +24,14 @@ bool LaserPointerControllerTestApi::IsShowingLaserPointer() {
return instance_->laser_pointer_view_ != nullptr;
}
+bool LaserPointerControllerTestApi::IsFadingAway() {
+ return IsShowingLaserPointer() && instance_->is_fading_away_;
+}
+
+void LaserPointerControllerTestApi::SetIsFadingAway(bool fading_away) {
+ instance_->is_fading_away_ = fading_away;
+}
+
const LaserPointerPoints& LaserPointerControllerTestApi::laser_points() {
return instance_->laser_pointer_view_->laser_points_;
}
« no previous file with comments | « ash/laser/laser_pointer_controller_test_api.h ('k') | ash/laser/laser_pointer_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698