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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 | 214 |
215 Node* NodeForId(int node_id); | 215 Node* NodeForId(int node_id); |
216 int BoundNodeId(Node*); | 216 int BoundNodeId(Node*); |
217 void SetDOMListener(DOMListener*); | 217 void SetDOMListener(DOMListener*); |
218 int PushNodePathToFrontend(Node*); | 218 int PushNodePathToFrontend(Node*); |
219 protocol::Response PushDocumentUponHandlelessOperation(); | 219 protocol::Response PushDocumentUponHandlelessOperation(); |
220 protocol::Response NodeForRemoteObjectId(const String& remote_object_id, | 220 protocol::Response NodeForRemoteObjectId(const String& remote_object_id, |
221 Node*&); | 221 Node*&); |
222 | 222 |
223 static String DocumentURLString(Document*); | 223 static String DocumentURLString(Document*); |
| 224 static String DocumentBaseURLString(Document*); |
224 | 225 |
225 std::unique_ptr<v8_inspector::protocol::Runtime::API::RemoteObject> | 226 std::unique_ptr<v8_inspector::protocol::Runtime::API::RemoteObject> |
226 ResolveNode(Node*, const String& object_group); | 227 ResolveNode(Node*, const String& object_group); |
227 | 228 |
228 InspectorHistory* History() { return history_.Get(); } | 229 InspectorHistory* History() { return history_.Get(); } |
229 | 230 |
230 // We represent embedded doms as a part of the same hierarchy. Hence we treat | 231 // We represent embedded doms as a part of the same hierarchy. Hence we treat |
231 // children of frame owners differently. We also skip whitespace text nodes | 232 // children of frame owners differently. We also skip whitespace text nodes |
232 // conditionally. Following methods encapsulate these specifics. | 233 // conditionally. Following methods encapsulate these specifics. |
233 static Node* InnerFirstChild(Node*); | 234 static Node* InnerFirstChild(Node*); |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 SearchResults search_results_; | 316 SearchResults search_results_; |
316 Member<InspectorRevalidateDOMTask> revalidate_task_; | 317 Member<InspectorRevalidateDOMTask> revalidate_task_; |
317 Member<InspectorHistory> history_; | 318 Member<InspectorHistory> history_; |
318 Member<DOMEditor> dom_editor_; | 319 Member<DOMEditor> dom_editor_; |
319 bool suppress_attribute_modified_event_; | 320 bool suppress_attribute_modified_event_; |
320 }; | 321 }; |
321 | 322 |
322 } // namespace blink | 323 } // namespace blink |
323 | 324 |
324 #endif // !defined(InspectorDOMAgent_h) | 325 #endif // !defined(InspectorDOMAgent_h) |
OLD | NEW |