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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 Node* assertEditableChildNode(ErrorString*, Element* parentElement, int node
Id); | 234 Node* assertEditableChildNode(ErrorString*, Element* parentElement, int node
Id); |
235 Element* assertEditableElement(ErrorString*, int nodeId); | 235 Element* assertEditableElement(ErrorString*, int nodeId); |
236 | 236 |
237 void inspect(Node*); | 237 void inspect(Node*); |
238 | 238 |
239 int pushNodePathToFrontend(Node*); | 239 int pushNodePathToFrontend(Node*); |
240 void pushChildNodesToFrontend(int nodeId, int depth = 1); | 240 void pushChildNodesToFrontend(int nodeId, int depth = 1); |
241 | 241 |
242 void invalidateFrameOwnerElement(LocalFrame*); | 242 void invalidateFrameOwnerElement(LocalFrame*); |
243 | 243 |
244 bool hasBreakpoint(Node*, int type); | |
245 void updateSubtreeBreakpoints(Node* root, uint32_t rootMask, bool value); | |
246 void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion
, PassRefPtr<JSONObject> description); | |
247 | |
248 PassRefPtr<TypeBuilder::DOM::Node> buildObjectForNode(Node*, int depth, Node
ToIdMap*); | 244 PassRefPtr<TypeBuilder::DOM::Node> buildObjectForNode(Node*, int depth, Node
ToIdMap*); |
249 PassRefPtr<TypeBuilder::Array<String> > buildArrayForElementAttributes(Eleme
nt*); | 245 PassRefPtr<TypeBuilder::Array<String> > buildArrayForElementAttributes(Eleme
nt*); |
250 PassRefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > buildArrayForContain
erChildren(Node* container, int depth, NodeToIdMap* nodesMap); | 246 PassRefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > buildArrayForContain
erChildren(Node* container, int depth, NodeToIdMap* nodesMap); |
251 PassRefPtr<TypeBuilder::DOM::EventListener> buildObjectForEventListener(cons
t RegisteredEventListener&, const AtomicString& eventType, Node*, const String*
objectGroupId); | 247 PassRefPtr<TypeBuilder::DOM::EventListener> buildObjectForEventListener(cons
t RegisteredEventListener&, const AtomicString& eventType, Node*, const String*
objectGroupId); |
252 PassRefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > buildArrayForPseudoE
lements(Element*, NodeToIdMap* nodesMap); | 248 PassRefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > buildArrayForPseudoE
lements(Element*, NodeToIdMap* nodesMap); |
253 | 249 |
254 Node* nodeForPath(const String& path); | 250 Node* nodeForPath(const String& path); |
255 | 251 |
256 void discardFrontendBindings(); | 252 void discardFrontendBindings(); |
257 | 253 |
(...skipping 23 matching lines...) Expand all Loading... |
281 OwnPtrWillBeMember<InspectorHistory> m_history; | 277 OwnPtrWillBeMember<InspectorHistory> m_history; |
282 OwnPtrWillBeMember<DOMEditor> m_domEditor; | 278 OwnPtrWillBeMember<DOMEditor> m_domEditor; |
283 bool m_suppressAttributeModifiedEvent; | 279 bool m_suppressAttributeModifiedEvent; |
284 RawPtrWillBeMember<Listener> m_listener; | 280 RawPtrWillBeMember<Listener> m_listener; |
285 }; | 281 }; |
286 | 282 |
287 | 283 |
288 } // namespace blink | 284 } // namespace blink |
289 | 285 |
290 #endif // !defined(InspectorDOMAgent_h) | 286 #endif // !defined(InspectorDOMAgent_h) |
OLD | NEW |