| 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 PushEvent_h | 5 #ifndef PushEvent_h |
| 6 #define PushEvent_h | 6 #define PushEvent_h |
| 7 | 7 |
| 8 #include "modules/EventModules.h" | 8 #include "modules/EventModules.h" |
| 9 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
| 10 #include "modules/push_messaging/PushMessageData.h" | 10 #include "modules/push_messaging/PushMessageData.h" |
| 11 #include "modules/serviceworkers/ExtendableEvent.h" | 11 #include "modules/serviceworkers/ExtendableEvent.h" |
| 12 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
| 13 #include "wtf/text/AtomicString.h" | 13 #include "platform/wtf/text/AtomicString.h" |
| 14 #include "wtf/text/WTFString.h" | 14 #include "platform/wtf/text/WTFString.h" |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 class PushEventInit; | 18 class PushEventInit; |
| 19 | 19 |
| 20 class MODULES_EXPORT PushEvent final : public ExtendableEvent { | 20 class MODULES_EXPORT PushEvent final : public ExtendableEvent { |
| 21 DEFINE_WRAPPERTYPEINFO(); | 21 DEFINE_WRAPPERTYPEINFO(); |
| 22 | 22 |
| 23 public: | 23 public: |
| 24 static PushEvent* Create(const AtomicString& type, | 24 static PushEvent* Create(const AtomicString& type, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 43 private: | 43 private: |
| 44 PushEvent(const AtomicString& type, PushMessageData*, WaitUntilObserver*); | 44 PushEvent(const AtomicString& type, PushMessageData*, WaitUntilObserver*); |
| 45 PushEvent(const AtomicString& type, const PushEventInit&); | 45 PushEvent(const AtomicString& type, const PushEventInit&); |
| 46 | 46 |
| 47 Member<PushMessageData> data_; | 47 Member<PushMessageData> data_; |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace blink | 50 } // namespace blink |
| 51 | 51 |
| 52 #endif // PushEvent_h | 52 #endif // PushEvent_h |
| OLD | NEW |