| 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 #include "config.h" | 5 #include "config.h" |
| 6 #include "modules/notifications/NotificationEvent.h" | 6 #include "modules/notifications/NotificationEvent.h" |
| 7 |
| 8 #include "modules/notifications/NotificationEventInit.h" |
| 7 #include "wtf/text/WTFString.h" | 9 #include "wtf/text/WTFString.h" |
| 8 | 10 |
| 9 namespace blink { | 11 namespace blink { |
| 10 | 12 |
| 11 NotificationEvent::NotificationEvent() | 13 NotificationEvent::NotificationEvent() |
| 12 : m_action(emptyString()) | 14 : m_action(emptyString()) |
| 13 { | 15 { |
| 14 } | 16 } |
| 15 | 17 |
| 16 NotificationEvent::NotificationEvent(const AtomicString& type, const Notificatio
nEventInit& initializer) | 18 NotificationEvent::NotificationEvent(const AtomicString& type, const Notificatio
nEventInit& initializer) |
| (...skipping 21 matching lines...) Expand all Loading... |
| 38 return EventNames::NotificationEvent; | 40 return EventNames::NotificationEvent; |
| 39 } | 41 } |
| 40 | 42 |
| 41 DEFINE_TRACE(NotificationEvent) | 43 DEFINE_TRACE(NotificationEvent) |
| 42 { | 44 { |
| 43 visitor->trace(m_notification); | 45 visitor->trace(m_notification); |
| 44 ExtendableEvent::trace(visitor); | 46 ExtendableEvent::trace(visitor); |
| 45 } | 47 } |
| 46 | 48 |
| 47 } // namespace blink | 49 } // namespace blink |
| OLD | NEW |