|
|
Omnibox - Add About Flag to Reverse Title and URLs in the Dropdown
(under some conditions)
Precisely, if the input is detected to be of type QUERY OR FORCED_QUERY,
then it's likely that any (or at least most) URL suggestions we have
have matches in the title. In this case, it's better to display the
titles more prominently than the URLs in the omnibox dropdown.
I've found this policy of flipping based entirely on the input type (not
where the matches are) makes the omnibox look more consistent than a
per-suggestion decision. Also, because inputs that are detected to
be of type QUERY or FORCED_QUERY tend to keep their type classification
as the user types, this also helps maintain a consistent presentation
look in the omnibox.
This is submitted as an about flag so other people can turn it on and
experience this behavior. It's for getting feedback and iterating.
BUG= 338066
Committed: https://crrev.com/2a18bc7516b082cdd5d8a59b4f38d93cf76c27ac
Cr-Commit-Position: refs/heads/master@{#331260}
Total comments: 16
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+95 lines, -47 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/about_flags.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/autocomplete_controller.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/autocomplete_provider_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/history_quick_provider.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/search_provider_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac_unittest.mm
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/omnibox/omnibox_edit_model.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/omnibox/autocomplete_match.h
|
View
|
1
2
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/omnibox/autocomplete_match.cc
|
View
|
1
2
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/omnibox/autocomplete_result.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/omnibox/autocomplete_result.cc
|
View
|
1
2
3
|
1 chunk |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/omnibox/autocomplete_result_unittest.cc
|
View
|
1
2
3
|
17 chunks |
+29 lines, -29 lines |
0 comments
|
Download
|
 |
M |
components/omnibox/omnibox_switches.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/omnibox/omnibox_switches.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 13 (3 generated)
|