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

Unified Diff: ui/views/selection_controller.h

Issue 2413223003: Views:: Make Labels support text selection. (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
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;

Powered by Google App Engine
This is Rietveld 408576698