| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 class Element; | 53 class Element; |
| 54 class ExceptionState; | 54 class ExceptionState; |
| 55 class InspectorClient; | 55 class InspectorClient; |
| 56 class InspectorFrontend; | 56 class InspectorFrontend; |
| 57 class InspectorHistory; | 57 class InspectorHistory; |
| 58 class InspectorOverlay; | 58 class InspectorOverlay; |
| 59 class InspectorPageAgent; | 59 class InspectorPageAgent; |
| 60 class InspectorState; | 60 class InspectorState; |
| 61 class InstrumentingAgents; | 61 class InstrumentingAgents; |
| 62 class Node; | 62 class Node; |
| 63 class PlatformGestureEvent; |
| 63 class PlatformTouchEvent; | 64 class PlatformTouchEvent; |
| 64 class RevalidateStyleAttributeTask; | 65 class RevalidateStyleAttributeTask; |
| 65 class ShadowRoot; | 66 class ShadowRoot; |
| 66 | 67 |
| 67 struct HighlightConfig; | 68 struct HighlightConfig; |
| 68 | 69 |
| 69 typedef String ErrorString; | 70 typedef String ErrorString; |
| 70 typedef int BackendNodeId; | 71 typedef int BackendNodeId; |
| 71 | 72 |
| 72 | 73 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 int pushNodeToFrontend(ErrorString*, int documentNodeId, Node*); | 174 int pushNodeToFrontend(ErrorString*, int documentNodeId, Node*); |
| 174 Node* nodeForId(int nodeId); | 175 Node* nodeForId(int nodeId); |
| 175 int boundNodeId(Node*); | 176 int boundNodeId(Node*); |
| 176 void setDOMListener(DOMListener*); | 177 void setDOMListener(DOMListener*); |
| 177 BackendNodeId backendNodeIdForNode(Node*, const String& nodeGroup); | 178 BackendNodeId backendNodeIdForNode(Node*, const String& nodeGroup); |
| 178 | 179 |
| 179 static String documentURLString(Document*); | 180 static String documentURLString(Document*); |
| 180 | 181 |
| 181 PassRefPtr<TypeBuilder::Runtime::RemoteObject> resolveNode(Node*, const Stri
ng& objectGroup); | 182 PassRefPtr<TypeBuilder::Runtime::RemoteObject> resolveNode(Node*, const Stri
ng& objectGroup); |
| 182 bool handleMousePress(); | 183 bool handleMousePress(); |
| 184 bool handleGestureEvent(Frame*, const PlatformGestureEvent&); |
| 183 bool handleTouchEvent(Frame*, const PlatformTouchEvent&); | 185 bool handleTouchEvent(Frame*, const PlatformTouchEvent&); |
| 184 void handleMouseMove(Frame*, const PlatformMouseEvent&); | 186 void handleMouseMove(Frame*, const PlatformMouseEvent&); |
| 185 | 187 |
| 186 InspectorHistory* history() { return m_history.get(); } | 188 InspectorHistory* history() { return m_history.get(); } |
| 187 | 189 |
| 188 // We represent embedded doms as a part of the same hierarchy. Hence we trea
t children of frame owners differently. | 190 // We represent embedded doms as a part of the same hierarchy. Hence we trea
t children of frame owners differently. |
| 189 // We also skip whitespace text nodes conditionally. Following methods encap
sulate these specifics. | 191 // We also skip whitespace text nodes conditionally. Following methods encap
sulate these specifics. |
| 190 static Node* innerFirstChild(Node*); | 192 static Node* innerFirstChild(Node*); |
| 191 static Node* innerNextSibling(Node*); | 193 static Node* innerNextSibling(Node*); |
| 192 static Node* innerPreviousSibling(Node*); | 194 static Node* innerPreviousSibling(Node*); |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 OwnPtr<HighlightConfig> m_inspectModeHighlightConfig; | 265 OwnPtr<HighlightConfig> m_inspectModeHighlightConfig; |
| 264 OwnPtr<InspectorHistory> m_history; | 266 OwnPtr<InspectorHistory> m_history; |
| 265 OwnPtr<DOMEditor> m_domEditor; | 267 OwnPtr<DOMEditor> m_domEditor; |
| 266 bool m_suppressAttributeModifiedEvent; | 268 bool m_suppressAttributeModifiedEvent; |
| 267 }; | 269 }; |
| 268 | 270 |
| 269 | 271 |
| 270 } // namespace WebCore | 272 } // namespace WebCore |
| 271 | 273 |
| 272 #endif // !defined(InspectorDOMAgent_h) | 274 #endif // !defined(InspectorDOMAgent_h) |
| OLD | NEW |