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

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

Issue 2399863002: views: call UpdateAfterChange() in Textfield::InsertOrReplaceText(). (Closed)
Patch Set: use TextfieldTestApi 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
« no previous file with comments | « ui/views/controls/textfield/textfield.cc ('k') | ui/views/controls/textfield/textfield_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield_test_api.h
diff --git a/ui/views/controls/textfield/textfield_test_api.h b/ui/views/controls/textfield/textfield_test_api.h
index f337ea84d10d1b5f9c365dca771c011fa498618a..f488f2cfefc2b013e5c025f76926c6894f14a538 100644
--- a/ui/views/controls/textfield/textfield_test_api.h
+++ b/ui/views/controls/textfield/textfield_test_api.h
@@ -41,6 +41,10 @@ class TextfieldTestApi {
return textfield_->scheduled_text_edit_command_;
}
+ bool IsCursorBlinkTimerRunning() const {
+ return textfield_->cursor_blink_timer_.IsRunning();
+ }
+
private:
Textfield* textfield_;
« no previous file with comments | « ui/views/controls/textfield/textfield.cc ('k') | ui/views/controls/textfield/textfield_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698