summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/mock_printer.h
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 17:58:27 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 17:58:27 +0000
commit7731ddcf58527b8356ae385246abd15385a59a0a (patch)
tree8610488cf97305b870fa16ddc133d12efed7a1ba /chrome/renderer/mock_printer.h
parentde9b65ba8c0e9b461fcf3720d694ac5ffd47037c (diff)
downloadchromium_src-7731ddcf58527b8356ae385246abd15385a59a0a.zip
chromium_src-7731ddcf58527b8356ae385246abd15385a59a0a.tar.gz
chromium_src-7731ddcf58527b8356ae385246abd15385a59a0a.tar.bz2
Linux: Select omnibox text on button release instead of press.
We also don't select all of the text if the user dragged to highlight some text before releasing the button. Tested by repeating the scenarios from: http://codereview.chromium.org/151006 http://codereview.chromium.org/159185 plus checking that the following cases behave as expected: 1. Type some text into the omnibox. Click in Webkit to give it the focus. Click once in the omnibox. All of its text should be highlighted, and middle-clicking in another window should show that the primary selection was updated. 2. Click in the omnibox to clear its highlighted text and click in Webkit again. Click in the omnibox again, but this time drag to highlight some text before letting go of the button. The highlighted text should be preserved on button release, and the primary selection should be updated. 3. Repeat step 2. Click a few times in the omnibox and confirm that we don't select all of its text (that should only happen at the end of the initial click that focuses the omnibox). (Patch from Dan Erat) http://codereview.chromium.org/155971 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/mock_printer.h')
0 files changed, 0 insertions, 0 deletions