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

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

Created:
6 years, 6 months ago by Mark P
Modified:
6 years, 5 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Project:
chromium
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/321243003/ Did some basic tests using a local field trial server with the proper params. TBR=pkasting (to get this in M-37) BUG=380357

Patch Set 1 #

Patch Set 2 : now with correct baseline #

Patch Set 3 : rebase #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -18 lines) Patch
M chrome/browser/autocomplete/history_url_provider.h View 1 2 chunks +10 lines, -2 lines 4 comments Download
M chrome/browser/autocomplete/history_url_provider.cc View 1 5 chunks +21 lines, -16 lines 2 comments Download
M chrome/browser/omnibox/omnibox_field_trial.h View 1 2 2 chunks +18 lines, -0 lines 2 comments Download
M chrome/browser/omnibox/omnibox_field_trial.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mark P
I think this is the most straightforward way to implement what I want. Please take ...
6 years, 6 months ago (2014-06-20 04:42:10 UTC) #1
Peter Kasting
This route is cleaner, so let's go with it, but please remember to fully undo ...
6 years, 6 months ago (2014-06-20 21:12:42 UTC) #2
Mark P
Here are the comments. I will send the change with them for your review on ...
6 years, 6 months ago (2014-06-23 22:23:12 UTC) #3
Mark P
6 years, 5 months ago (2014-07-11 19:59:54 UTC) #4
This was submitted as
http://src.chromium.org/viewvc/chrome?view=revision&revision=278811

I'm not sure why codereview.chromium.org doesn't show this.

Closing this review.

--mark

Powered by Google App Engine
This is Rietveld 408576698