OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ExtendableMessageEvent_h |
| 6 #define ExtendableMessageEvent_h |
| 7 |
| 8 #include "modules/EventModules.h" |
| 9 #include "modules/ModulesExport.h" |
| 10 #include "modules/serviceworkers/ExtendableEvent.h" |
| 11 #include "modules/serviceworkers/ExtendableMessageEventInit.h" |
| 12 |
| 13 namespace blink { |
| 14 |
| 15 class MODULES_EXPORT ExtendableMessageEvent final : public ExtendableEvent { |
| 16 DEFINE_WRAPPERTYPEINFO(); |
| 17 |
| 18 public: |
| 19 static PassRefPtrWillBeRawPtr<ExtendableMessageEvent> create(); |
| 20 static PassRefPtrWillBeRawPtr<ExtendableMessageEvent> create(const AtomicStr
ing& type, const ExtendableMessageEventInit& initializer); |
| 21 static PassRefPtrWillBeRawPtr<ExtendableMessageEvent> create(const AtomicStr
ing& type, const ExtendableMessageEventInit& initializer, WaitUntilObserver*); |
| 22 |
| 23 const AtomicString& interfaceName() const override; |
| 24 |
| 25 DECLARE_VIRTUAL_TRACE(); |
| 26 |
| 27 private: |
| 28 ExtendableMessageEvent(); |
| 29 ExtendableMessageEvent(const AtomicString& type, const ExtendableMessageEven
tInit& initializer); |
| 30 ExtendableMessageEvent(const AtomicString& type, const ExtendableMessageEven
tInit& initializer, WaitUntilObserver*); |
| 31 }; |
| 32 |
| 33 } // namespace blink |
| 34 |
| 35 #endif // ExtendableMessageEvent_h |
OLD | NEW |