| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 namespace blink { | 29 namespace blink { |
| 30 | 30 |
| 31 PageTransitionEventInit::PageTransitionEventInit() | 31 PageTransitionEventInit::PageTransitionEventInit() |
| 32 : persisted(false) | 32 : persisted(false) |
| 33 { | 33 { |
| 34 } | 34 } |
| 35 | 35 |
| 36 PageTransitionEvent::PageTransitionEvent() | 36 PageTransitionEvent::PageTransitionEvent() |
| 37 : m_persisted(false) | 37 : m_persisted(false) |
| 38 { | 38 { |
| 39 ScriptWrappable::init(this); | |
| 40 } | 39 } |
| 41 | 40 |
| 42 PageTransitionEvent::PageTransitionEvent(const AtomicString& type, bool persiste
d) | 41 PageTransitionEvent::PageTransitionEvent(const AtomicString& type, bool persiste
d) |
| 43 : Event(type, true, true) | 42 : Event(type, true, true) |
| 44 , m_persisted(persisted) | 43 , m_persisted(persisted) |
| 45 { | 44 { |
| 46 ScriptWrappable::init(this); | |
| 47 } | 45 } |
| 48 | 46 |
| 49 PageTransitionEvent::PageTransitionEvent(const AtomicString& type, const PageTra
nsitionEventInit& initializer) | 47 PageTransitionEvent::PageTransitionEvent(const AtomicString& type, const PageTra
nsitionEventInit& initializer) |
| 50 : Event(type, initializer) | 48 : Event(type, initializer) |
| 51 , m_persisted(initializer.persisted) | 49 , m_persisted(initializer.persisted) |
| 52 { | 50 { |
| 53 ScriptWrappable::init(this); | |
| 54 } | 51 } |
| 55 | 52 |
| 56 PageTransitionEvent::~PageTransitionEvent() | 53 PageTransitionEvent::~PageTransitionEvent() |
| 57 { | 54 { |
| 58 } | 55 } |
| 59 | 56 |
| 60 const AtomicString& PageTransitionEvent::interfaceName() const | 57 const AtomicString& PageTransitionEvent::interfaceName() const |
| 61 { | 58 { |
| 62 return EventNames::PageTransitionEvent; | 59 return EventNames::PageTransitionEvent; |
| 63 } | 60 } |
| 64 | 61 |
| 65 void PageTransitionEvent::trace(Visitor* visitor) | 62 void PageTransitionEvent::trace(Visitor* visitor) |
| 66 { | 63 { |
| 67 Event::trace(visitor); | 64 Event::trace(visitor); |
| 68 } | 65 } |
| 69 | 66 |
| 70 } // namespace blink | 67 } // namespace blink |
| OLD | NEW |