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

Issue 2657473003: Show Physical Web zero-suggest omnibox suggestions after query is deleted (Closed)

Created:
3 years, 11 months ago by mattreynolds
Modified:
3 years, 10 months ago
Reviewers:
iankc, Mark P
CC:
chromium-reviews, jdonnelly+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show Physical Web zero-suggest omnibox suggestions after query is deleted The Physical Web omnibox provider provides suggestions when the user first focuses the omnibox (zero-suggest) as well as after the user begins typing a query (query suggest). This CL will allow PW zero-suggest suggestions to be shown when the user has begun typing a query and then deleted it. BUG=680505 Review-Url: https://codereview.chromium.org/2657473003 Cr-Commit-Position: refs/heads/master@{#446193} Committed: https://chromium.googlesource.com/chromium/src/+/cac0db7f354b8187b4932f1131d3701c5197d71b

Patch Set 1 #

Total comments: 4

Patch Set 2 : require PhysicalWebAfterTyping experiment #

Total comments: 2

Patch Set 3 : const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -2 lines) Patch
M components/omnibox/browser/physical_web_provider.cc View 1 2 3 chunks +12 lines, -2 lines 0 comments Download
M components/omnibox/browser/physical_web_provider_unittest.cc View 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
mattreynolds
Hi Mark and Ian, PTAL Previously we would only take the zero-suggest branch if input.from_omnibox_focus() ...
3 years, 11 months ago (2017-01-24 01:36:46 UTC) #2
Mark P
I think displaying a suggestion for an after-typing empty-omnibox should only be done as part ...
3 years, 11 months ago (2017-01-24 04:52:46 UTC) #3
mattreynolds
On 2017/01/24 04:52:46, Mark P wrote: > I think displaying a suggestion for an after-typing ...
3 years, 10 months ago (2017-01-24 18:49:09 UTC) #4
Mark P
On 2017/01/24 18:49:09, mattreynolds wrote: > On 2017/01/24 04:52:46, Mark P wrote: > > I ...
3 years, 10 months ago (2017-01-24 19:04:06 UTC) #5
Mark P
https://codereview.chromium.org/2657473003/diff/1/components/omnibox/browser/physical_web_provider.cc File components/omnibox/browser/physical_web_provider.cc (right): https://codereview.chromium.org/2657473003/diff/1/components/omnibox/browser/physical_web_provider.cc#newcode95 components/omnibox/browser/physical_web_provider.cc:95: if (!matches_.empty() && !input.text().empty()) { I don't think this ...
3 years, 10 months ago (2017-01-24 19:06:12 UTC) #6
mattreynolds
> One reason we separated the zero suggest and after typing behavior is because > ...
3 years, 10 months ago (2017-01-24 22:41:54 UTC) #7
Mark P
lgtm, though see the two comments below Can you confirm that the newly added test ...
3 years, 10 months ago (2017-01-25 20:19:47 UTC) #8
mattreynolds
Yep, it fails without this change. Thanks Mark! https://codereview.chromium.org/2657473003/diff/1/components/omnibox/browser/physical_web_provider.cc File components/omnibox/browser/physical_web_provider.cc (right): https://codereview.chromium.org/2657473003/diff/1/components/omnibox/browser/physical_web_provider.cc#newcode95 components/omnibox/browser/physical_web_provider.cc:95: if ...
3 years, 10 months ago (2017-01-25 22:01:52 UTC) #9
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/2657473003/40001
3 years, 10 months ago (2017-01-25 22:03:46 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-01-26 01:28:12 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/cac0db7f354b8187b4932f1131d3...

Powered by Google App Engine
This is Rietveld 408576698