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

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

Issue 2660593002: Paint text cursor in LAYER_SOLID_COLOR (Closed)
Patch Set: fix typo Created 3 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 69d7b462bffc4694539a20479bb55443e58c334c..04d98a73ff18cd41e5f002f5dcc3e4184696382d 100644
--- a/ui/views/controls/textfield/textfield.h
+++ b/ui/views/controls/textfield/textfield.h
@@ -524,6 +524,9 @@ class VIEWS_EXPORT Textfield : public View,
std::unique_ptr<ui::SimpleMenuModel> context_menu_contents_;
std::unique_ptr<views::MenuRunner> context_menu_runner_;
+ // View containing the text cursor.
+ std::unique_ptr<views::View> cursor_view_;
sadrul 2017/02/02 17:15:32 Don't need views. Don't need unique_ptr (i.e. jus
yiyix 2017/02/06 21:36:18 As we have discussed offline, done.
+
// Used to bind callback functions to this object.
base::WeakPtrFactory<Textfield> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698