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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorOverlayHost.h

Issue 1923993002: Revert of Remove unnecessary uses of GarbageCollectedFinalized<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 13 matching lines...) Expand all
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #ifndef InspectorOverlayHost_h 29 #ifndef InspectorOverlayHost_h
30 #define InspectorOverlayHost_h 30 #define InspectorOverlayHost_h
31 31
32 #include "bindings/core/v8/ScriptWrappable.h" 32 #include "bindings/core/v8/ScriptWrappable.h"
33 #include "core/CoreExport.h" 33 #include "core/CoreExport.h"
34 #include "wtf/PassRefPtr.h"
34 35
35 namespace blink { 36 namespace blink {
36 37
37 class CORE_EXPORT InspectorOverlayHost final : public GarbageCollected<Inspector OverlayHost>, public ScriptWrappable { 38 class CORE_EXPORT InspectorOverlayHost final : public GarbageCollectedFinalized< InspectorOverlayHost>, public ScriptWrappable {
38 DEFINE_WRAPPERTYPEINFO(); 39 DEFINE_WRAPPERTYPEINFO();
39 public: 40 public:
40 static InspectorOverlayHost* create() 41 static InspectorOverlayHost* create()
41 { 42 {
42 return new InspectorOverlayHost(); 43 return new InspectorOverlayHost();
43 } 44 }
45 ~InspectorOverlayHost();
44 DECLARE_TRACE(); 46 DECLARE_TRACE();
45 47
46 void resume(); 48 void resume();
47 void stepOver(); 49 void stepOver();
48 void startPropertyChange(const String&); 50 void startPropertyChange(const String&);
49 void changeProperty(float delta); 51 void changeProperty(float delta);
50 void endPropertyChange(); 52 void endPropertyChange();
51 void clearSelection(bool commitChanges); 53 void clearSelection(bool commitChanges);
52 void nextSelector(); 54 void nextSelector();
53 void previousSelector(); 55 void previousSelector();
(...skipping 15 matching lines...) Expand all
69 private: 71 private:
70 InspectorOverlayHost(); 72 InspectorOverlayHost();
71 73
72 Member<Listener> m_listener; 74 Member<Listener> m_listener;
73 75
74 }; 76 };
75 77
76 } // namespace blink 78 } // namespace blink
77 79
78 #endif // InspectorOverlayHost_h 80 #endif // InspectorOverlayHost_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698