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

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: 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_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..8ce8dba754451ca7340a3add89f72c7ada5051e4 100644
--- a/ash/laser/laser_pointer_controller_test_api.cc
+++ b/ash/laser/laser_pointer_controller_test_api.cc
@@ -24,6 +24,10 @@ bool LaserPointerControllerTestApi::IsShowingLaserPointer() {
return instance_->laser_pointer_view_ != nullptr;
}
+bool LaserPointerControllerTestApi::IsFadingOut() {
jdufault 2016/10/05 18:08:51 nit: rename to IsFadingAway()
sammiequon 2016/10/05 21:15:22 Done.
+ return IsShowingLaserPointer() && instance_->is_fading_away_;
+}
+
const LaserPointerPoints& LaserPointerControllerTestApi::laser_points() {
return instance_->laser_pointer_view_->laser_points_;
}

Powered by Google App Engine
This is Rietveld 408576698