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

Unified Diff: ash/autoclick/common/autoclick_controller_common_delegate.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/common/autoclick_controller_common.cc ('k') | ash/autoclick/mus/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/autoclick/common/autoclick_controller_common_delegate.h
diff --git a/ash/autoclick/common/autoclick_controller_common_delegate.h b/ash/autoclick/common/autoclick_controller_common_delegate.h
index 12035386fad72014cce95cab1a4696b74a44cec8..f07de2c42d156c6b04318b4e310da421870ab7e4 100644
--- a/ash/autoclick/common/autoclick_controller_common_delegate.h
+++ b/ash/autoclick/common/autoclick_controller_common_delegate.h
@@ -22,9 +22,10 @@ class AutoclickControllerCommonDelegate {
AutoclickControllerCommonDelegate() {}
virtual ~AutoclickControllerCommonDelegate() {}
- // Creates a ring widget at |event_location|. AutoclickControllerCommon
- // takes ownership of the created widget.
- virtual std::unique_ptr<views::Widget> CreateAutoclickRingWidget(
+ // Creates a ring widget at |event_location|.
+ // AutoclickControllerCommonDelegate still has ownership of the widget they
+ // created.
+ virtual views::Widget* CreateAutoclickRingWidget(
const gfx::Point& event_location) = 0;
// Moves |widget| to |event_location|.
« no previous file with comments | « ash/autoclick/common/autoclick_controller_common.cc ('k') | ash/autoclick/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698