| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010-2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2010-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 17 matching lines...) Expand all Loading... |
| 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 "web/WebDevToolsAgentImpl.h" | 31 #include "web/WebDevToolsAgentImpl.h" |
| 32 | 32 |
| 33 #include <v8-inspector.h> | 33 #include <v8-inspector.h> |
| 34 #include <memory> | 34 #include <memory> |
| 35 | 35 |
| 36 #include "bindings/core/v8/ScriptController.h" | 36 #include "bindings/core/v8/ScriptController.h" |
| 37 #include "bindings/core/v8/V8Binding.h" | 37 #include "bindings/core/v8/V8Binding.h" |
| 38 #include "core/InspectorInstrumentationAgents.h" | 38 #include "core/CoreProbeSink.h" |
| 39 #include "core/frame/FrameHost.h" | 39 #include "core/frame/FrameHost.h" |
| 40 #include "core/frame/FrameView.h" | 40 #include "core/frame/FrameView.h" |
| 41 #include "core/frame/LocalFrame.h" | 41 #include "core/frame/LocalFrame.h" |
| 42 #include "core/frame/Settings.h" | 42 #include "core/frame/Settings.h" |
| 43 #include "core/inspector/InspectedFrames.h" | 43 #include "core/inspector/InspectedFrames.h" |
| 44 #include "core/inspector/InspectorAnimationAgent.h" | 44 #include "core/inspector/InspectorAnimationAgent.h" |
| 45 #include "core/inspector/InspectorApplicationCacheAgent.h" | 45 #include "core/inspector/InspectorApplicationCacheAgent.h" |
| 46 #include "core/inspector/InspectorCSSAgent.h" | 46 #include "core/inspector/InspectorCSSAgent.h" |
| 47 #include "core/inspector/InspectorDOMAgent.h" | 47 #include "core/inspector/InspectorDOMAgent.h" |
| 48 #include "core/inspector/InspectorDOMDebuggerAgent.h" | 48 #include "core/inspector/InspectorDOMDebuggerAgent.h" |
| 49 #include "core/inspector/InspectorInputAgent.h" | 49 #include "core/inspector/InspectorInputAgent.h" |
| 50 #include "core/inspector/InspectorInstrumentation.h" | |
| 51 #include "core/inspector/InspectorLayerTreeAgent.h" | 50 #include "core/inspector/InspectorLayerTreeAgent.h" |
| 52 #include "core/inspector/InspectorLogAgent.h" | 51 #include "core/inspector/InspectorLogAgent.h" |
| 53 #include "core/inspector/InspectorMemoryAgent.h" | 52 #include "core/inspector/InspectorMemoryAgent.h" |
| 54 #include "core/inspector/InspectorNetworkAgent.h" | 53 #include "core/inspector/InspectorNetworkAgent.h" |
| 55 #include "core/inspector/InspectorPageAgent.h" | 54 #include "core/inspector/InspectorPageAgent.h" |
| 56 #include "core/inspector/InspectorResourceContainer.h" | 55 #include "core/inspector/InspectorResourceContainer.h" |
| 57 #include "core/inspector/InspectorResourceContentLoader.h" | 56 #include "core/inspector/InspectorResourceContentLoader.h" |
| 58 #include "core/inspector/InspectorTaskRunner.h" | 57 #include "core/inspector/InspectorTaskRunner.h" |
| 59 #include "core/inspector/InspectorTracingAgent.h" | 58 #include "core/inspector/InspectorTracingAgent.h" |
| 60 #include "core/inspector/InspectorWorkerAgent.h" | 59 #include "core/inspector/InspectorWorkerAgent.h" |
| 61 #include "core/inspector/MainThreadDebugger.h" | 60 #include "core/inspector/MainThreadDebugger.h" |
| 62 #include "core/layout/api/LayoutViewItem.h" | 61 #include "core/layout/api/LayoutViewItem.h" |
| 63 #include "core/page/FocusController.h" | 62 #include "core/page/FocusController.h" |
| 64 #include "core/page/Page.h" | 63 #include "core/page/Page.h" |
| 64 #include "core/probe/CoreProbes.h" |
| 65 #include "modules/accessibility/InspectorAccessibilityAgent.h" | 65 #include "modules/accessibility/InspectorAccessibilityAgent.h" |
| 66 #include "modules/cachestorage/InspectorCacheStorageAgent.h" | 66 #include "modules/cachestorage/InspectorCacheStorageAgent.h" |
| 67 #include "modules/device_orientation/DeviceOrientationInspectorAgent.h" | 67 #include "modules/device_orientation/DeviceOrientationInspectorAgent.h" |
| 68 #include "modules/indexeddb/InspectorIndexedDBAgent.h" | 68 #include "modules/indexeddb/InspectorIndexedDBAgent.h" |
| 69 #include "modules/storage/InspectorDOMStorageAgent.h" | 69 #include "modules/storage/InspectorDOMStorageAgent.h" |
| 70 #include "modules/webdatabase/InspectorDatabaseAgent.h" | 70 #include "modules/webdatabase/InspectorDatabaseAgent.h" |
| 71 #include "platform/CrossThreadFunctional.h" | 71 #include "platform/CrossThreadFunctional.h" |
| 72 #include "platform/RuntimeEnabledFeatures.h" | 72 #include "platform/RuntimeEnabledFeatures.h" |
| 73 #include "platform/graphics/GraphicsContext.h" | 73 #include "platform/graphics/GraphicsContext.h" |
| 74 #include "platform/graphics/paint/PaintController.h" | 74 #include "platform/graphics/paint/PaintController.h" |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 } | 652 } |
| 653 | 653 |
| 654 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) { | 654 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) { |
| 655 return method == "Debugger.pause" || method == "Debugger.setBreakpoint" || | 655 return method == "Debugger.pause" || method == "Debugger.setBreakpoint" || |
| 656 method == "Debugger.setBreakpointByUrl" || | 656 method == "Debugger.setBreakpointByUrl" || |
| 657 method == "Debugger.removeBreakpoint" || | 657 method == "Debugger.removeBreakpoint" || |
| 658 method == "Debugger.setBreakpointsActive"; | 658 method == "Debugger.setBreakpointsActive"; |
| 659 } | 659 } |
| 660 | 660 |
| 661 } // namespace blink | 661 } // namespace blink |
| OLD | NEW |