| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "core/inspector/InspectorInstrumentation.h" | 32 #include "core/inspector/InspectorInstrumentation.h" |
| 33 | 33 |
| 34 #include "bindings/v8/DOMWrapperWorld.h" | 34 #include "bindings/v8/DOMWrapperWorld.h" |
| 35 #include "bindings/v8/ScriptController.h" | |
| 36 #include "core/css/CSSRule.h" | |
| 37 #include "core/css/CSSStyleRule.h" | |
| 38 #include "core/css/StyleRule.h" | |
| 39 #include "core/css/resolver/StyleResolver.h" | |
| 40 #include "core/dom/DeviceOrientationData.h" | |
| 41 #include "core/dom/Event.h" | 35 #include "core/dom/Event.h" |
| 42 #include "core/dom/EventContext.h" | 36 #include "core/dom/EventContext.h" |
| 43 #include "core/inspector/ConsoleAPITypes.h" | 37 #include "core/inspector/ConsoleAPITypes.h" |
| 44 #include "core/inspector/InspectorAgent.h" | 38 #include "core/inspector/InspectorAgent.h" |
| 45 #include "core/inspector/InspectorApplicationCacheAgent.h" | 39 #include "core/inspector/InspectorApplicationCacheAgent.h" |
| 46 #include "core/inspector/InspectorCSSAgent.h" | 40 #include "core/inspector/InspectorCSSAgent.h" |
| 47 #include "core/inspector/InspectorCanvasAgent.h" | 41 #include "core/inspector/InspectorCanvasAgent.h" |
| 48 #include "core/inspector/InspectorConsoleAgent.h" | 42 #include "core/inspector/InspectorConsoleAgent.h" |
| 49 #include "core/inspector/InspectorController.h" | |
| 50 #include "core/inspector/InspectorDOMAgent.h" | 43 #include "core/inspector/InspectorDOMAgent.h" |
| 51 #include "core/inspector/InspectorDOMDebuggerAgent.h" | 44 #include "core/inspector/InspectorDOMDebuggerAgent.h" |
| 52 #include "core/inspector/InspectorDOMStorageAgent.h" | 45 #include "core/inspector/InspectorDOMStorageAgent.h" |
| 53 #include "core/inspector/InspectorDatabaseAgent.h" | 46 #include "core/inspector/InspectorDatabaseAgent.h" |
| 54 #include "core/inspector/InspectorDebuggerAgent.h" | 47 #include "core/inspector/InspectorDebuggerAgent.h" |
| 55 #include "core/inspector/InspectorHeapProfilerAgent.h" | |
| 56 #include "core/inspector/InspectorLayerTreeAgent.h" | 48 #include "core/inspector/InspectorLayerTreeAgent.h" |
| 57 #include "core/inspector/InspectorPageAgent.h" | 49 #include "core/inspector/InspectorPageAgent.h" |
| 58 #include "core/inspector/InspectorProfilerAgent.h" | 50 #include "core/inspector/InspectorProfilerAgent.h" |
| 59 #include "core/inspector/InspectorResourceAgent.h" | 51 #include "core/inspector/InspectorResourceAgent.h" |
| 60 #include "core/inspector/InspectorTimelineAgent.h" | 52 #include "core/inspector/InspectorTimelineAgent.h" |
| 61 #include "core/inspector/InspectorWorkerAgent.h" | 53 #include "core/inspector/InspectorWorkerAgent.h" |
| 62 #include "core/inspector/InstrumentingAgents.h" | 54 #include "core/inspector/InstrumentingAgents.h" |
| 63 #include "core/inspector/PageDebuggerAgent.h" | 55 #include "core/inspector/PageDebuggerAgent.h" |
| 64 #include "core/inspector/PageRuntimeAgent.h" | 56 #include "core/inspector/PageRuntimeAgent.h" |
| 65 #include "core/inspector/ScriptArguments.h" | 57 #include "core/inspector/ScriptArguments.h" |
| 66 #include "core/inspector/ScriptCallStack.h" | 58 #include "core/inspector/ScriptCallStack.h" |
| 67 #include "core/inspector/ScriptProfile.h" | 59 #include "core/inspector/ScriptProfile.h" |
| 68 #include "core/inspector/WorkerInspectorController.h" | 60 #include "core/inspector/WorkerInspectorController.h" |
| 69 #include "core/inspector/WorkerRuntimeAgent.h" | 61 #include "core/inspector/WorkerRuntimeAgent.h" |
| 70 #include "core/loader/DocumentLoader.h" | 62 #include "core/loader/DocumentLoader.h" |
| 71 #include "core/page/ConsoleTypes.h" | 63 #include "core/page/ConsoleTypes.h" |
| 72 #include "core/page/DOMWindow.h" | |
| 73 #include "core/rendering/RenderObject.h" | 64 #include "core/rendering/RenderObject.h" |
| 74 #include "core/workers/WorkerContext.h" | 65 #include "core/workers/WorkerContext.h" |
| 75 #include "core/workers/WorkerThread.h" | 66 #include "core/workers/WorkerThread.h" |
| 76 #include "core/xml/XMLHttpRequest.h" | |
| 77 #include "modules/webdatabase/Database.h" | 67 #include "modules/webdatabase/Database.h" |
| 78 #include <wtf/StdLibExtras.h> | 68 #include <wtf/StdLibExtras.h> |
| 79 #include <wtf/text/CString.h> | 69 #include <wtf/text/CString.h> |
| 80 | 70 |
| 81 namespace WebCore { | 71 namespace WebCore { |
| 82 | 72 |
| 83 static const char* const requestAnimationFrameEventName = "requestAnimationFrame
"; | 73 static const char* const requestAnimationFrameEventName = "requestAnimationFrame
"; |
| 84 static const char* const cancelAnimationFrameEventName = "cancelAnimationFrame"; | 74 static const char* const cancelAnimationFrameEventName = "cancelAnimationFrame"; |
| 85 static const char* const animationFrameFiredEventName = "animationFrameFired"; | 75 static const char* const animationFrameFiredEventName = "animationFrameFired"; |
| 86 static const char* const setTimerEventName = "setTimer"; | 76 static const char* const setTimerEventName = "setTimer"; |
| (...skipping 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1324 }; | 1314 }; |
| 1325 | 1315 |
| 1326 namespace InstrumentationEventArguments { | 1316 namespace InstrumentationEventArguments { |
| 1327 const char LayerId[] = "layerId"; | 1317 const char LayerId[] = "layerId"; |
| 1328 const char PageId[] = "pageId"; | 1318 const char PageId[] = "pageId"; |
| 1329 const char NodeId[] = "nodeId"; | 1319 const char NodeId[] = "nodeId"; |
| 1330 }; | 1320 }; |
| 1331 | 1321 |
| 1332 } // namespace WebCore | 1322 } // namespace WebCore |
| 1333 | 1323 |
| OLD | NEW |