OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "config.h" |
| 6 #include "modules/notifications/NotificationEvent.h" |
| 7 |
| 8 namespace blink { |
| 9 |
| 10 NotificationEventInit::NotificationEventInit() |
| 11 { |
| 12 } |
| 13 |
| 14 NotificationEvent::NotificationEvent() |
| 15 { |
| 16 } |
| 17 |
| 18 NotificationEvent::NotificationEvent(const AtomicString& type, const Notificatio
nEventInit& initializer, WaitUntilObserver* observer) |
| 19 : ExtendableEvent(type, initializer, observer) |
| 20 , m_notification(initializer.notification) |
| 21 { |
| 22 } |
| 23 |
| 24 NotificationEvent::~NotificationEvent() |
| 25 { |
| 26 } |
| 27 |
| 28 const AtomicString& NotificationEvent::interfaceName() const |
| 29 { |
| 30 return EventNames::NotificationEvent; |
| 31 } |
| 32 |
| 33 void NotificationEvent::trace(Visitor* visitor) |
| 34 { |
| 35 visitor->trace(m_notification); |
| 36 ExtendableEvent::trace(visitor); |
| 37 } |
| 38 |
| 39 } // namespace blink |
OLD | NEW |