OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 NotificationResourcesLoader_h | 5 #ifndef NotificationResourcesLoader_h |
6 #define NotificationResourcesLoader_h | 6 #define NotificationResourcesLoader_h |
7 | 7 |
8 #include "modules/ModulesExport.h" | 8 #include "modules/ModulesExport.h" |
9 #include "modules/notifications/NotificationImageLoader.h" | 9 #include "modules/notifications/NotificationImageLoader.h" |
10 #include "platform/heap/GarbageCollected.h" | 10 #include "platform/heap/GarbageCollected.h" |
11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
12 #include "platform/heap/HeapAllocator.h" | 12 #include "platform/heap/HeapAllocator.h" |
13 #include "platform/heap/ThreadState.h" | 13 #include "platform/heap/ThreadState.h" |
14 #include "third_party/skia/include/core/SkBitmap.h" | 14 #include "third_party/skia/include/core/SkBitmap.h" |
15 #include "wtf/Functional.h" | 15 #include "wtf/Functional.h" |
16 #include "wtf/OwnPtr.h" | |
17 #include "wtf/PassOwnPtr.h" | |
18 #include "wtf/Vector.h" | 16 #include "wtf/Vector.h" |
19 #include <memory> | 17 #include <memory> |
20 | 18 |
21 namespace blink { | 19 namespace blink { |
22 | 20 |
23 class ExecutionContext; | 21 class ExecutionContext; |
24 struct WebNotificationData; | 22 struct WebNotificationData; |
25 struct WebNotificationResources; | 23 struct WebNotificationResources; |
26 | 24 |
27 // Fetches the resources specified in a given WebNotificationData. Uses a | 25 // Fetches the resources specified in a given WebNotificationData. Uses a |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 int m_pendingRequestCount; | 67 int m_pendingRequestCount; |
70 HeapVector<Member<NotificationImageLoader>> m_imageLoaders; | 68 HeapVector<Member<NotificationImageLoader>> m_imageLoaders; |
71 SkBitmap m_icon; | 69 SkBitmap m_icon; |
72 SkBitmap m_badge; | 70 SkBitmap m_badge; |
73 Vector<SkBitmap> m_actionIcons; | 71 Vector<SkBitmap> m_actionIcons; |
74 }; | 72 }; |
75 | 73 |
76 } // namespace blink | 74 } // namespace blink |
77 | 75 |
78 #endif // NotificationResourcesLoader_h | 76 #endif // NotificationResourcesLoader_h |
OLD | NEW |