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

Issue 8785016: Add menu option for disabling app notifications (Closed)

Created:
9 years ago by asargent_no_longer_on_chrome
Modified:
9 years ago
Reviewers:
Finnur, Evan Stade
CC:
chromium-reviews, jstritar+watch_chromium.org, Erik does not do reviews, mihaip+watch_chromium.org, Aaron Boodman, arv (Not doing code reviews), estade+watch_chromium.org
Visibility:
Public.

Description

Add menu option for disabling app notifications This should only show up for apps which have the appNotifications permission in their manifest. BUG=106268 TEST=Install an app with the appNotifications permission - the icon on the NTP should get a 'Disable Notifications' context menu entry which if checked will keep the notification bubbles from appearing over the app's icon. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113111

Patch Set 1 #

Total comments: 8

Patch Set 2 : addressed review feedback #

Patch Set 3 : another fix from review comments #

Total comments: 6

Patch Set 4 : respond to more review feedback #

Total comments: 7

Patch Set 5 : a little more cleanup #

Patch Set 6 : fix merge conflicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -8 lines) Patch
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/ntp4/apps_page.js View 1 2 3 4 5 7 chunks +34 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 3 4 5 5 chunks +24 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
asargent_no_longer_on_chrome
finnur - please review all changes estade - please review NTP stuff
9 years ago (2011-12-03 05:27:32 UTC) #1
Finnur
http://codereview.chromium.org/8785016/diff/1/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/8785016/diff/1/chrome/browser/extensions/extension_service.cc#newcode1450 chrome/browser/extensions/extension_service.cc:1450: id, extension_sync_data.notifications_disabled()); Wait... Isn't one possibility here that app ...
9 years ago (2011-12-05 16:15:15 UTC) #2
asargent_no_longer_on_chrome
Addressed comments. Please look again (Hoping to land this today to make M17 cutoff) Thanks! ...
9 years ago (2011-12-05 17:42:39 UTC) #3
Finnur
http://codereview.chromium.org/8785016/diff/1/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): http://codereview.chromium.org/8785016/diff/1/chrome/browser/resources/ntp4/apps_page.js#newcode172 chrome/browser/resources/ntp4/apps_page.js:172: if (!currentlyDisabled && app.currentBubbleShowing_) { I was referring to ...
9 years ago (2011-12-05 17:49:59 UTC) #4
asargent_no_longer_on_chrome
http://codereview.chromium.org/8785016/diff/1/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): http://codereview.chromium.org/8785016/diff/1/chrome/browser/resources/ntp4/apps_page.js#newcode172 chrome/browser/resources/ntp4/apps_page.js:172: if (!currentlyDisabled && app.currentBubbleShowing_) { On 2011/12/05 17:50:00, Finnur ...
9 years ago (2011-12-05 18:21:05 UTC) #5
Finnur
lgtm
9 years ago (2011-12-05 18:24:22 UTC) #6
Evan Stade
http://codereview.chromium.org/8785016/diff/9001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/8785016/diff/9001/chrome/app/generated_resources.grd#newcode8957 chrome/app/generated_resources.grd:8957: Disable Notifications this should be sentence case on windows, ...
9 years ago (2011-12-05 22:04:16 UTC) #7
asargent_no_longer_on_chrome
http://codereview.chromium.org/8785016/diff/9001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/8785016/diff/9001/chrome/app/generated_resources.grd#newcode8957 chrome/app/generated_resources.grd:8957: Disable Notifications On 2011/12/05 22:04:16, Evan Stade wrote: > ...
9 years ago (2011-12-05 23:09:14 UTC) #8
Evan Stade
http://codereview.chromium.org/8785016/diff/4002/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/8785016/diff/4002/chrome/app/generated_resources.grd#newcode8957 chrome/app/generated_resources.grd:8957: Disable notifications sorry I didn't think of this prior, ...
9 years ago (2011-12-05 23:19:32 UTC) #9
asargent_no_longer_on_chrome
http://codereview.chromium.org/8785016/diff/4002/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/8785016/diff/4002/chrome/app/generated_resources.grd#newcode8957 chrome/app/generated_resources.grd:8957: Disable notifications On 2011/12/05 23:19:32, Evan Stade wrote: > ...
9 years ago (2011-12-06 00:14:55 UTC) #10
Evan Stade
lgtm http://codereview.chromium.org/8785016/diff/4002/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): http://codereview.chromium.org/8785016/diff/4002/chrome/browser/resources/ntp4/apps_page.js#newcode173 chrome/browser/resources/ntp4/apps_page.js:173: app.appData.notifications_disabled = !disabled; On 2011/12/06 00:14:55, Antony Sargent ...
9 years ago (2011-12-06 01:27:08 UTC) #11
commit-bot: I haz the power
9 years ago (2011-12-06 01:35:28 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698