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

Unified Diff: ui/views/views_delegate.h

Issue 2286433002: views: Textfield gets password reveal duration from ViewsDelegate (Closed)
Patch Set: move GetPasswordRevealDuration to cc and revert TextfieldTestApi change 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
« no previous file with comments | « ui/views/controls/textfield/textfield.cc ('k') | ui/views/views_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_delegate.h
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
index 54b5c4383e8d39aaf32dfdc58856ff712925a194..4ef9dd7b41539722d9b224af1f9f09bd2eb481bd 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -164,8 +164,8 @@ class VIEWS_EXPORT ViewsDelegate {
virtual void OnBeforeWidgetInit(Widget::InitParams* params,
internal::NativeWidgetDelegate* delegate) = 0;
- // Returns the default obscured text reveal duration.
- virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration();
+ // Returns the password reveal duration for Textfield.
+ virtual base::TimeDelta GetTextfieldPasswordRevealDuration();
// Returns true if the operating system's window manager will always provide a
// title bar with caption buttons (ignoring the setting to
« no previous file with comments | « ui/views/controls/textfield/textfield.cc ('k') | ui/views/views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698