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 20 matching lines...) Expand all Loading... |
31 #include "core/inspector/PageDebuggerAgent.h" | 31 #include "core/inspector/PageDebuggerAgent.h" |
32 | 32 |
33 #include "bindings/core/v8/DOMWrapperWorld.h" | 33 #include "bindings/core/v8/DOMWrapperWorld.h" |
34 #include "bindings/core/v8/ScriptController.h" | 34 #include "bindings/core/v8/ScriptController.h" |
35 #include "core/dom/Document.h" | 35 #include "core/dom/Document.h" |
36 #include "core/frame/FrameConsole.h" | 36 #include "core/frame/FrameConsole.h" |
37 #include "core/frame/LocalFrame.h" | 37 #include "core/frame/LocalFrame.h" |
38 #include "core/inspector/InspectedFrames.h" | 38 #include "core/inspector/InspectedFrames.h" |
39 #include "core/inspector/InspectorInstrumentation.h" | 39 #include "core/inspector/InspectorInstrumentation.h" |
40 #include "core/inspector/InspectorTraceEvents.h" | 40 #include "core/inspector/InspectorTraceEvents.h" |
41 #include "core/inspector/InstrumentingAgents.h" | |
42 #include "core/loader/DocumentLoader.h" | 41 #include "core/loader/DocumentLoader.h" |
43 #include "core/page/Page.h" | 42 #include "core/page/Page.h" |
44 | 43 |
45 using blink::protocol::Runtime::RemoteObject; | 44 using blink::protocol::Runtime::RemoteObject; |
46 | 45 |
47 namespace blink { | 46 namespace blink { |
48 | 47 |
49 PageDebuggerAgent* PageDebuggerAgent::create(V8DebuggerAgent* agent, InspectedFr
ames* inspectedFrames) | 48 PageDebuggerAgent* PageDebuggerAgent::create(V8DebuggerAgent* agent, InspectedFr
ames* inspectedFrames) |
50 { | 49 { |
51 return new PageDebuggerAgent(agent, inspectedFrames); | 50 return new PageDebuggerAgent(agent, inspectedFrames); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 98 |
100 void PageDebuggerAgent::didStartProvisionalLoad(LocalFrame* frame) | 99 void PageDebuggerAgent::didStartProvisionalLoad(LocalFrame* frame) |
101 { | 100 { |
102 if (frame == m_inspectedFrames->root()) { | 101 if (frame == m_inspectedFrames->root()) { |
103 ErrorString error; | 102 ErrorString error; |
104 resume(&error); | 103 resume(&error); |
105 } | 104 } |
106 } | 105 } |
107 | 106 |
108 } // namespace blink | 107 } // namespace blink |
OLD | NEW |