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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 17 matching lines...) Expand all
28 #define TransitionEvent_h 28 #define TransitionEvent_h
29 29
30 #include "core/events/Event.h" 30 #include "core/events/Event.h"
31 #include "core/events/TransitionEventInit.h" 31 #include "core/events/TransitionEventInit.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class TransitionEvent final : public Event { 35 class TransitionEvent final : public Event {
36 DEFINE_WRAPPERTYPEINFO(); 36 DEFINE_WRAPPERTYPEINFO();
37 public: 37 public:
38 static PassRefPtrWillBeRawPtr<TransitionEvent> create() 38 static RawPtr<TransitionEvent> create()
39 { 39 {
40 return adoptRefWillBeNoop(new TransitionEvent); 40 return adoptRefWillBeNoop(new TransitionEvent);
41 } 41 }
42 static PassRefPtrWillBeRawPtr<TransitionEvent> create(const AtomicString& ty pe, const String& propertyName, double elapsedTime, const String& pseudoElement) 42 static RawPtr<TransitionEvent> create(const AtomicString& type, const String & propertyName, double elapsedTime, const String& pseudoElement)
43 { 43 {
44 return adoptRefWillBeNoop(new TransitionEvent(type, propertyName, elapse dTime, pseudoElement)); 44 return new TransitionEvent(type, propertyName, elapsedTime, pseudoElemen t);
45 } 45 }
46 static PassRefPtrWillBeRawPtr<TransitionEvent> create(const AtomicString& ty pe, const TransitionEventInit& initializer) 46 static RawPtr<TransitionEvent> create(const AtomicString& type, const Transi tionEventInit& initializer)
47 { 47 {
48 return adoptRefWillBeNoop(new TransitionEvent(type, initializer)); 48 return new TransitionEvent(type, initializer);
49 } 49 }
50 50
51 ~TransitionEvent() override; 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 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

Powered by Google App Engine
This is Rietveld 408576698