OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 class Value; | 63 class Value; |
64 } | 64 } |
65 | 65 |
66 class InspectorOverlay final | 66 class InspectorOverlay final |
67 : public GarbageCollectedFinalized<InspectorOverlay> | 67 : public GarbageCollectedFinalized<InspectorOverlay> |
68 , public InspectorDOMAgent::Client | 68 , public InspectorDOMAgent::Client |
69 , public InspectorProfilerAgent::Client | 69 , public InspectorProfilerAgent::Client |
70 , public InspectorOverlayHost::Listener { | 70 , public InspectorOverlayHost::Listener { |
71 USING_GARBAGE_COLLECTED_MIXIN(InspectorOverlay); | 71 USING_GARBAGE_COLLECTED_MIXIN(InspectorOverlay); |
72 public: | 72 public: |
73 static RawPtr<InspectorOverlay> create(WebViewImpl* webViewImpl) | 73 static InspectorOverlay* create(WebViewImpl* webViewImpl) |
74 { | 74 { |
75 return new InspectorOverlay(webViewImpl); | 75 return new InspectorOverlay(webViewImpl); |
76 } | 76 } |
77 | 77 |
78 ~InspectorOverlay() override; | 78 ~InspectorOverlay() override; |
79 DECLARE_TRACE(); | 79 DECLARE_TRACE(); |
80 | 80 |
81 void init(InspectorCSSAgent*, InspectorDebuggerAgent*, InspectorDOMAgent*); | 81 void init(InspectorCSSAgent*, InspectorDebuggerAgent*, InspectorDOMAgent*); |
82 | 82 |
83 void clear(); | 83 void clear(); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 OwnPtr<PageOverlay> m_pageOverlay; | 167 OwnPtr<PageOverlay> m_pageOverlay; |
168 Member<Node> m_hoveredNodeForInspectMode; | 168 Member<Node> m_hoveredNodeForInspectMode; |
169 InspectorDOMAgent::SearchMode m_inspectMode; | 169 InspectorDOMAgent::SearchMode m_inspectMode; |
170 OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig; | 170 OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig; |
171 }; | 171 }; |
172 | 172 |
173 } // namespace blink | 173 } // namespace blink |
174 | 174 |
175 | 175 |
176 #endif // InspectorOverlay_h | 176 #endif // InspectorOverlay_h |
OLD | NEW |