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

Issue 907833002: Hide experimental app list Google logo and custom launcher page when search engine is not Google. (Closed)

Created:
5 years, 10 months ago by calamity
Modified:
5 years, 10 months ago
Reviewers:
Matt Giuca
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@update_app_list_bg_color
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hide Google logo and custom launcher page in app list for non-Google search engines. This CL hides the Google logo and the custom launcher page in the experimental app list when the search is not set to Google. This also affects the app list start page doodle. BUG=453224 Committed: https://crrev.com/9382ab44c8438b90cb0afe4de1832189661cc3df Cr-Commit-Position: refs/heads/master@{#316763}

Patch Set 1 #

Total comments: 2

Patch Set 2 : use AppListModel to hide everything, also hide the custom page view #

Total comments: 6

Patch Set 3 : address comments, disable animation to hidden views #

Total comments: 2

Patch Set 4 : rebase onto trent's patch #

Patch Set 5 : address comment, add service dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -14 lines) Patch
M chrome/browser/ui/app_list/app_list_view_delegate.h View 1 4 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/app_list_view_delegate.cc View 1 2 3 4 6 chunks +25 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/start_page_service.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/start_page_service.cc View 1 2 3 4 5 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/start_page_service_factory.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M ui/app_list/app_list_model.h View 1 3 chunks +7 lines, -1 line 0 comments Download
M ui/app_list/app_list_model.cc View 1 2 chunks +8 lines, -1 line 0 comments Download
M ui/app_list/app_list_model_observer.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_main_view.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_main_view.cc View 1 2 3 3 chunks +34 lines, -0 lines 0 comments Download
M ui/app_list/views/contents_view.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ui/app_list/views/contents_view.cc View 1 2 3 3 chunks +4 lines, -6 lines 0 comments Download
M ui/app_list/views/start_page_view.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/views/start_page_view.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (4 generated)
calamity
5 years, 10 months ago (2015-02-09 06:09:29 UTC) #2
Matt Giuca
https://codereview.chromium.org/907833002/diff/1/chrome/browser/resources/app_list/start_page.js File chrome/browser/resources/app_list/start_page.js (right): https://codereview.chromium.org/907833002/diff/1/chrome/browser/resources/app_list/start_page.js#newcode138 chrome/browser/resources/app_list/start_page.js:138: $('logo_container').style.display = is_google ? 'block' : 'none'; Can't we ...
5 years, 10 months ago (2015-02-10 08:27:05 UTC) #3
Matt Giuca
Did you decide not to do this or are you still going to?
5 years, 10 months ago (2015-02-12 02:24:16 UTC) #4
calamity
https://codereview.chromium.org/907833002/diff/1/chrome/browser/resources/app_list/start_page.js File chrome/browser/resources/app_list/start_page.js (right): https://codereview.chromium.org/907833002/diff/1/chrome/browser/resources/app_list/start_page.js#newcode138 chrome/browser/resources/app_list/start_page.js:138: $('logo_container').style.display = is_google ? 'block' : 'none'; On 2015/02/10 ...
5 years, 10 months ago (2015-02-13 02:55:24 UTC) #6
Matt Giuca
https://codereview.chromium.org/907833002/diff/40001/chrome/browser/ui/app_list/app_list_view_delegate.cc File chrome/browser/ui/app_list/app_list_view_delegate.cc (right): https://codereview.chromium.org/907833002/diff/40001/chrome/browser/ui/app_list/app_list_view_delegate.cc#newcode807 chrome/browser/ui/app_list/app_list_view_delegate.cc:807: if (start_page_service) Do you know when the SPS gets ...
5 years, 10 months ago (2015-02-17 00:23:34 UTC) #7
calamity
https://codereview.chromium.org/907833002/diff/40001/chrome/browser/ui/app_list/app_list_view_delegate.cc File chrome/browser/ui/app_list/app_list_view_delegate.cc (right): https://codereview.chromium.org/907833002/diff/40001/chrome/browser/ui/app_list/app_list_view_delegate.cc#newcode807 chrome/browser/ui/app_list/app_list_view_delegate.cc:807: if (start_page_service) On 2015/02/17 00:23:34, Matt Giuca wrote: > ...
5 years, 10 months ago (2015-02-17 06:16:37 UTC) #8
Matt Giuca
lgtm https://codereview.chromium.org/907833002/diff/60001/chrome/browser/ui/app_list/start_page_service.cc File chrome/browser/ui/app_list/start_page_service.cc (right): https://codereview.chromium.org/907833002/diff/60001/chrome/browser/ui/app_list/start_page_service.cc#newcode274 chrome/browser/ui/app_list/start_page_service.cc:274: search_engine_is_google_(true), nit: Maybe init this to false? (Doesn't ...
5 years, 10 months ago (2015-02-17 08:07:45 UTC) #9
calamity
https://codereview.chromium.org/907833002/diff/60001/chrome/browser/ui/app_list/start_page_service.cc File chrome/browser/ui/app_list/start_page_service.cc (right): https://codereview.chromium.org/907833002/diff/60001/chrome/browser/ui/app_list/start_page_service.cc#newcode274 chrome/browser/ui/app_list/start_page_service.cc:274: search_engine_is_google_(true), On 2015/02/17 08:07:45, Matt Giuca wrote: > nit: ...
5 years, 10 months ago (2015-02-18 01:42:34 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/907833002/100001
5 years, 10 months ago (2015-02-18 01:44:08 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 10 months ago (2015-02-18 03:43:12 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-02-18 03:43:42 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9382ab44c8438b90cb0afe4de1832189661cc3df
Cr-Commit-Position: refs/heads/master@{#316763}

Powered by Google App Engine
This is Rietveld 408576698