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

Unified Diff: ui/views/view.h

Issue 1518463002: Hides ink ripple when a button drag is started (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hides ink ripple when a button drag is started (-logs) Created 5 years 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 | « ui/views/controls/button/custom_button.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index ec070e55cec57713cecd60cf20badc83654c4a3d..45231f53e7746db8148bd4e47a44347d7b4dce61 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -936,6 +936,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// operation and the user release the mouse.
virtual int OnPerformDrop(const ui::DropTargetEvent& event);
+ // Invoked from DoDrag when the drag starts. This implementation does
+ // nothing, and is intended for subclasses to do setup.
+ virtual void OnDragStarted(const ui::LocatedEvent& event);
+
// Invoked from DoDrag after the drag completes. This implementation does
// nothing, and is intended for subclasses to do cleanup.
virtual void OnDragDone();
« no previous file with comments | « ui/views/controls/button/custom_button.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698