| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 virtual void highlightFrame(ErrorString*, const String& frameId, const RefPt
r<JSONObject>* color, const RefPtr<JSONObject>* outlineColor); | 143 virtual void highlightFrame(ErrorString*, const String& frameId, const RefPt
r<JSONObject>* color, const RefPtr<JSONObject>* outlineColor); |
| 144 | 144 |
| 145 virtual void moveTo(ErrorString*, int nodeId, int targetNodeId, const int* a
nchorNodeId, int* newNodeId); | 145 virtual void moveTo(ErrorString*, int nodeId, int targetNodeId, const int* a
nchorNodeId, int* newNodeId); |
| 146 virtual void undo(ErrorString*); | 146 virtual void undo(ErrorString*); |
| 147 virtual void redo(ErrorString*); | 147 virtual void redo(ErrorString*); |
| 148 virtual void markUndoableState(ErrorString*); | 148 virtual void markUndoableState(ErrorString*); |
| 149 virtual void focus(ErrorString*, int nodeId); | 149 virtual void focus(ErrorString*, int nodeId); |
| 150 virtual void setFileInputFiles(ErrorString*, int nodeId, const RefPtr<JSONAr
ray>& files); | 150 virtual void setFileInputFiles(ErrorString*, int nodeId, const RefPtr<JSONAr
ray>& files); |
| 151 virtual void getBoxModel(ErrorString*, int nodeId, RefPtr<TypeBuilder::DOM::
BoxModel>&); | 151 virtual void getBoxModel(ErrorString*, int nodeId, RefPtr<TypeBuilder::DOM::
BoxModel>&); |
| 152 virtual void getNodeForLocation(ErrorString*, int x, int y, int* nodeId); | 152 virtual void getNodeForLocation(ErrorString*, int x, int y, int* nodeId); |
| 153 virtual void getRelayoutBoundary(ErrorString*, int nodeId, int* relayoutBoun
daryNodeId); |
| 153 | 154 |
| 154 static void getEventListeners(Node*, Vector<EventListenerInfo>& listenersArr
ay, bool includeAncestors); | 155 static void getEventListeners(Node*, Vector<EventListenerInfo>& listenersArr
ay, bool includeAncestors); |
| 155 | 156 |
| 156 // Methods called from the InspectorInstrumentation. | 157 // Methods called from the InspectorInstrumentation. |
| 157 void setDocument(Document*); | 158 void setDocument(Document*); |
| 158 void releaseDanglingNodes(); | 159 void releaseDanglingNodes(); |
| 159 | 160 |
| 160 void domContentLoadedEventFired(Frame*); | 161 void domContentLoadedEventFired(Frame*); |
| 161 void loadEventFired(Frame*); | 162 void loadEventFired(Frame*); |
| 162 void didCommitLoad(Frame*, DocumentLoader*); | 163 void didCommitLoad(Frame*, DocumentLoader*); |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 OwnPtr<HighlightConfig> m_inspectModeHighlightConfig; | 271 OwnPtr<HighlightConfig> m_inspectModeHighlightConfig; |
| 271 OwnPtr<InspectorHistory> m_history; | 272 OwnPtr<InspectorHistory> m_history; |
| 272 OwnPtr<DOMEditor> m_domEditor; | 273 OwnPtr<DOMEditor> m_domEditor; |
| 273 bool m_suppressAttributeModifiedEvent; | 274 bool m_suppressAttributeModifiedEvent; |
| 274 }; | 275 }; |
| 275 | 276 |
| 276 | 277 |
| 277 } // namespace WebCore | 278 } // namespace WebCore |
| 278 | 279 |
| 279 #endif // !defined(InspectorDOMAgent_h) | 280 #endif // !defined(InspectorDOMAgent_h) |
| OLD | NEW |