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

Issue 7672012: Support for promo in ntp4. (Closed)

Created:
9 years, 4 months ago by achuithb
Modified:
9 years, 4 months ago
CC:
chromium-reviews, estade+watch_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

Support for promo in ntp4. support for configurable timeouts in showNotification. showNotification for serverpromo if the string exists, for 60 sec. chrome.send('closePromo') on user dismissing promo. support for html fragments in promo_line + use parseHtmlSubset to guard against xss injection. BUG=93201 TEST=Setup user Preferences with valid promo_start/promo_end/promo_build. Create promo_line with embedded href. Promo should show up on new tab page upon launch. Should fade after 1 min if not interacted with. Closing it should result in it not appearing any more. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97958

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -4 lines) Patch
M chrome/browser/resources/ntp4/new_tab.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.js View 1 2 3 4 5 4 chunks +20 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
achuithb
Please review. Thanks!
9 years, 4 months ago (2011-08-18 18:24:19 UTC) #1
Miranda Callahan
+arv On 2011/08/18 18:24:19, achuith.bhandarkar wrote: > Please review. Thanks! I am adding arv to ...
9 years, 4 months ago (2011-08-19 08:16:01 UTC) #2
jstritar
On 2011/08/19 08:16:01, Miranda Callahan wrote: > +arv > > On 2011/08/18 18:24:19, achuith.bhandarkar wrote: ...
9 years, 4 months ago (2011-08-19 14:59:34 UTC) #3
achuithb
Thanks for pointing me to parseHtmlSubset. I've incorporated this function into ntp4/new_tab.js. In my testing, ...
9 years, 4 months ago (2011-08-19 20:19:52 UTC) #4
Evan Stade
http://codereview.chromium.org/7672012/diff/11001/chrome/browser/resources/ntp4/new_tab.js File chrome/browser/resources/ntp4/new_tab.js (right): http://codereview.chromium.org/7672012/diff/11001/chrome/browser/resources/ntp4/new_tab.js#newcode659 chrome/browser/resources/ntp4/new_tab.js:659: if (typeof text == 'string') { name of text ...
9 years, 4 months ago (2011-08-19 20:43:23 UTC) #5
achuithb
Thanks. http://codereview.chromium.org/7672012/diff/11001/chrome/browser/resources/ntp4/new_tab.js File chrome/browser/resources/ntp4/new_tab.js (right): http://codereview.chromium.org/7672012/diff/11001/chrome/browser/resources/ntp4/new_tab.js#newcode659 chrome/browser/resources/ntp4/new_tab.js:659: if (typeof text == 'string') { On 2011/08/19 ...
9 years, 4 months ago (2011-08-19 21:30:28 UTC) #6
Evan Stade
lgtm
9 years, 4 months ago (2011-08-19 22:38:25 UTC) #7
Miranda Callahan
On 2011/08/19 22:38:25, Evan Stade wrote: > lgtm With estade's review and the addition of ...
9 years, 4 months ago (2011-08-20 07:25:38 UTC) #8
jstritar
LGTM
9 years, 4 months ago (2011-08-22 17:14:17 UTC) #9
arv (Not doing code reviews)
9 years, 4 months ago (2011-08-22 17:47:23 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld 408576698