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

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 5 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..d9364773f67a43daad0f80d5d37c9cdaae1a6d52 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::IsFadingAway() {
+ 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