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 30 matching lines...) Expand all Loading... |
41 } | 41 } |
42 static PassRefPtrWillBeRawPtr<TransitionEvent> create(const AtomicString& ty
pe, const String& propertyName, double elapsedTime, const String& pseudoElement) | 42 static PassRefPtrWillBeRawPtr<TransitionEvent> create(const AtomicString& ty
pe, const String& propertyName, double elapsedTime, const String& pseudoElement) |
43 { | 43 { |
44 return adoptRefWillBeNoop(new TransitionEvent(type, propertyName, elapse
dTime, pseudoElement)); | 44 return adoptRefWillBeNoop(new TransitionEvent(type, propertyName, elapse
dTime, pseudoElement)); |
45 } | 45 } |
46 static PassRefPtrWillBeRawPtr<TransitionEvent> create(const AtomicString& ty
pe, const TransitionEventInit& initializer) | 46 static PassRefPtrWillBeRawPtr<TransitionEvent> create(const AtomicString& ty
pe, const TransitionEventInit& initializer) |
47 { | 47 { |
48 return adoptRefWillBeNoop(new TransitionEvent(type, initializer)); | 48 return adoptRefWillBeNoop(new TransitionEvent(type, initializer)); |
49 } | 49 } |
50 | 50 |
51 virtual ~TransitionEvent(); | 51 ~TransitionEvent() override; |
52 | 52 |
53 const String& propertyName() const; | 53 const String& propertyName() const; |
54 double elapsedTime() const; | 54 double elapsedTime() const; |
55 const String& pseudoElement() const; | 55 const String& pseudoElement() const; |
56 | 56 |
57 virtual const AtomicString& interfaceName() const override; | 57 const AtomicString& interfaceName() const override; |
58 | 58 |
59 DECLARE_VIRTUAL_TRACE(); | 59 DECLARE_VIRTUAL_TRACE(); |
60 | 60 |
61 private: | 61 private: |
62 TransitionEvent(); | 62 TransitionEvent(); |
63 TransitionEvent(const AtomicString& type, const String& propertyName, double
elapsedTime, const String& pseudoElement); | 63 TransitionEvent(const AtomicString& type, const String& propertyName, double
elapsedTime, const String& pseudoElement); |
64 TransitionEvent(const AtomicString& type, const TransitionEventInit& initial
izer); | 64 TransitionEvent(const AtomicString& type, const TransitionEventInit& initial
izer); |
65 | 65 |
66 String m_propertyName; | 66 String m_propertyName; |
67 double m_elapsedTime; | 67 double m_elapsedTime; |
68 String m_pseudoElement; | 68 String m_pseudoElement; |
69 }; | 69 }; |
70 | 70 |
71 } // namespace blink | 71 } // namespace blink |
72 | 72 |
73 #endif // TransitionEvent_h | 73 #endif // TransitionEvent_h |
OLD | NEW |