| 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 20 matching lines...) Expand all Loading... |
| 31 namespace WebCore { | 31 namespace WebCore { |
| 32 | 32 |
| 33 PageTransitionEventInit::PageTransitionEventInit() | 33 PageTransitionEventInit::PageTransitionEventInit() |
| 34 : persisted(false) | 34 : persisted(false) |
| 35 { | 35 { |
| 36 } | 36 } |
| 37 | 37 |
| 38 PageTransitionEvent::PageTransitionEvent() | 38 PageTransitionEvent::PageTransitionEvent() |
| 39 : m_persisted(false) | 39 : m_persisted(false) |
| 40 { | 40 { |
| 41 ScriptWrappable::init(this); |
| 41 } | 42 } |
| 42 | 43 |
| 43 PageTransitionEvent::PageTransitionEvent(const AtomicString& type, bool persiste
d) | 44 PageTransitionEvent::PageTransitionEvent(const AtomicString& type, bool persiste
d) |
| 44 : Event(type, true, true) | 45 : Event(type, true, true) |
| 45 , m_persisted(persisted) | 46 , m_persisted(persisted) |
| 46 { | 47 { |
| 48 ScriptWrappable::init(this); |
| 47 } | 49 } |
| 48 | 50 |
| 49 PageTransitionEvent::PageTransitionEvent(const AtomicString& type, const PageTra
nsitionEventInit& initializer) | 51 PageTransitionEvent::PageTransitionEvent(const AtomicString& type, const PageTra
nsitionEventInit& initializer) |
| 50 : Event(type, initializer) | 52 : Event(type, initializer) |
| 51 , m_persisted(initializer.persisted) | 53 , m_persisted(initializer.persisted) |
| 52 { | 54 { |
| 55 ScriptWrappable::init(this); |
| 53 } | 56 } |
| 54 | 57 |
| 55 PageTransitionEvent::~PageTransitionEvent() | 58 PageTransitionEvent::~PageTransitionEvent() |
| 56 { | 59 { |
| 57 } | 60 } |
| 58 | 61 |
| 59 const AtomicString& PageTransitionEvent::interfaceName() const | 62 const AtomicString& PageTransitionEvent::interfaceName() const |
| 60 { | 63 { |
| 61 return eventNames().interfaceForPageTransitionEvent; | 64 return eventNames().interfaceForPageTransitionEvent; |
| 62 } | 65 } |
| 63 | 66 |
| 64 } // namespace WebCore | 67 } // namespace WebCore |
| OLD | NEW |