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

Issue 363003: Implement cancel() API on a Notification object so that script can cancel or ... (Closed)

Created:
11 years, 1 month ago by John Gregg
Modified:
9 years ago
Reviewers:
michaeln
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, darin (slow to review), jam, ben+cc_chromium.org
Visibility:
Public.

Description

Implement cancel() API on a Notification object so that script can cancel or tear down a toast. BUG=26360 TEST=cancel a notification Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31004

Patch Set 1 #

Patch Set 2 : self cleanup #

Total comments: 6

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -16 lines) Patch
M chrome/browser/notifications/balloon.h View 1 2 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/notifications/balloon.cc View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M chrome/browser/notifications/balloon_collection.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/notifications/balloon_collection.cc View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/notifications/desktop_notification_service.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/notifications/desktop_notification_service.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification_object_proxy.h View 1 2 1 chunk +9 lines, -1 line 0 comments Download
M chrome/browser/notifications/notification_ui_manager.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification_ui_manager.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/views/notifications/balloon_view.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/views/notifications/balloon_view.cc View 1 2 4 chunks +9 lines, -8 lines 0 comments Download
M chrome/renderer/notification_provider.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
John Gregg
11 years, 1 month ago (2009-11-04 16:27:38 UTC) #1
michaeln
http://codereview.chromium.org/363003/diff/4001/5013 File chrome/browser/notifications/notification.h (right): http://codereview.chromium.org/363003/diff/4001/5013#newcode40 Line 40: bool IsSameNotificationObject(const Notification& other) const { maybe just ...
11 years, 1 month ago (2009-11-04 20:16:00 UTC) #2
John Gregg
New code posted. http://codereview.chromium.org/363003/diff/4001/5013 File chrome/browser/notifications/notification.h (right): http://codereview.chromium.org/363003/diff/4001/5013#newcode40 Line 40: bool IsSameNotificationObject(const Notification& other) const ...
11 years, 1 month ago (2009-11-04 20:40:29 UTC) #3
michaeln
11 years, 1 month ago (2009-11-04 20:56:56 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698