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

Issue 6825052: Update the web store promo to be clearer and configurable at run-time. (Closed)

Created:
9 years, 8 months ago by jstritar
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Erik does not do reviews
Visibility:
Public.

Description

Update the web store promo to be clearer and configurable at run-time. The promo now behaves like this: a) Promo is fetched 5 seconds after first launch. b) Promo is shown whenever no apps are installed, or if only default apps are installed (from old Chrome versions). c) Clicking "hide this" puts the apps section into menu mode. d) Switching locales will fetch a new promo in that locale. e) We no longer install default apps, but they'll expire and be uninstalled the same as before. BUG=78358 TEST=PromoResourceServiceTest, ExtensionAppsPromo Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81750

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Fix URL. #

Total comments: 38

Patch Set 4 : Incorporate feedback. Update feed format. Remove first run tip for most visited section. #

Total comments: 4

Patch Set 5 : Fix JS bug. #

Patch Set 6 : Incorporate Aaron's feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1118 lines, -742 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 1 chunk +0 lines, -12 lines 0 comments Download
A chrome/browser/extensions/apps_promo.h View 1 2 3 4 5 1 chunk +113 lines, -0 lines 0 comments Download
A chrome/browser/extensions/apps_promo.cc View 1 2 3 4 5 1 chunk +221 lines, -0 lines 0 comments Download
A chrome/browser/extensions/apps_promo_unittest.cc View 1 2 3 4 5 1 chunk +183 lines, -0 lines 0 comments Download
D chrome/browser/extensions/default_apps.h View 1 chunk +0 lines, -88 lines 0 comments Download
D chrome/browser/extensions/default_apps.cc View 1 chunk +0 lines, -181 lines 0 comments Download
D chrome/browser/extensions/default_apps_unittest.cc View 1 chunk +0 lines, -236 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 3 chunks +2 lines, -9 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 6 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 4 chunks +0 lines, -19 lines 0 comments Download
M chrome/browser/resources/new_new_tab.html View 1 2 3 1 chunk +7 lines, -4 lines 0 comments Download
M chrome/browser/resources/new_new_tab.js View 1 2 3 4 6 chunks +9 lines, -21 lines 0 comments Download
M chrome/browser/resources/ntp/apps.css View 1 2 3 3 chunks +67 lines, -25 lines 0 comments Download
M chrome/browser/resources/ntp/apps.js View 1 2 3 12 chunks +55 lines, -24 lines 0 comments Download
M chrome/browser/ui/webui/app_launcher_handler.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/app_launcher_handler.cc View 1 2 3 4 5 11 chunks +44 lines, -24 lines 0 comments Download
M chrome/browser/ui/webui/ntp_resource_cache.cc View 1 2 3 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service.h View 1 2 3 4 chunks +85 lines, -16 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service.cc View 1 2 3 10 chunks +173 lines, -48 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service_unittest.cc View 1 2 3 4 chunks +103 lines, -14 lines 0 comments Download
M chrome/browser/web_resource/web_resource_service.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 2 chunks +24 lines, -0 lines 0 comments Download
M content/common/notification_type.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jstritar
The new promo is ready to review. I was thinking something like this for reviewers: ...
9 years, 8 months ago (2011-04-12 21:43:07 UTC) #1
Aaron Boodman
I have no time to review this right now. Arv, can you take my bit? ...
9 years, 8 months ago (2011-04-12 22:54:03 UTC) #2
Miranda Callahan
LGTM with nits and nonsubstantial comments from me. Thank you for the PRS cleanup! http://codereview.chromium.org/6825052/diff/7001/chrome/browser/extensions/apps_promo.cc ...
9 years, 8 months ago (2011-04-13 14:29:29 UTC) #3
arv (Not doing code reviews)
I only looked at the html part for now. Jon, do you want me to ...
9 years, 8 months ago (2011-04-13 17:17:59 UTC) #4
jstritar
I think Miranda looked at the C++. Miranda, is the C++ good to go or ...
9 years, 8 months ago (2011-04-13 19:52:27 UTC) #5
mirandac
C++ related to the resource service side is LGTM from me -- arv can review ...
9 years, 8 months ago (2011-04-13 23:35:08 UTC) #6
arv (Not doing code reviews)
HTML/JS/CSS LGTM with the bug fixed http://codereview.chromium.org/6825052/diff/16001/chrome/browser/resources/new_new_tab.js File chrome/browser/resources/new_new_tab.js (right): http://codereview.chromium.org/6825052/diff/16001/chrome/browser/resources/new_new_tab.js#newcode90 chrome/browser/resources/new_new_tab.js:90: a.setAttribute.ping = opt_pingUrl; ...
9 years, 8 months ago (2011-04-14 05:26:11 UTC) #7
Aaron Boodman
lgtm w/ some naming suggestions http://codereview.chromium.org/6825052/diff/16001/chrome/browser/extensions/apps_promo.cc File chrome/browser/extensions/apps_promo.cc (right): http://codereview.chromium.org/6825052/diff/16001/chrome/browser/extensions/apps_promo.cc#newcode20 chrome/browser/extensions/apps_promo.cc:20: std::string str; Perhaps call ...
9 years, 8 months ago (2011-04-14 19:07:09 UTC) #8
jstritar
thank you for the feedback everyone!
9 years, 8 months ago (2011-04-14 19:58:59 UTC) #9
jstritar
Hi Brett, could you take a look at the change to content/common/notification_type.h (you're in the ...
9 years, 8 months ago (2011-04-14 22:12:12 UTC) #10
brettw
9 years, 8 months ago (2011-04-15 15:51:15 UTC) #11
content LGTM

Powered by Google App Engine
This is Rietveld 408576698