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

Issue 396583002: Stop depending on InstantService from BaseSearchProvider (Closed)

Created:
6 years, 5 months ago by hashimoto
Modified:
6 years, 5 months ago
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, James Su, Jered
Project:
chromium
Visibility:
Public.

Description

Stop depending on InstantService from BaseSearchProvider UIThreadSearchTermsData is responsible to get the value instead. Remove |start_margin| argument from GetInstantURL() as all users are passing kDisableStartMargin for it. Add a new test TemplateURLTest.OmniboxStartmargin BUG=388515 TEST=components_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284878

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -74 lines) Patch
M chrome/browser/autocomplete/base_search_provider.h View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/autocomplete/base_search_provider.cc View 5 chunks +3 lines, -13 lines 0 comments Download
M chrome/browser/search/search.h View 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/search/search.cc View 9 chunks +9 lines, -15 lines 0 comments Download
M chrome/browser/search/search_unittest.cc View 7 chunks +14 lines, -28 lines 0 comments Download
M chrome/browser/search_engines/ui_thread_search_terms_data.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/search_engines/ui_thread_search_terms_data.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M components/search_engines/search_terms_data.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/search_engines/search_terms_data.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/search_engines/template_url.h View 1 chunk +3 lines, -3 lines 0 comments Download
M components/search_engines/template_url.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M components/search_engines/template_url_unittest.cc View 4 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
hashimoto
6 years, 5 months ago (2014-07-15 07:44:27 UTC) #1
Peter Kasting
LGTM
6 years, 5 months ago (2014-07-15 19:19:05 UTC) #2
hashimoto
jered@, could you review this change as an owner of chrome/browser/search?
6 years, 5 months ago (2014-07-16 02:43:39 UTC) #3
Jered
I'm worried about this CL. omnibox_start_margin_ is used to align the left column of search ...
6 years, 5 months ago (2014-07-16 17:21:14 UTC) #4
hashimoto
On 2014/07/16 17:21:14, Jered wrote: > I'm worried about this CL. omnibox_start_margin_ is used to ...
6 years, 5 months ago (2014-07-17 04:41:54 UTC) #5
kmadhusu
On 2014/07/17 04:41:54, hashimoto wrote: > On 2014/07/16 17:21:14, Jered wrote: > > I'm worried ...
6 years, 5 months ago (2014-07-17 16:59:26 UTC) #6
hashimoto
On 2014/07/17 16:59:26, kmadhusu wrote: > On 2014/07/17 04:41:54, hashimoto wrote: > > On 2014/07/16 ...
6 years, 5 months ago (2014-07-18 04:42:59 UTC) #7
kmadhusu
On 2014/07/18 04:42:59, hashimoto wrote: > On 2014/07/17 16:59:26, kmadhusu wrote: > > On 2014/07/17 ...
6 years, 5 months ago (2014-07-21 16:40:29 UTC) #8
hashimoto
On 2014/07/21 16:40:29, kmadhusu wrote: > On 2014/07/18 04:42:59, hashimoto wrote: > > On 2014/07/17 ...
6 years, 5 months ago (2014-07-22 01:34:20 UTC) #9
kmadhusu
On 2014/07/22 01:34:20, hashimoto wrote: > On 2014/07/21 16:40:29, kmadhusu wrote: > > On 2014/07/18 ...
6 years, 5 months ago (2014-07-22 17:55:05 UTC) #10
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 5 months ago (2014-07-23 03:07:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/396583002/20001
6 years, 5 months ago (2014-07-23 03:08:41 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-07-23 07:04:49 UTC) #13
Message was sent while issue was closed.
Change committed as 284878

Powered by Google App Engine
This is Rietveld 408576698