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

Issue 3040022: Add new search engine logos to template url data.... (Closed)

Created:
10 years, 5 months ago by Miranda Callahan
Modified:
9 years, 7 months ago
Reviewers:
Nico, Evan Stade
CC:
chromium-reviews, brettw-cc_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Add new search engine logos to template url data. This CL also reorganizes the way logos and search engine type data are stored. Because the search engine dialog is no longer an experiment running on few locales, move the data and logos into the template_url_prepopulate_data for each search engine. BUG=42612 TEST=search engine dialog works as expected. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53870

Patch Set 1 : '' #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 7

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+444 lines, -105 lines) Patch
M chrome/app/theme/theme_resources.grd View 1 2 3 1 chunk +39 lines, -1 line 0 comments Download
M chrome/browser/browser_main.cc View 1 2 3 3 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/search_engines/template_url.h View 1 2 3 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data.h View 1 2 3 2 chunks +20 lines, -8 lines 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data.cc View 1 2 3 175 chunks +359 lines, -37 lines 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc View 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/views/first_run_search_engine_view.cc View 1 2 3 3 chunks +2 lines, -53 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Miranda Callahan
Thanks, Nico (or Evan, if you feel like reviewing)...
10 years, 5 months ago (2010-07-27 00:27:54 UTC) #1
Nico
LG, the only real comment is about moving the constructor definition http://codereview.chromium.org/3040022/diff/25001/26001 File chrome/app/theme/theme_resources.grd (right): ...
10 years, 5 months ago (2010-07-27 17:19:07 UTC) #2
Miranda Callahan
http://codereview.chromium.org/3040022/diff/25001/26001 File chrome/app/theme/theme_resources.grd (right): http://codereview.chromium.org/3040022/diff/25001/26001#newcode257 chrome/app/theme/theme_resources.grd:257: <include name="IDR_SEARCH_ENGINE_LOGO_ABCSOK" file="google_chrome/search_abcsok.png" type="BINDATA" /> On 2010/07/27 17:19:07, Nico ...
10 years, 5 months ago (2010-07-27 17:41:45 UTC) #3
Nico
10 years, 5 months ago (2010-07-27 17:43:43 UTC) #4
http://codereview.chromium.org/3040022/diff/25001/26003
File chrome/browser/search_engines/template_url.h (right):

http://codereview.chromium.org/3040022/diff/25001/26003#newcode277
chrome/browser/search_engines/template_url.h:277:
search_engine_type_(TemplateURLPrepopulateData::SEARCH_ENGINE_OTHER),
On 2010/07/27 17:41:45, Miranda Callahan wrote:
> On 2010/07/27 17:19:07, Nico wrote:
> > move the definition of the constructor to the cc file, then you don't need
to
> > add an include to this file, which makes erg happy
> 
> Hmm, because we return a SearchEngineType below, and you can't forward declare
> an Enum, I think we have to include this file anyway.

oh, right

*shakes fist at enums*

Powered by Google App Engine
This is Rietveld 408576698