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

Issue 10911196: Support for ntp promo bubble. (Closed)

Created:
8 years, 3 months ago by achuithb
Modified:
8 years, 3 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, estade+watch_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

Support for ntp promo bubble. BUG=123061 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156178

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : more changes #

Total comments: 4

Patch Set 6 : allow BR in parseHtmlSubset #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -51 lines) Patch
M chrome/browser/resources/ntp4/new_tab.js View 1 2 3 4 5 5 chunks +23 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_handler.h View 1 2 3 4 1 chunk +20 lines, -13 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_handler.cc View 1 2 3 4 5 2 chunks +23 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 2 3 4 1 chunk +13 lines, -2 lines 0 comments Download
M chrome/browser/web_resource/notification_promo.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/web_resource/notification_promo.cc View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service.cc View 1 2 3 4 5 chunks +25 lines, -19 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
achuithb
Please take a look, Dan.
8 years, 3 months ago (2012-09-11 03:32:58 UTC) #1
Dan Beam
lgtm w/nits if it works http://codereview.chromium.org/10911196/diff/14001/chrome/browser/resources/ntp4/new_tab.js File chrome/browser/resources/ntp4/new_tab.js (right): http://codereview.chromium.org/10911196/diff/14001/chrome/browser/resources/ntp4/new_tab.js#newcode188 chrome/browser/resources/ntp4/new_tab.js:188: promoBubble.anchorNode = $('logo-img'); can ...
8 years, 3 months ago (2012-09-11 03:44:57 UTC) #2
achuithb
Dan, I've incorporated your review feedback. I've had to make some changes to PromoResourceService; please ...
8 years, 3 months ago (2012-09-11 20:27:05 UTC) #3
Dan Beam
lgtm w/nit http://codereview.chromium.org/10911196/diff/1018/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/10911196/diff/1018/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode79 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:79: NotificationPromo::NTP_NOTIFICATION_PROMO)) { I meant more spaces :)
8 years, 3 months ago (2012-09-11 20:32:20 UTC) #4
achuithb
http://codereview.chromium.org/10911196/diff/1018/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/10911196/diff/1018/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode79 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:79: NotificationPromo::NTP_NOTIFICATION_PROMO)) { On 2012/09/11 20:32:21, Dan Beam wrote: > ...
8 years, 3 months ago (2012-09-11 20:37:05 UTC) #5
Dan Beam
http://codereview.chromium.org/10911196/diff/1018/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/10911196/diff/1018/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode79 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:79: NotificationPromo::NTP_NOTIFICATION_PROMO)) { On 2012/09/11 20:37:05, achuith.bhandarkar wrote: > On ...
8 years, 3 months ago (2012-09-11 20:51:22 UTC) #6
achuithb
I've added BR to parseHTMLSubset as agreed. Thanks for the review feedback! http://codereview.chromium.org/10911196/diff/1018/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc ...
8 years, 3 months ago (2012-09-11 21:27:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/10911196/8011
8 years, 3 months ago (2012-09-11 21:31:28 UTC) #8
commit-bot: I haz the power
8 years, 3 months ago (2012-09-11 23:49:01 UTC) #9
Change committed as 156178

Powered by Google App Engine
This is Rietveld 408576698