| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebNotificationManager_h | 5 #ifndef WebNotificationManager_h |
| 6 #define WebNotificationManager_h | 6 #define WebNotificationManager_h |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 #include <memory> |
| 8 #include "public/platform/WebCallbacks.h" | 10 #include "public/platform/WebCallbacks.h" |
| 9 #include "public/platform/WebString.h" | 11 #include "public/platform/WebString.h" |
| 10 #include "public/platform/WebVector.h" | 12 #include "public/platform/WebVector.h" |
| 11 #include "public/platform/modules/notifications/WebNotificationData.h" | 13 #include "public/platform/modules/notifications/WebNotificationData.h" |
| 12 #include "public/platform/modules/notifications/WebNotificationResources.h" | 14 #include "public/platform/modules/notifications/WebNotificationResources.h" |
| 13 #include <memory> | |
| 14 #include <stdint.h> | |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 class WebNotificationDelegate; | 18 class WebNotificationDelegate; |
| 19 class WebSecurityOrigin; | 19 class WebSecurityOrigin; |
| 20 class WebServiceWorkerRegistration; | 20 class WebServiceWorkerRegistration; |
| 21 | 21 |
| 22 // Structure representing the info associated with a persistent notification. | 22 // Structure representing the info associated with a persistent notification. |
| 23 struct WebPersistentNotificationInfo { | 23 struct WebPersistentNotificationInfo { |
| 24 WebString notification_id; | 24 WebString notification_id; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 const WebString& notification_id) = 0; | 70 const WebString& notification_id) = 0; |
| 71 | 71 |
| 72 // Indicates that the delegate object is being destroyed, and must no longer | 72 // Indicates that the delegate object is being destroyed, and must no longer |
| 73 // be used by the embedder to dispatch events. | 73 // be used by the embedder to dispatch events. |
| 74 virtual void NotifyDelegateDestroyed(WebNotificationDelegate*) = 0; | 74 virtual void NotifyDelegateDestroyed(WebNotificationDelegate*) = 0; |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace blink | 77 } // namespace blink |
| 78 | 78 |
| 79 #endif // WebNotificationManager_h | 79 #endif // WebNotificationManager_h |
| OLD | NEW |