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

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

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/core/events/TouchEvent.h ('k') | Source/core/events/UIEvent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 30 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « Source/core/events/TouchEvent.h ('k') | Source/core/events/UIEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698