summaryrefslogtreecommitdiffstats
path: root/ui/gfx/point_unittest.cc
diff options
context:
space:
mode:
authormathp@chromium.org <mathp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-02 21:57:22 +0000
committermathp@chromium.org <mathp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-02 21:57:22 +0000
commitfc6fca11b24c4f01ce16e933d93c75735c18de8e (patch)
tree17009ce626269c7bc49f5e18134694895c33a8bb /ui/gfx/point_unittest.cc
parent52b46a9445a14a2d3b4231015ac53f658e6e87b7 (diff)
downloadchromium_src-fc6fca11b24c4f01ce16e933d93c75735c18de8e.zip
chromium_src-fc6fca11b24c4f01ce16e933d93c75735c18de8e.tar.gz
chromium_src-fc6fca11b24c4f01ce16e933d93c75735c18de8e.tar.bz2
[Search] Avoid emphasizing search terms in Omnibox
Modifies OmniboxEditModel::CurrentTextIsURL to account for URLs where search terms have been substituted. Adds a check to verify if the current text is a URL when emphasizing the secure scheme. This change is necessary to avoid cases where a user searches for things such as "site:google.com" (see bug). BUG=153481 Review URL: https://chromiumcodereview.appspot.com/11366045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165760 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/point_unittest.cc')
0 files changed, 0 insertions, 0 deletions