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

Issue 8382010: Some fixups for app notifications: (Closed)

Created:
9 years, 1 month ago by Munjal (Google)
Modified:
9 years, 1 month ago
CC:
chromium-reviews, Erik does not do reviews, mihaip+watch_chromium.org, Aaron Boodman, arv (Not doing code reviews), Paweł Hajdan Jr., estade+watch_chromium.org
Visibility:
Public.

Description

Some fixups for app notifications: - Generate STATE_CHANGED notification in the Add method instead of in other places which call Add. - Generate STATE_CHANGED notification in ClearAll and Remove methods. - Hook up the bubble close button action with code that calls ClearAll. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107063

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -18 lines) Patch
M chrome/browser/extensions/app_notification_manager.cc View 1 2 4 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/extensions/app_notification_manager_sync_unittest.cc View 1 2 2 chunks +1 line, -8 lines 0 comments Download
M chrome/browser/extensions/extension_app_api.cc View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/resources/ntp4/apps_page.js View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Munjal (Google)
Finnur, I know you have refactored some of the bubble JS code. But I think ...
9 years, 1 month ago (2011-10-24 18:21:16 UTC) #1
asargent_no_longer_on_chrome
http://codereview.chromium.org/8382010/diff/1/chrome/browser/extensions/app_notification_manager.cc File chrome/browser/extensions/app_notification_manager.cc (left): http://codereview.chromium.org/8382010/diff/1/chrome/browser/extensions/app_notification_manager.cc#oldcode212 chrome/browser/extensions/app_notification_manager.cc:212: chrome::NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, I think removing this code block means that ...
9 years, 1 month ago (2011-10-24 19:09:16 UTC) #2
Munjal (Google)
http://codereview.chromium.org/8382010/diff/1/chrome/browser/extensions/app_notification_manager.cc File chrome/browser/extensions/app_notification_manager.cc (left): http://codereview.chromium.org/8382010/diff/1/chrome/browser/extensions/app_notification_manager.cc#oldcode212 chrome/browser/extensions/app_notification_manager.cc:212: chrome::NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, On 2011/10/24 19:09:17, Antony Sargent wrote: > I ...
9 years, 1 month ago (2011-10-24 21:44:11 UTC) #3
Munjal (Google)
http://codereview.chromium.org/8382010/diff/1/chrome/browser/extensions/app_notification_manager.cc File chrome/browser/extensions/app_notification_manager.cc (left): http://codereview.chromium.org/8382010/diff/1/chrome/browser/extensions/app_notification_manager.cc#oldcode212 chrome/browser/extensions/app_notification_manager.cc:212: chrome::NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, On 2011/10/24 21:44:11, munjal wrote: > On 2011/10/24 ...
9 years, 1 month ago (2011-10-24 21:46:25 UTC) #4
Munjal (Google)
http://codereview.chromium.org/8382010/diff/1/chrome/browser/extensions/app_notification_manager.cc File chrome/browser/extensions/app_notification_manager.cc (left): http://codereview.chromium.org/8382010/diff/1/chrome/browser/extensions/app_notification_manager.cc#oldcode212 chrome/browser/extensions/app_notification_manager.cc:212: chrome::NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, On 2011/10/24 19:09:17, Antony Sargent wrote: > I ...
9 years, 1 month ago (2011-10-24 21:55:22 UTC) #5
asargent_no_longer_on_chrome
LGTM http://codereview.chromium.org/8382010/diff/5002/chrome/browser/extensions/app_notification_manager.cc File chrome/browser/extensions/app_notification_manager.cc (right): http://codereview.chromium.org/8382010/diff/5002/chrome/browser/extensions/app_notification_manager.cc#newcode225 chrome/browser/extensions/app_notification_manager.cc:225: chrome::NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, nit: this should be indented like the ...
9 years, 1 month ago (2011-10-24 22:09:15 UTC) #6
Munjal (Google)
http://codereview.chromium.org/8382010/diff/5002/chrome/browser/extensions/app_notification_manager.cc File chrome/browser/extensions/app_notification_manager.cc (right): http://codereview.chromium.org/8382010/diff/5002/chrome/browser/extensions/app_notification_manager.cc#newcode225 chrome/browser/extensions/app_notification_manager.cc:225: chrome::NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, On 2011/10/24 22:09:15, Antony Sargent wrote: > nit: ...
9 years, 1 month ago (2011-10-24 22:22:55 UTC) #7
Finnur
9 years, 1 month ago (2011-10-25 10:05:23 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698