Index: ui/views/controls/textfield/textfield.h |
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h |
index 54391a380cb8ac1b51e0dd753f01014f045b569b..d534b0bbc6bd00fda44e142183b7b865551c0423 100644 |
--- a/ui/views/controls/textfield/textfield.h |
+++ b/ui/views/controls/textfield/textfield.h |
@@ -388,6 +388,9 @@ class VIEWS_EXPORT Textfield : public View, |
// Pastes the selection clipboard for the specified mouse event. |
void PasteSelectionClipboard(const ui::MouseEvent& event); |
+ // Gets the password reveal duration. |
+ base::TimeDelta GetPasswordRevealDuration(); |
+ |
// The text model. |
std::unique_ptr<TextfieldModel> model_; |
@@ -434,8 +437,7 @@ class VIEWS_EXPORT Textfield : public View, |
// The input flags of this text field. |
int text_input_flags_; |
- // The duration and timer to reveal the last typed password character. |
- base::TimeDelta password_reveal_duration_; |
+ // The timer to reveal the last typed password character. |
base::OneShotTimer password_reveal_timer_; |
// Tracks whether a user action is being performed; i.e. OnBeforeUserAction() |