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

Issue 321243003: Omnibox: Add Field Trial to Create UWYT When Inlining (Closed)

Created:
6 years, 6 months ago by Mark P
Modified:
6 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Visibility:
Public.

Description

Omnibox: Add Field Trial to Create UWYT When Inlining Currently when HistoryURL provider decides to promote a match for inline autocompletion, it will then decline to offer a what-you-typed match even if it's valid and reasonable. This behavior can cause problems in DisableInling mode because this means that sometimes HistoryURL provider will not create a UWYT match. Consequently, the default match in this mode can become a search-what-you-typed even when the input is a valid URL. This causes all sorts of badness and irritation. This changelist creates a new mechanism, controlled through a field trial parameter, that forces creation of the UWYT match if it wasn't added due to this reason (promoted URL for inline autocompletion). This is one approach to implement this strategy. The other approach is in https://codereview.chromium.org/347963002/ Did some basic tests using a local field trial server with the proper params. BUG=380357

Patch Set 1 #

Patch Set 2 : comment cleanup #

Patch Set 3 : complete change; not tested #

Patch Set 4 : rebased on top of Peter's refactoring #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -25 lines) Patch
M chrome/browser/autocomplete/history_url_provider.h View 1 2 3 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/history_url_provider.cc View 1 2 3 6 chunks +44 lines, -23 lines 0 comments Download
M chrome/browser/omnibox/omnibox_field_trial.h View 1 2 3 4 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/omnibox/omnibox_field_trial.cc View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Mark P
This should be trivial. Feel free to object if you think it should be bundled ...
6 years, 6 months ago (2014-06-10 21:50:54 UTC) #1
Peter Kasting
On 2014/06/10 21:50:54, Mark P wrote: > This should be trivial. Feel free to object ...
6 years, 6 months ago (2014-06-10 22:27:02 UTC) #2
Mark P
On 2014/06/10 22:27:02, Peter Kasting wrote: > On 2014/06/10 21:50:54, Mark P wrote: > > ...
6 years, 6 months ago (2014-06-10 22:40:01 UTC) #3
Mark P
Peter, I know you asked me to hold off on this change. Regardless, I thought ...
6 years, 6 months ago (2014-06-11 22:51:44 UTC) #4
Peter Kasting
I _think_ this will be easier to do after my changes, but I'm not sure.
6 years, 6 months ago (2014-06-11 22:58:35 UTC) #5
Mark P
On 2014/06/11 22:58:35, Peter Kasting wrote: > I _think_ this will be easier to do ...
6 years, 6 months ago (2014-06-12 23:53:55 UTC) #6
Mark P
On 2014/06/12 23:53:55, Mark P wrote: > On 2014/06/11 22:58:35, Peter Kasting wrote: > > ...
6 years, 6 months ago (2014-06-15 18:08:41 UTC) #7
Mark P
As I mentioned in the other e-mail, this is the most alternate way to implement ...
6 years, 6 months ago (2014-06-20 04:42:57 UTC) #8
Mark P
6 years, 6 months ago (2014-06-23 21:19:31 UTC) #9
On 2014/06/20 04:42:57, Mark P wrote:
> As I mentioned in the other e-mail, this is the most alternate way to
implement
> what I want.  Please take a look ASAP.
> 
> thanks,
> mark

Abandoned in favor of the alternate implementation mentioned in the changelist
description.

--mark

Powered by Google App Engine
This is Rietveld 408576698