OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. 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 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 17 matching lines...) Expand all Loading... |
28 */ | 28 */ |
29 | 29 |
30 #ifndef InspectorDOMAgent_h | 30 #ifndef InspectorDOMAgent_h |
31 #define InspectorDOMAgent_h | 31 #define InspectorDOMAgent_h |
32 | 32 |
33 #include "core/CoreExport.h" | 33 #include "core/CoreExport.h" |
34 #include "core/events/EventListenerMap.h" | 34 #include "core/events/EventListenerMap.h" |
35 #include "core/inspector/InspectorBaseAgent.h" | 35 #include "core/inspector/InspectorBaseAgent.h" |
36 #include "core/inspector/InspectorHighlight.h" | 36 #include "core/inspector/InspectorHighlight.h" |
37 #include "core/style/ComputedStyleConstants.h" | 37 #include "core/style/ComputedStyleConstants.h" |
38 #include "platform/JSONValues.h" | |
39 #include "platform/geometry/FloatQuad.h" | 38 #include "platform/geometry/FloatQuad.h" |
| 39 #include "platform/inspector_protocol/Values.h" |
40 #include "platform/v8_inspector/public/V8RuntimeAgent.h" | 40 #include "platform/v8_inspector/public/V8RuntimeAgent.h" |
41 | 41 |
42 #include "wtf/HashMap.h" | 42 #include "wtf/HashMap.h" |
43 #include "wtf/HashSet.h" | 43 #include "wtf/HashSet.h" |
44 #include "wtf/OwnPtr.h" | 44 #include "wtf/OwnPtr.h" |
45 #include "wtf/PassOwnPtr.h" | 45 #include "wtf/PassOwnPtr.h" |
46 #include "wtf/RefPtr.h" | 46 #include "wtf/RefPtr.h" |
47 #include "wtf/Vector.h" | 47 #include "wtf/Vector.h" |
48 #include "wtf/text/AtomicString.h" | 48 #include "wtf/text/AtomicString.h" |
49 | 49 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 void copyTo(ErrorString*, int nodeId, int targetNodeId, const Maybe<int>& in
sertBeforeNodeId, int* outNodeId) override; | 146 void copyTo(ErrorString*, int nodeId, int targetNodeId, const Maybe<int>& in
sertBeforeNodeId, int* outNodeId) override; |
147 void moveTo(ErrorString*, int nodeId, int targetNodeId, const Maybe<int>& in
sertBeforeNodeId, int* outNodeId) override; | 147 void moveTo(ErrorString*, int nodeId, int targetNodeId, const Maybe<int>& in
sertBeforeNodeId, int* outNodeId) override; |
148 void undo(ErrorString*) override; | 148 void undo(ErrorString*) override; |
149 void redo(ErrorString*) override; | 149 void redo(ErrorString*) override; |
150 void markUndoableState(ErrorString*) override; | 150 void markUndoableState(ErrorString*) override; |
151 void focus(ErrorString*, int nodeId) override; | 151 void focus(ErrorString*, int nodeId) override; |
152 void setFileInputFiles(ErrorString*, int nodeId, PassOwnPtr<protocol::Array<
String>> files) override; | 152 void setFileInputFiles(ErrorString*, int nodeId, PassOwnPtr<protocol::Array<
String>> files) override; |
153 void getBoxModel(ErrorString*, int nodeId, OwnPtr<protocol::DOM::BoxModel>*)
override; | 153 void getBoxModel(ErrorString*, int nodeId, OwnPtr<protocol::DOM::BoxModel>*)
override; |
154 void getNodeForLocation(ErrorString*, int x, int y, int* outNodeId) override
; | 154 void getNodeForLocation(ErrorString*, int x, int y, int* outNodeId) override
; |
155 void getRelayoutBoundary(ErrorString*, int nodeId, int* outNodeId) override; | 155 void getRelayoutBoundary(ErrorString*, int nodeId, int* outNodeId) override; |
156 void getHighlightObjectForTest(ErrorString*, int nodeId, RefPtr<JSONObject>*
highlight) override; | 156 void getHighlightObjectForTest(ErrorString*, int nodeId, RefPtr<protocol::Di
ctionaryValue>* highlight) override; |
157 | 157 |
158 bool enabled() const; | 158 bool enabled() const; |
159 void releaseDanglingNodes(); | 159 void releaseDanglingNodes(); |
160 | 160 |
161 // Methods called from the InspectorInstrumentation. | 161 // Methods called from the InspectorInstrumentation. |
162 void domContentLoadedEventFired(LocalFrame*); | 162 void domContentLoadedEventFired(LocalFrame*); |
163 void didCommitLoad(LocalFrame*, DocumentLoader*); | 163 void didCommitLoad(LocalFrame*, DocumentLoader*); |
164 void didInsertDOMNode(Node*); | 164 void didInsertDOMNode(Node*); |
165 void willRemoveDOMNode(Node*); | 165 void willRemoveDOMNode(Node*); |
166 void willModifyDOMAttr(Element*, const AtomicString& oldValue, const AtomicS
tring& newValue); | 166 void willModifyDOMAttr(Element*, const AtomicString& oldValue, const AtomicS
tring& newValue); |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 OwnPtrWillBeMember<InspectorHistory> m_history; | 263 OwnPtrWillBeMember<InspectorHistory> m_history; |
264 OwnPtrWillBeMember<DOMEditor> m_domEditor; | 264 OwnPtrWillBeMember<DOMEditor> m_domEditor; |
265 bool m_suppressAttributeModifiedEvent; | 265 bool m_suppressAttributeModifiedEvent; |
266 int m_backendNodeIdToInspect; | 266 int m_backendNodeIdToInspect; |
267 }; | 267 }; |
268 | 268 |
269 | 269 |
270 } // namespace blink | 270 } // namespace blink |
271 | 271 |
272 #endif // !defined(InspectorDOMAgent_h) | 272 #endif // !defined(InspectorDOMAgent_h) |
OLD | NEW |