<http://webkit.org/b/49848> Make it possible to display the last character of a secur...
authorAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 14 Feb 2011 22:10:38 +0000 (19:10 -0300)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 21 Feb 2011 20:52:01 +0000 (17:52 -0300)
commit6af0e1a1b3d5a995b483540fa05502a1e7e0875b
tree4b81847c2aee4fa1e11cf65a4fd897efa65d3363
parent766509e962da551e6b4fd9488f22938f356024c5
<webkit.org/b/49848> Make it possible to display the last character of a secure text field unobscured

Reviewed by Darin Adler.

* JavaScriptCore.exp:
* wtf/text/StringImpl.cpp:
(WTF::StringImpl::secure): Added argument that controls whether
the last character is obscured or not.  Implemented behavior.
* wtf/text/StringImpl.h:
(WTF::StringImpl::LastCharacterBehavior): Added enum.
(WTF::StringImpl::secure): Updated method signature.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72477 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Conflicts:

JavaScriptCore/JavaScriptCore.exp
JavaScriptCore/wtf/text/StringImpl.cpp
JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.exp
JavaScriptCore/wtf/text/StringImpl.cpp
JavaScriptCore/wtf/text/StringImpl.h