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

Issue 2940973002: Omnibox UI Experiments: Implement scheme-trimming for suggested URLs. (Closed)

Created:
3 years, 6 months ago by tommycli
Modified:
3 years, 6 months ago
CC:
chromium-reviews, jdonnelly+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Omnibox UI Experiments: Implement scheme-trimming for suggested URLs. Enabled by feature flag only. Only trims out HTTPs, since we already trim HTTP, and other schemes do not seem appropriate to trim out. BUG=732582 TEST=unit and manual Review-Url: https://codereview.chromium.org/2940973002 Cr-Commit-Position: refs/heads/master@{#481687} Committed: https://chromium.googlesource.com/chromium/src/+/98195f33ec0f9d33f0099846674c2ebc1f5a7898

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix #

Total comments: 12

Patch Set 4 : fix #

Patch Set 5 : fix #

Total comments: 6

Patch Set 6 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -24 lines) Patch
M components/omnibox/browser/autocomplete_match.h View 1 2 3 4 2 chunks +19 lines, -0 lines 0 comments Download
M components/omnibox/browser/autocomplete_match.cc View 1 2 3 4 5 3 chunks +66 lines, -0 lines 0 comments Download
M components/omnibox/browser/autocomplete_match_unittest.cc View 1 2 3 2 chunks +58 lines, -0 lines 0 comments Download
M components/omnibox/browser/clipboard_url_provider.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M components/omnibox/browser/history_quick_provider.cc View 1 chunk +3 lines, -7 lines 0 comments Download
M components/omnibox/browser/history_url_provider.cc View 1 2 chunks +6 lines, -7 lines 0 comments Download
M components/omnibox/browser/titled_url_match_utils.cc View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M components/omnibox/browser/zero_suggest_provider.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (23 generated)
tommycli
jdonnelly: PTAL, thanks!
3 years, 6 months ago (2017-06-14 23:01:21 UTC) #7
Justin Donnelly
Did you consider putting a new option (kFormatUrlOmitHTTPS) in url_formatter? It'd introduce a bit of ...
3 years, 6 months ago (2017-06-20 17:31:02 UTC) #12
tommycli
https://codereview.chromium.org/2940973002/diff/40001/components/omnibox/browser/autocomplete_match.cc File components/omnibox/browser/autocomplete_match.cc (right): https://codereview.chromium.org/2940973002/diff/40001/components/omnibox/browser/autocomplete_match.cc#newcode517 components/omnibox/browser/autocomplete_match.cc:517: // Also trim HTTPS if this experiment is enabled. ...
3 years, 6 months ago (2017-06-20 22:51:21 UTC) #13
Justin Donnelly
Code lgtm but yeah, this is really duplicating a substantial amount of code in url_formatter. ...
3 years, 6 months ago (2017-06-21 14:53:02 UTC) #18
tommycli
pkasting: PTAL, We were hoping to get a second opinion here. https://codereview.chromium.org/2940973002/diff/80001/components/omnibox/browser/autocomplete_match.cc File components/omnibox/browser/autocomplete_match.cc (right): ...
3 years, 6 months ago (2017-06-21 18:53:44 UTC) #20
Peter Kasting
https://codereview.chromium.org/2940973002/diff/80001/components/omnibox/browser/autocomplete_match.cc File components/omnibox/browser/autocomplete_match.cc (right): https://codereview.chromium.org/2940973002/diff/80001/components/omnibox/browser/autocomplete_match.cc#newcode528 components/omnibox/browser/autocomplete_match.cc:528: base::OffsetAdjuster::Adjustments* adjustments) { On 2017/06/21 18:53:44, tommycli wrote: > ...
3 years, 6 months ago (2017-06-21 23:17:27 UTC) #21
tommycli
pkasting: Thanks! I'm going to CQ dry run it and send it in for commit ...
3 years, 6 months ago (2017-06-22 19:18:43 UTC) #22
tommycli
https://codereview.chromium.org/2940973002/diff/80001/components/omnibox/browser/autocomplete_match.cc File components/omnibox/browser/autocomplete_match.cc (right): https://codereview.chromium.org/2940973002/diff/80001/components/omnibox/browser/autocomplete_match.cc#newcode528 components/omnibox/browser/autocomplete_match.cc:528: base::OffsetAdjuster::Adjustments* adjustments) { On 2017/06/22 19:18:43, tommycli wrote: > ...
3 years, 6 months ago (2017-06-22 19:22:52 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2940973002/100001
3 years, 6 months ago (2017-06-22 22:08:47 UTC) #30
commit-bot: I haz the power
3 years, 6 months ago (2017-06-22 22:12:23 UTC) #33
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/98195f33ec0f9d33f0099846674c...

Powered by Google App Engine
This is Rietveld 408576698