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

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

Issue 2852763002: Added a system caret used for accessibility on Windows. (Closed)
Patch Set: Disabled all tests Created 3 years, 5 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.cc
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
index 7e9dbae11d8d961b29cab6b5deea857572a2bc70..5fc6a5c69d02e1e6a5c5c367b40ab6367f3adf11 100644
--- a/ui/views/controls/textfield/textfield.cc
+++ b/ui/views/controls/textfield/textfield.cc
@@ -346,6 +346,7 @@ void Textfield::AppendText(const base::string16& new_text) {
model_->Append(new_text);
OnCaretBoundsChanged();
SchedulePaint();
+ NotifyAccessibilityEvent(ui::AX_EVENT_TEXT_CHANGED, true);
}
void Textfield::InsertOrReplaceText(const base::string16& new_text) {

Powered by Google App Engine
This is Rietveld 408576698