Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(815)

Side by Side Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp

Issue 2760363002: [instrumentation] Generalize instrumentation to be used beyond the core layer (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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/InstrumentingAgents.h" 38 #include "core/InspectorInstrumentationAgents.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"
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698