diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-28 21:01:51 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-28 21:01:51 +0000 |
commit | 6bc200d5ff9f3f466144d55504fa8d94755ee8ef (patch) | |
tree | fe5e65c48b44b166f8114c07c660aabe20cae4e2 /ui/views/controls/textfield/textfield.h | |
parent | 9c2c1ea8f79577f6ba6b735ec3e9be573f3b5172 (diff) | |
download | chromium_src-6bc200d5ff9f3f466144d55504fa8d94755ee8ef.zip chromium_src-6bc200d5ff9f3f466144d55504fa8d94755ee8ef.tar.gz chromium_src-6bc200d5ff9f3f466144d55504fa8d94755ee8ef.tar.bz2 |
Support obscured RenderTextWin passwords.
Use asterisks instead of actual text when obscured on Win.
Use GetLayoutText() and index conversion in RenderTextWin.
Add UpdateObscuredText(), called on Set[Text|Obscured]().
Shortcut word breaking when obscured like RenderTextLinux.
Expand upon tests and enable on Windows; refactoring; etc.
Fix and simplify TextfieldViewsModelTest.Clipboard.
( It incorrectly expected obscured text to support word-break cursor movement )
( It was disabled on Linux Aura for long-fixed http://crbug.com/97845 )
BUG=97845,138222
TEST=Views examples and ftp auth --enable-views-textfield password textfields work, etc.
R=xji@chromium.org,asvitkine@chromium.org
TBR=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10821079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159335 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/controls/textfield/textfield.h')
-rw-r--r-- | ui/views/controls/textfield/textfield.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h index 94edd1b..ac273fe 100644 --- a/ui/views/controls/textfield/textfield.h +++ b/ui/views/controls/textfield/textfield.h @@ -62,9 +62,6 @@ class VIEWS_EXPORT Textfield : public View { // Gets/sets the STYLE_OBSCURED bit, controlling whether characters in this // Textfield are displayed as asterisks/bullets. - // TODO(bryeung): Currently SetObscured is only used in - // chrome/browser/chromeos/options/wifi_config_view.cc, which is being - // converted to WebUI. Please remove it when that happens. bool IsObscured() const; void SetObscured(bool obscured); |