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

Unified Diff: ui/views/controls/textfield/textfield.h

Issue 138033014: Consistent fading behavior for touch editing handles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 782a0b48b548d3e1569d6d44e13667ed5af26732..6e213c8b2bc4a5c491ba60f793243b792e9662b7 100644
--- a/ui/views/controls/textfield/textfield.h
+++ b/ui/views/controls/textfield/textfield.h
@@ -343,6 +343,10 @@ class VIEWS_EXPORT Textfield : public View,
void CreateTouchSelectionControllerAndNotifyIt();
+ // Sets touch selection controller to |tsc|, which is allowed to be NULL. The
+ // old touch selection controller, if any, will fade out.
+ void SetTouchSelectionController(ui::TouchSelectionController* tsc);
+
// The text model.
scoped_ptr<TextfieldModel> model_;

Powered by Google App Engine
This is Rietveld 408576698