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

Unified Diff: ash/autoclick/common/autoclick_controller_common.h

Issue 2316553003: mash: Add autoclick app. (Closed)
Patch Set: MouseEvent; if etc. 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
« no previous file with comments | « ash/autoclick/autoclick_controller.cc ('k') | ash/autoclick/common/autoclick_controller_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/autoclick/common/autoclick_controller_common.h
diff --git a/ash/autoclick/common/autoclick_controller_common.h b/ash/autoclick/common/autoclick_controller_common.h
index 0c4cc8c6c2f3d566420b05a07f507c6f14a8c137..1f685cc76c9f60b320cd94e0b2100bce186127fd 100644
--- a/ash/autoclick/common/autoclick_controller_common.h
+++ b/ash/autoclick/common/autoclick_controller_common.h
@@ -29,7 +29,7 @@ class AutoclickControllerCommonDelegate;
// animate at the mouse event location and an automatic click event will happen
// after a certain amout of time at that location.
// AutoclickControllerCommon is the common code for both ash and mus to handle
-// events and to manage autoclick time delay, timer and ring widget.
+// events and to manage autoclick time delay and timer.
class AutoclickControllerCommon {
public:
AutoclickControllerCommon(base::TimeDelta delay,
@@ -53,7 +53,7 @@ class AutoclickControllerCommon {
int mouse_event_flags_;
std::unique_ptr<base::Timer> autoclick_timer_;
AutoclickControllerCommonDelegate* delegate_;
- std::unique_ptr<views::Widget> widget_;
+ views::Widget* widget_;
// The position in screen coordinates used to determine
// the distance the mouse has moved.
gfx::Point anchor_location_;
« no previous file with comments | « ash/autoclick/autoclick_controller.cc ('k') | ash/autoclick/common/autoclick_controller_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698