diff options
author | mpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-22 03:07:44 +0000 |
---|---|---|
committer | mpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-22 03:07:44 +0000 |
commit | c2ca3fd18959ff2b7d7a4d1ad5f39d0dc3a61070 (patch) | |
tree | ebbdab6a1ca08b2ffc725c44d33f3e7d821473d6 /remoting/resources | |
parent | 40a4f2e77f33470afd01693e6af9419813a536d6 (diff) | |
download | chromium_src-c2ca3fd18959ff2b7d7a4d1ad5f39d0dc3a61070.zip chromium_src-c2ca3fd18959ff2b7d7a4d1ad5f39d0dc3a61070.tar.gz chromium_src-c2ca3fd18959ff2b7d7a4d1ad5f39d0dc3a61070.tar.bz2 |
Omnibox: Strip Excess Whitespace from Queries
In SearchProvider, strip redundant interior whitespace and
leading/trailing whitespace in queries. The changes here affect
both invisible parts (the destination URL), semi-visible parts (the
fill_into_edit text), and visible parts (the rendering the dropdown).
I think this encompasses all the cases we want. The only possible
additional extension I know of is to remove consecutive interior
whitespace before sending an input to the search history database.
I decided not to bother doing that.
BUG=99239
Review URL: https://codereview.chromium.org/195983014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258754 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/resources')
0 files changed, 0 insertions, 0 deletions