Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 5767063142400000: notification fixes (Closed)

Created:
March 3, 2014, 3:50 p.m. by saroyanm
Modified:
March 6, 2014, 11:06 a.m.
Visibility:
Public.

Description

This issue is related to the discussion under closed notification issue: http://codereview.adblockplus.org/6098518317989888/diff2/5728116278296576:5651874166341632/chrome/ext/background.js

Patch Set 1 #

Total comments: 2

Patch Set 2 : platform information from info module #

Patch Set 3 : removed import of ext/background.js from notification.html #

Total comments: 11

Patch Set 4 : notification.html relocation, safari changes revert and notification.js update #

Patch Set 5 : removed ext/common.js import from notification.html #

Total comments: 2

Patch Set 6 : Nit fix for long lines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -7 lines) Patch
M background.js View 1 2 3 4 5 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/ext/background.js View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/notification.html View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M metadata.common View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M notification.js View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 18
saroyanm
In case I'll also update the patch after conclusion on current discussion: http://codereview.adblockplus.org/6098518317989888/diff2/5733935958982656:5651874166341632/notification.html
March 3, 2014, 4:02 p.m. (2014-03-03 16:02:13 UTC) #1
Thomas Greiner
http://codereview.adblockplus.org/5767063142400000/diff/5629499534213120/background.js File background.js (right): http://codereview.adblockplus.org/5767063142400000/diff/5629499534213120/background.js#newcode351 background.js:351: if (typeof chrome != "undefined" && "notifications" in chrome ...
March 4, 2014, 9:48 a.m. (2014-03-04 09:48:48 UTC) #2
saroyanm
Updated to use info module to get platform information. http://codereview.adblockplus.org/5767063142400000/diff/5629499534213120/background.js File background.js (right): http://codereview.adblockplus.org/5767063142400000/diff/5629499534213120/background.js#newcode351 background.js:351: ...
March 4, 2014, 10:53 a.m. (2014-03-04 10:53:26 UTC) #3
saroyanm
Guys I've uploaded a new patch to remove ext/background.js import from notification.html after aligning with ...
March 4, 2014, 4:35 p.m. (2014-03-04 16:35:42 UTC) #4
Sebastian Noack
On 2014/03/04 16:35:42, saroyanm wrote: > Guys I've uploaded a new patch to remove ext/background.js ...
March 5, 2014, 10:56 a.m. (2014-03-05 10:56:01 UTC) #5
Thomas Greiner
http://codereview.adblockplus.org/5767063142400000/diff/5639274879778816/notification.html File notification.html (right): http://codereview.adblockplus.org/5767063142400000/diff/5639274879778816/notification.html#newcode29 notification.html:29: <script src="ext/common.js"></script> We don't need ext/common.js anymore if we ...
March 5, 2014, 1:24 p.m. (2014-03-05 13:24:46 UTC) #6
saroyanm
Guys sorry for late answer, but actually seams like we should rethink about implementation while ...
March 5, 2014, 1:44 p.m. (2014-03-05 13:44:28 UTC) #7
Thomas Greiner
http://codereview.adblockplus.org/5767063142400000/diff/5639274879778816/notification.html File notification.html (right): http://codereview.adblockplus.org/5767063142400000/diff/5639274879778816/notification.html#newcode29 notification.html:29: <script src="ext/common.js"></script> On 2014/03/05 13:44:28, saroyanm wrote: > On ...
March 5, 2014, 1:51 p.m. (2014-03-05 13:51:48 UTC) #8
Sebastian Noack
http://codereview.adblockplus.org/5767063142400000/diff/5639274879778816/notification.html File notification.html (right): http://codereview.adblockplus.org/5767063142400000/diff/5639274879778816/notification.html#newcode29 notification.html:29: <script src="ext/common.js"></script> On 2014/03/05 13:51:48, Thomas Greiner wrote: > ...
March 5, 2014, 2:11 p.m. (2014-03-05 14:11:55 UTC) #9
saroyanm
http://codereview.adblockplus.org/5767063142400000/diff/5639274879778816/notification.html File notification.html (right): http://codereview.adblockplus.org/5767063142400000/diff/5639274879778816/notification.html#newcode29 notification.html:29: <script src="ext/common.js"></script> On 2014/03/05 14:11:56, Sebastian Noack wrote: > ...
March 5, 2014, 2:36 p.m. (2014-03-05 14:36:25 UTC) #10
saroyanm
Guys, I've uploaded a new patch, Please have a look and let me know if ...
March 5, 2014, 3:18 p.m. (2014-03-05 15:18:47 UTC) #11
Sebastian Noack
http://codereview.adblockplus.org/5767063142400000/diff/5639274879778816/notification.html File notification.html (right): http://codereview.adblockplus.org/5767063142400000/diff/5639274879778816/notification.html#newcode29 notification.html:29: <script src="ext/common.js"></script> On 2014/03/05 14:36:26, saroyanm wrote: > On ...
March 5, 2014, 6:48 p.m. (2014-03-05 18:48:15 UTC) #12
saroyanm
After discussion with Sebastian the new patch is uploaded, Please have a look guys when ...
March 6, 2014, 9:28 a.m. (2014-03-06 09:28:08 UTC) #13
Sebastian Noack
LGTM, with the nit addressed. http://codereview.adblockplus.org/5767063142400000/diff/5643440998055936/background.js File background.js (right): http://codereview.adblockplus.org/5767063142400000/diff/5643440998055936/background.js#newcode351 background.js:351: if (require("info").platform == "chromium" ...
March 6, 2014, 9:58 a.m. (2014-03-06 09:58:31 UTC) #14
saroyanm
Nit fixed. http://codereview.adblockplus.org/5767063142400000/diff/5643440998055936/background.js File background.js (right): http://codereview.adblockplus.org/5767063142400000/diff/5643440998055936/background.js#newcode351 background.js:351: if (require("info").platform == "chromium" && "notifications" in ...
March 6, 2014, 10:11 a.m. (2014-03-06 10:11:15 UTC) #15
Sebastian Noack
Even more LGTM ;)
March 6, 2014, 10:14 a.m. (2014-03-06 10:14:25 UTC) #16
Thomas Greiner
LGTM
March 6, 2014, 10:22 a.m. (2014-03-06 10:22:07 UTC) #17
saroyanm
March 6, 2014, 11:06 a.m. (2014-03-06 11:06:40 UTC) #18
:) Finally, thanks guys.

Powered by Google App Engine
This is Rietveld