| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 namespace blink { | 30 namespace blink { |
| 31 | 31 |
| 32 TransitionEventInit::TransitionEventInit() | 32 TransitionEventInit::TransitionEventInit() |
| 33 : elapsedTime(0) | 33 : elapsedTime(0) |
| 34 { | 34 { |
| 35 } | 35 } |
| 36 | 36 |
| 37 TransitionEvent::TransitionEvent() | 37 TransitionEvent::TransitionEvent() |
| 38 : m_elapsedTime(0) | 38 : m_elapsedTime(0) |
| 39 { | 39 { |
| 40 ScriptWrappable::init(this); | |
| 41 } | 40 } |
| 42 | 41 |
| 43 TransitionEvent::TransitionEvent(const AtomicString& type, const String& propert
yName, double elapsedTime, const String& pseudoElement) | 42 TransitionEvent::TransitionEvent(const AtomicString& type, const String& propert
yName, double elapsedTime, const String& pseudoElement) |
| 44 : Event(type, true, true) | 43 : Event(type, true, true) |
| 45 , m_propertyName(propertyName) | 44 , m_propertyName(propertyName) |
| 46 , m_elapsedTime(elapsedTime) | 45 , m_elapsedTime(elapsedTime) |
| 47 , m_pseudoElement(pseudoElement) | 46 , m_pseudoElement(pseudoElement) |
| 48 { | 47 { |
| 49 ScriptWrappable::init(this); | |
| 50 } | 48 } |
| 51 | 49 |
| 52 TransitionEvent::TransitionEvent(const AtomicString& type, const TransitionEvent
Init& initializer) | 50 TransitionEvent::TransitionEvent(const AtomicString& type, const TransitionEvent
Init& initializer) |
| 53 : Event(type, initializer) | 51 : Event(type, initializer) |
| 54 , m_propertyName(initializer.propertyName) | 52 , m_propertyName(initializer.propertyName) |
| 55 , m_elapsedTime(initializer.elapsedTime) | 53 , m_elapsedTime(initializer.elapsedTime) |
| 56 , m_pseudoElement(initializer.pseudoElement) | 54 , m_pseudoElement(initializer.pseudoElement) |
| 57 { | 55 { |
| 58 ScriptWrappable::init(this); | |
| 59 } | 56 } |
| 60 | 57 |
| 61 TransitionEvent::~TransitionEvent() | 58 TransitionEvent::~TransitionEvent() |
| 62 { | 59 { |
| 63 } | 60 } |
| 64 | 61 |
| 65 const String& TransitionEvent::propertyName() const | 62 const String& TransitionEvent::propertyName() const |
| 66 { | 63 { |
| 67 return m_propertyName; | 64 return m_propertyName; |
| 68 } | 65 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 81 { | 78 { |
| 82 return EventNames::TransitionEvent; | 79 return EventNames::TransitionEvent; |
| 83 } | 80 } |
| 84 | 81 |
| 85 void TransitionEvent::trace(Visitor* visitor) | 82 void TransitionEvent::trace(Visitor* visitor) |
| 86 { | 83 { |
| 87 Event::trace(visitor); | 84 Event::trace(visitor); |
| 88 } | 85 } |
| 89 | 86 |
| 90 } // namespace blink | 87 } // namespace blink |
| OLD | NEW |