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

Issue 2591053002: Show PhysicalWebProvider suggestions with omnibox input (Closed)

Created:
4 years ago by mattreynolds
Modified:
3 years, 11 months ago
Reviewers:
Mark P
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show PhysicalWebProvider suggestions with omnibox input Add support for "Query Suggest" in the Physical Web omnibox provider. Previously, the omnibox would only display Physical Web omnibox suggestions when the user had not yet entered any text in the omnibox ("Zero Suggest"). With this CL, Physical Web suggestions may be displayed if the URL and page title match all the terms in the omnibox query string. BUG=630769 Review-Url: https://codereview.chromium.org/2591053002 Cr-Commit-Position: refs/heads/master@{#442098} Committed: https://chromium.googlesource.com/chromium/src/+/a04fff0b8cd393873fa9c1864a98525035519866

Patch Set 1 #

Patch Set 2 : debase #

Total comments: 15

Patch Set 3 : add field trials #

Total comments: 6

Patch Set 4 : field trial changes, add counterfactual logging #

Patch Set 5 : clear had_physical_web_suggestions_ #

Total comments: 8

Patch Set 6 : fix nits #

Patch Set 7 : sync with changes in prereq CL #

Total comments: 2

Patch Set 8 : rebase #

Patch Set 9 : enable experiment in unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+319 lines, -35 lines) Patch
M components/omnibox/browser/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M components/omnibox/browser/omnibox_field_trial.h View 1 2 3 4 5 3 chunks +26 lines, -0 lines 0 comments Download
M components/omnibox/browser/omnibox_field_trial.cc View 1 2 3 4 5 6 3 chunks +50 lines, -0 lines 0 comments Download
A components/omnibox/browser/physical_web_node.h View 1 chunk +29 lines, -0 lines 0 comments Download
A components/omnibox/browser/physical_web_node.cc View 1 chunk +30 lines, -0 lines 0 comments Download
M components/omnibox/browser/physical_web_provider.h View 1 2 3 3 chunks +42 lines, -5 lines 0 comments Download
M components/omnibox/browser/physical_web_provider.cc View 1 2 3 4 5 6 8 chunks +110 lines, -29 lines 0 comments Download
M components/omnibox/browser/physical_web_provider_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +30 lines, -1 line 0 comments Download

Messages

Total messages: 24 (6 generated)
mattreynolds
Hi Mark, PTAL This CL depends on https://codereview.chromium.org/2583763003/ "Issue 2583763003: Factor out AutocompleteMatch creation from ...
4 years ago (2016-12-20 20:50:50 UTC) #2
Mark P
I have concerns about scoring and launch/eval. * What sort of thought have you given ...
3 years, 12 months ago (2016-12-21 18:57:50 UTC) #3
Mark P
Thanks calling to discuss my comments, short-circuiting what would've been a possibly-long e-mail exchange. One ...
3 years, 12 months ago (2016-12-21 21:11:19 UTC) #4
mattreynolds
I think it's not possible to call AddProviderInfo from the provider itself since we won't ...
3 years, 12 months ago (2016-12-21 22:25:59 UTC) #5
Mark P
>>> I think it's not possible to call AddProviderInfo from the provider itself since we ...
3 years, 12 months ago (2016-12-21 23:21:41 UTC) #6
mattreynolds
https://codereview.chromium.org/2591053002/diff/40001/components/omnibox/browser/omnibox_field_trial.cc File components/omnibox/browser/omnibox_field_trial.cc (right): https://codereview.chromium.org/2591053002/diff/40001/components/omnibox/browser/omnibox_field_trial.cc#newcode549 components/omnibox/browser/omnibox_field_trial.cc:549: void OmniboxFieldTrial::GetExperimentalPhysicalWebScoringParams( On 2016/12/21 23:21:41, Mark P wrote: > ...
3 years, 12 months ago (2016-12-22 00:23:40 UTC) #7
Mark P
lgtm I'd like to re-review / re-glance at this after you rebase on top of ...
3 years, 12 months ago (2016-12-22 04:58:16 UTC) #8
mattreynolds
Thanks Mark, I'll ping you again when this is rebased. https://codereview.chromium.org/2591053002/diff/80001/components/omnibox/browser/omnibox_field_trial.cc File components/omnibox/browser/omnibox_field_trial.cc (right): https://codereview.chromium.org/2591053002/diff/80001/components/omnibox/browser/omnibox_field_trial.cc#newcode554 ...
3 years, 11 months ago (2017-01-04 01:04:03 UTC) #9
mattreynolds
https://codereview.chromium.org/2591053002/diff/120001/components/omnibox/browser/physical_web_provider.cc File components/omnibox/browser/physical_web_provider.cc (right): https://codereview.chromium.org/2591053002/diff/120001/components/omnibox/browser/physical_web_provider.cc#newcode39 components/omnibox/browser/physical_web_provider.cc:39: } git cl format ate the newline I added ...
3 years, 11 months ago (2017-01-06 18:50:42 UTC) #10
Mark P
still lgtm https://codereview.chromium.org/2591053002/diff/120001/components/omnibox/browser/physical_web_provider.cc File components/omnibox/browser/physical_web_provider.cc (right): https://codereview.chromium.org/2591053002/diff/120001/components/omnibox/browser/physical_web_provider.cc#newcode39 components/omnibox/browser/physical_web_provider.cc:39: } On 2017/01/06 18:50:42, mattreynolds wrote: > ...
3 years, 11 months ago (2017-01-06 19:55:03 UTC) #11
mattreynolds
Hi Mark, this should be ready for another look.
3 years, 11 months ago (2017-01-06 19:56:46 UTC) #12
mattreynolds
On 2017/01/06 19:55:03, Mark P wrote: > still lgtm > > https://codereview.chromium.org/2591053002/diff/120001/components/omnibox/browser/physical_web_provider.cc > File components/omnibox/browser/physical_web_provider.cc ...
3 years, 11 months ago (2017-01-06 19:57:28 UTC) #13
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/2591053002/140001
3 years, 11 months ago (2017-01-06 19:58:30 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/298468)
3 years, 11 months ago (2017-01-06 20:23:59 UTC) #17
mattreynolds
On 2017/01/06 20:23:59, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 11 months ago (2017-01-06 22:00:38 UTC) #18
Mark P
still lgtm ... --mark
3 years, 11 months ago (2017-01-06 22:32:54 UTC) #19
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/2591053002/160001
3 years, 11 months ago (2017-01-06 22:36:08 UTC) #21
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 23:46:52 UTC) #24
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/a04fff0b8cd393873fa9c1864a98...

Powered by Google App Engine
This is Rietveld 408576698