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

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

Issue 2286433002: views: Textfield gets password reveal duration from ViewsDelegate (Closed)
Patch Set: no setter Created 4 years, 4 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_test_api.cc
diff --git a/ui/views/controls/textfield/textfield_test_api.cc b/ui/views/controls/textfield/textfield_test_api.cc
index be45d24cc42f3da5c8ba5934a9f9cd10ce1c16eb..2b4ce0243d45d0ac5ac9fb93f3186f6d9f042863 100644
--- a/ui/views/controls/textfield/textfield_test_api.cc
+++ b/ui/views/controls/textfield/textfield_test_api.cc
@@ -27,4 +27,8 @@ void TextfieldTestApi::ResetTouchSelectionController() {
textfield_->touch_selection_controller_.reset();
}
+base::TimeDelta TextfieldTestApi::GetPasswordRevealDuration() const {
+ return textfield_->GetPasswordRevealDuration();
+}
+
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698