Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Issue 1206673002: Omnibox: Bug Fixes for Reverse Title (Closed)

Created:
5 years, 6 months ago by Mark P
Modified:
5 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Omnibox: Bug Fixes for Reverse Title Do the swapping at UI time, not AutocompleteResult assembly time. This means the result that gets stored in the shortcuts database is correct. Incidentally, this removes support for this experimental feature from mac (and I suppose Android) because I only wrote the views code. Require a match in the description (title), thus preventing the swapping from triggering on the bug example input of "7". (Does not match in the title.) BUG=338066 Committed: https://crrev.com/e18665267d4a3f1c1fc3fa9851a562f6c28a70f7 Cr-Commit-Position: refs/heads/master@{#335873}

Patch Set 1 #

Patch Set 2 : peter's alternate approach #

Total comments: 2

Patch Set 3 : HasMatch -> HasMatchStyle #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -14 lines) Patch
M chrome/browser/ui/views/omnibox/omnibox_result_view.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/omnibox/autocomplete_match.h View 1 2 3 chunks +12 lines, -4 lines 0 comments Download
M components/omnibox/autocomplete_match.cc View 1 2 8 chunks +16 lines, -9 lines 0 comments Download
M components/omnibox/autocomplete_result.cc View 1 2 3 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
Mark P
Peter, Please take a look, thanks. --mark
5 years, 6 months ago (2015-06-23 21:52:00 UTC) #2
Peter Kasting
As I said in comment 23 of the bug: I don't think we should require ...
5 years, 6 months ago (2015-06-23 21:56:37 UTC) #3
Mark P
Okay, with your approach. --mark
5 years, 6 months ago (2015-06-23 22:27:59 UTC) #4
Peter Kasting
LGTM https://codereview.chromium.org/1206673002/diff/20001/components/omnibox/autocomplete_match.h File components/omnibox/autocomplete_match.h (right): https://codereview.chromium.org/1206673002/diff/20001/components/omnibox/autocomplete_match.h#newcode157 components/omnibox/autocomplete_match.h:157: static bool HasMatch(const ACMatchClassifications& classifications); Nit: HasMatchStyle() would ...
5 years, 6 months ago (2015-06-23 22:57:05 UTC) #5
Mark P
https://codereview.chromium.org/1206673002/diff/20001/components/omnibox/autocomplete_match.h File components/omnibox/autocomplete_match.h (right): https://codereview.chromium.org/1206673002/diff/20001/components/omnibox/autocomplete_match.h#newcode157 components/omnibox/autocomplete_match.h:157: static bool HasMatch(const ACMatchClassifications& classifications); On 2015/06/23 22:57:05, Peter ...
5 years, 6 months ago (2015-06-24 03:52:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1206673002/40001
5 years, 6 months ago (2015-06-24 03:56:01 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-24 05:12:52 UTC) #10
commit-bot: I haz the power
5 years, 6 months ago (2015-06-24 05:13:46 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e18665267d4a3f1c1fc3fa9851a562f6c28a70f7
Cr-Commit-Position: refs/heads/master@{#335873}

Powered by Google App Engine
This is Rietveld 408576698