diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-30 20:33:38 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-30 20:33:38 +0000 |
commit | 826eabe167041c77556cd52d673f721b1b4aeb69 (patch) | |
tree | e2fdebaba732122203bb333e303fd7b0e93853a3 /ui | |
parent | 054dbd8ee8bb4262873f7c25672a1281b0e54eab (diff) | |
download | chromium_src-826eabe167041c77556cd52d673f721b1b4aeb69.zip chromium_src-826eabe167041c77556cd52d673f721b1b4aeb69.tar.gz chromium_src-826eabe167041c77556cd52d673f721b1b4aeb69.tar.bz2 |
Preserve find bar selection across tab switches.
This also removes SearchTextfieldView from the Windows code, which did nothing
the underlying Textfield wasn't already doing.
BUG=297385
TEST=Open the find bar in two tabs, select different text in each find bar, and toggle between the two tabs. The selections should be preserved.
R=finnur@chromium.org, sail@chromium.org
Review URL: https://codereview.chromium.org/24449008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226039 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r-- | ui/views/controls/textfield/native_textfield_views.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/views/controls/textfield/native_textfield_views.cc b/ui/views/controls/textfield/native_textfield_views.cc index dc63a9b..6bf95a6 100644 --- a/ui/views/controls/textfield/native_textfield_views.cc +++ b/ui/views/controls/textfield/native_textfield_views.cc @@ -703,8 +703,6 @@ void NativeTextfieldViews::HandleBlur() { } touch_selection_controller_.reset(); - - ClearSelection(); } ui::TextInputClient* NativeTextfieldViews::GetTextInputClient() { |