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

Unified Diff: ui/views/selection_controller.h

Issue 2379993005: Label selection experiment (Closed)
Patch Set: -- 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 | « ui/views/examples/label_example.cc ('k') | ui/views/selection_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/selection_controller.h
diff --git a/ui/views/selection_controller.h b/ui/views/selection_controller.h
index fe164338180ab747c1ded9e5be00ba3000b3ebf2..3837fc25a1876a8f20d7ef70ee2f504a85303cf9 100644
--- a/ui/views/selection_controller.h
+++ b/ui/views/selection_controller.h
@@ -92,6 +92,8 @@ class VIEWS_EXPORT SelectionController::Delegate {
// Returns true if the associated text view is read only.
virtual bool IsReadOnly() const = 0;
+ // Returns whether the associated view supports drag-and-drop.
+ virtual bool SupportsDrag() const = 0;
// Returns whether there is a drag operation originating from the associated
// view.
virtual bool HasTextBeingDragged() const = 0;
« no previous file with comments | « ui/views/examples/label_example.cc ('k') | ui/views/selection_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698