| Index: chrome/common/extensions/api/notifications.idl
|
| diff --git a/chrome/common/extensions/api/notifications.idl b/chrome/common/extensions/api/notifications.idl
|
| index ec8bf147c8f753c4ca8c029cbc974b98b60cf582..895d34ae54b2dabdf6b1a9d8a208f7ba8a1363e4 100644
|
| --- a/chrome/common/extensions/api/notifications.idl
|
| +++ b/chrome/common/extensions/api/notifications.idl
|
| @@ -70,6 +70,8 @@ namespace notifications {
|
|
|
| callback ClearCallback = void (boolean wasCleared);
|
|
|
| + callback GetAllCallback = void (object notifications);
|
| +
|
| interface Functions {
|
| // Creates and displays a notification having the contents in |options|,
|
| // identified by the id |notificationId|. If |notificationId| is empty,
|
| @@ -92,6 +94,10 @@ namespace notifications {
|
| // corresponding notification. |callback| indicates whether a matching
|
| // notification existed.
|
| static void clear(DOMString notificationId, ClearCallback callback);
|
| +
|
| + // |callback| is executed with the set of notification_ids currently in
|
| + // the system.
|
| + static void getAll(GetAllCallback callback);
|
| };
|
|
|
| interface Events {
|
|
|