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

Unified Diff: ash/laser/laser_pointer_view.h

Issue 2362063002: cros: Laser pointer fades out on release, do not cover palette. (Closed)
Patch Set: Moved age logic to laser pointer points class. Created 4 years, 3 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_view.h
diff --git a/ash/laser/laser_pointer_view.h b/ash/laser/laser_pointer_view.h
index 11ff272965901cbd8b7fb4433c2ba0adb999e3c9..3b7fe718028e77e9a0807a1db2ed3539a63924af 100644
--- a/ash/laser/laser_pointer_view.h
+++ b/ash/laser/laser_pointer_view.h
@@ -6,7 +6,6 @@
#define ASH_LASER_LASER_POINTER_VIEW_H_
#include <memory>
-
#include "ash/laser/laser_pointer_points.h"
jdufault 2016/10/04 22:04:13 nit: restore newline
sammiequon 2016/10/05 17:42:23 Done.
#include "base/macros.h"
#include "ui/views/view.h"
@@ -33,8 +32,9 @@ class LaserPointerView : public views::View {
LaserPointerView(base::TimeDelta life_duration, aura::Window* root_window);
~LaserPointerView() override;
- void AddNewPoint(const gfx::Point& new_point);
+ void AddNewPoint(const gfx::Point& new_point, bool fading_away);
void Stop();
+
aura::Window* GetRootWindow();
// Reparents the widget if needed.

Powered by Google App Engine
This is Rietveld 408576698