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

Unified Diff: ash/laser/laser_pointer_view.h

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_points_test_api.cc ('k') | ash/laser/laser_pointer_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/laser/laser_pointer_view.h
diff --git a/ash/laser/laser_pointer_view.h b/ash/laser/laser_pointer_view.h
index 11ff272965901cbd8b7fb4433c2ba0adb999e3c9..d7e16585ddfd22afad0219b6b28fb5b50e20e27f 100644
--- a/ash/laser/laser_pointer_view.h
+++ b/ash/laser/laser_pointer_view.h
@@ -34,7 +34,9 @@ class LaserPointerView : public views::View {
~LaserPointerView() override;
void AddNewPoint(const gfx::Point& new_point);
+ void UpdateTime();
void Stop();
+
aura::Window* GetRootWindow();
// Reparents the widget if needed.
@@ -46,6 +48,8 @@ class LaserPointerView : public views::View {
// view::View:
void OnPaint(gfx::Canvas* canvas) override;
+ void OnPointsUpdated();
+
LaserPointerPoints laser_points_;
std::unique_ptr<views::Widget> widget_;
« no previous file with comments | « ash/laser/laser_pointer_points_test_api.cc ('k') | ash/laser/laser_pointer_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698