Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: Source/core/events/TransitionEvent.h

Issue 181153003: Make Event RefCountedGarbageCollected and implement trace() methods to the Event hierarcy (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 } 55 }
56 56
57 virtual ~TransitionEvent(); 57 virtual ~TransitionEvent();
58 58
59 const String& propertyName() const; 59 const String& propertyName() const;
60 double elapsedTime() const; 60 double elapsedTime() const;
61 const String& pseudoElement() const; 61 const String& pseudoElement() const;
62 62
63 virtual const AtomicString& interfaceName() const OVERRIDE; 63 virtual const AtomicString& interfaceName() const OVERRIDE;
64 64
65 virtual void trace(Visitor*) OVERRIDE;
66
65 private: 67 private:
66 TransitionEvent(); 68 TransitionEvent();
67 TransitionEvent(const AtomicString& type, const String& propertyName, double elapsedTime, const String& pseudoElement); 69 TransitionEvent(const AtomicString& type, const String& propertyName, double elapsedTime, const String& pseudoElement);
68 TransitionEvent(const AtomicString& type, const TransitionEventInit& initial izer); 70 TransitionEvent(const AtomicString& type, const TransitionEventInit& initial izer);
69 71
70 String m_propertyName; 72 String m_propertyName;
71 double m_elapsedTime; 73 double m_elapsedTime;
72 String m_pseudoElement; 74 String m_pseudoElement;
73 }; 75 };
74 76
75 } // namespace WebCore 77 } // namespace WebCore
76 78
77 #endif // TransitionEvent_h 79 #endif // TransitionEvent_h
78 80
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698