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

Unified Diff: ui/views/controls/textfield/textfield.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/controls/textfield/textfield.h
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h
index 35e64b4504c0fd304bf79f85eaf08ae514ee2293..8ab0da811c2fbc62097c375748fb89ce74d7e026 100644
--- a/ui/views/controls/textfield/textfield.h
+++ b/ui/views/controls/textfield/textfield.h
@@ -346,6 +346,7 @@ class VIEWS_EXPORT Textfield : public View,
// SelectionController::Delegate overrides:
gfx::RenderText* GetRenderTextForSelection() override;
bool IsReadOnly() const override;
+ bool SupportsDrag() const override;
void SetTextBeingDragged(bool value) override;
int GetViewHeight() const override;
int GetViewWidth() const override;

Powered by Google App Engine
This is Rietveld 408576698