OLD | NEW |
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 Loading... |
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" | |
35 | 34 |
36 namespace blink { | 35 namespace blink { |
37 | 36 |
38 class CORE_EXPORT InspectorOverlayHost final : public GarbageCollectedFinalized<
InspectorOverlayHost>, public ScriptWrappable { | 37 class CORE_EXPORT InspectorOverlayHost final : public GarbageCollected<Inspector
OverlayHost>, public ScriptWrappable { |
39 DEFINE_WRAPPERTYPEINFO(); | 38 DEFINE_WRAPPERTYPEINFO(); |
40 public: | 39 public: |
41 static InspectorOverlayHost* create() | 40 static InspectorOverlayHost* create() |
42 { | 41 { |
43 return new InspectorOverlayHost(); | 42 return new InspectorOverlayHost(); |
44 } | 43 } |
45 ~InspectorOverlayHost(); | |
46 DECLARE_TRACE(); | 44 DECLARE_TRACE(); |
47 | 45 |
48 void resume(); | 46 void resume(); |
49 void stepOver(); | 47 void stepOver(); |
50 void startPropertyChange(const String&); | 48 void startPropertyChange(const String&); |
51 void changeProperty(float delta); | 49 void changeProperty(float delta); |
52 void endPropertyChange(); | 50 void endPropertyChange(); |
53 void clearSelection(bool commitChanges); | 51 void clearSelection(bool commitChanges); |
54 void nextSelector(); | 52 void nextSelector(); |
55 void previousSelector(); | 53 void previousSelector(); |
(...skipping 15 matching lines...) Expand all Loading... |
71 private: | 69 private: |
72 InspectorOverlayHost(); | 70 InspectorOverlayHost(); |
73 | 71 |
74 Member<Listener> m_listener; | 72 Member<Listener> m_listener; |
75 | 73 |
76 }; | 74 }; |
77 | 75 |
78 } // namespace blink | 76 } // namespace blink |
79 | 77 |
80 #endif // InspectorOverlayHost_h | 78 #endif // InspectorOverlayHost_h |
OLD | NEW |