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

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

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.h
diff --git a/ui/views/controls/textfield/textfield_test_api.h b/ui/views/controls/textfield/textfield_test_api.h
index 02f4d542757006d797571ace896b504b94706ce4..ecee9e4dbad0291392451aedf5aaf2218ebe8562 100644
--- a/ui/views/controls/textfield/textfield_test_api.h
+++ b/ui/views/controls/textfield/textfield_test_api.h
@@ -6,6 +6,7 @@
#define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_TEST_API_H_
#include "base/macros.h"
+#include "base/time/time.h"
#include "ui/views/controls/textfield/textfield.h"
namespace views {
@@ -37,6 +38,8 @@ class TextfieldTestApi {
return textfield_->touch_selection_controller_.get();
}
+ base::TimeDelta GetPasswordRevealDuration() const;
+
private:
Textfield* textfield_;

Powered by Google App Engine
This is Rietveld 408576698