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

Issue 12623029: Upstreaming mechanism to add query refinement to omnibox searches. (Closed)

Created:
7 years, 9 months ago by beaudoin
Modified:
7 years, 9 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, dbeam+watch-options_chromium.org, tfarina, Aaron Boodman, chromium-apps-reviews_chromium.org, James Su, rohitrao (ping after 24h), Yusuf
Visibility:
Public.

Description

Upstreaming mechanism to add query refinement to omnibox searches. This patch adds the wiring to allow query refinement by replacing the search terms in a URL without touching the other URL parameters. BUG=178604 TBR=mpcomplete@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189981

Patch Set 1 #

Patch Set 2 : Fixed ChromeOS. #

Total comments: 21

Patch Set 3 : Applied Peter's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -116 lines) Patch
M chrome/browser/autocomplete/autocomplete_browsertest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_classifier.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_input.h View 1 2 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_input.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_input_unittest.cc View 1 2 5 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_provider_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_result_unittest.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/autocomplete/bookmark_provider_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/builtin_provider_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/contact_provider_chromeos_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/autocomplete/extension_app_provider_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/history_contents_provider_unittest.cc View 10 chunks +19 lines, -14 lines 0 comments Download
M chrome/browser/autocomplete/history_quick_provider_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/history_url_provider_unittest.cc View 5 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/autocomplete/keyword_provider_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/search_provider_unittest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/shortcuts_provider_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/omnibox/omnibox_apitest.cc View 5 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/search_engines/template_url.h View 1 2 3 chunks +42 lines, -3 lines 0 comments Download
M chrome/browser/search_engines/template_url.cc View 1 2 6 chunks +100 lines, -40 lines 0 comments Download
M chrome/browser/search_engines/template_url_unittest.cc View 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/search_builder.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_model.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options/home_page_overlay_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/startup_pages_handler.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
beaudoin
Here is my upstreaming patch for query refinement. It compiles and test passes on OsX, ...
7 years, 9 months ago (2013-03-19 21:33:30 UTC) #1
Peter Kasting
You specified multiple reviewers. Whom do you want to review what?
7 years, 9 months ago (2013-03-19 23:46:24 UTC) #2
beaudoin
Sorry Peter, I should have CC'd Rohit and Yusuf instead. I think you're the best ...
7 years, 9 months ago (2013-03-20 02:00:42 UTC) #3
Peter Kasting
On 2013/03/20 02:00:42, beaudoin wrote: > Sorry Peter, I should have CC'd Rohit and Yusuf ...
7 years, 9 months ago (2013-03-21 06:58:19 UTC) #4
Peter Kasting
LGTM https://codereview.chromium.org/12623029/diff/7001/chrome/browser/autocomplete/autocomplete_input.h File chrome/browser/autocomplete/autocomplete_input.h (right): https://codereview.chromium.org/12623029/diff/7001/chrome/browser/autocomplete/autocomplete_input.h#newcode60 chrome/browser/autocomplete/autocomplete_input.h:60: // search result page, the search provider will ...
7 years, 9 months ago (2013-03-22 20:20:06 UTC) #5
beaudoin
Applied Peter's comments. https://codereview.chromium.org/12623029/diff/7001/chrome/browser/autocomplete/autocomplete_input.h File chrome/browser/autocomplete/autocomplete_input.h (right): https://codereview.chromium.org/12623029/diff/7001/chrome/browser/autocomplete/autocomplete_input.h#newcode60 chrome/browser/autocomplete/autocomplete_input.h:60: // search result page, the search ...
7 years, 9 months ago (2013-03-22 23:10:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/beaudoin@chromium.org/12623029/15001
7 years, 9 months ago (2013-03-22 23:23:17 UTC) #7
commit-bot: I haz the power
Presubmit check for 12623029-15001 failed and returned exit status 1. INFO:root:Found 26 file(s). Running presubmit ...
7 years, 9 months ago (2013-03-22 23:23:28 UTC) #8
beaudoin
7 years, 9 months ago (2013-03-23 03:45:44 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r189981 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698