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

Unified Diff: chrome/common/desktop_notifications/active_notification_tracker.h

Issue 549140: If a page is navigated within the same render process, the active notificatio... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/desktop_notifications/active_notification_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/desktop_notifications/active_notification_tracker.h
===================================================================
--- chrome/common/desktop_notifications/active_notification_tracker.h (revision 36880)
+++ chrome/common/desktop_notifications/active_notification_tracker.h (working copy)
@@ -35,6 +35,9 @@
void OnPermissionRequestComplete(int id);
WebKit::WebNotificationPermissionCallback* GetCallback(int id);
+ // Clears out all active notifications. Useful on page navigation.
+ void Clear();
+
private:
typedef std::map<WebKit::WebNotification, int> ReverseTable;
@@ -47,4 +50,3 @@
};
#endif // CHROME_COMMON_DESKTOP_NOTIFICATIONS_ACTIVE_NOTIFICATION_TRACKER_H_
-
« no previous file with comments | « no previous file | chrome/common/desktop_notifications/active_notification_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698