diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-19 17:38:41 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-19 17:38:41 +0000 |
commit | 2a13abed949252b82aa41d6056e11b81e7c3ba62 (patch) | |
tree | 9e801f98abfa3a61e7da76441b4b8f50a35eab57 /base/process_info_win.cc | |
parent | b7aa00c619a1af3aaefeaf869953221841781493 (diff) | |
download | chromium_src-2a13abed949252b82aa41d6056e11b81e7c3ba62.zip chromium_src-2a13abed949252b82aa41d6056e11b81e7c3ba62.tar.gz chromium_src-2a13abed949252b82aa41d6056e11b81e7c3ba62.tar.bz2 |
Save/restore views omnibox selection on blur/focus, select all on click focus.
*This CL depends on WIP: https://codereview.chromium.org/12299003/
Save saved_temporary_selection_ on OmniboxViewViews::OnBlur().
Restore saved_temporary_selection_ on OmniboxViewViews::OnFocus().
(only if select_all_on_mouse_release_ won't trigger)
Remove code to set the cursor to the text end on [tab] with a normal selection.
Run applicable handlers in NativeTextfieldViews::OnMousePressed.
(textfield_->OnMousePressed wasn't being run properly due to logic error)
BUG=134701, 176708
TEST=Cros (and Win Aura / with --enable-views-textfield) Omnibox behaves more like Windows (select all on click-to-focus, save/restore selection on tab-to-focus)
R=pkasting@chromium.org
TBR=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12300008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183239 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_info_win.cc')
0 files changed, 0 insertions, 0 deletions