| 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 29 matching lines...) Expand all Loading... |
| 40 #include "core/inspector/InspectorInstrumentation.h" | 40 #include "core/inspector/InspectorInstrumentation.h" |
| 41 #include "core/inspector/InspectorTraceEvents.h" | 41 #include "core/inspector/InspectorTraceEvents.h" |
| 42 #include "core/inspector/InstrumentingAgents.h" | 42 #include "core/inspector/InstrumentingAgents.h" |
| 43 #include "core/loader/DocumentLoader.h" | 43 #include "core/loader/DocumentLoader.h" |
| 44 #include "core/page/Page.h" | 44 #include "core/page/Page.h" |
| 45 | 45 |
| 46 using blink::protocol::Runtime::RemoteObject; | 46 using blink::protocol::Runtime::RemoteObject; |
| 47 | 47 |
| 48 namespace blink { | 48 namespace blink { |
| 49 | 49 |
| 50 PassOwnPtrWillBeRawPtr<PageDebuggerAgent> PageDebuggerAgent::create(InspectedFra
mes* inspectedFrames, V8RuntimeAgent* runtimeAgent) | 50 RawPtr<PageDebuggerAgent> PageDebuggerAgent::create(InspectedFrames* inspectedFr
ames, V8RuntimeAgent* runtimeAgent) |
| 51 { | 51 { |
| 52 return adoptPtrWillBeNoop(new PageDebuggerAgent(inspectedFrames, runtimeAgen
t)); | 52 return new PageDebuggerAgent(inspectedFrames, runtimeAgent); |
| 53 } | 53 } |
| 54 | 54 |
| 55 PageDebuggerAgent::PageDebuggerAgent(InspectedFrames* inspectedFrames, V8Runtime
Agent* runtimeAgent) | 55 PageDebuggerAgent::PageDebuggerAgent(InspectedFrames* inspectedFrames, V8Runtime
Agent* runtimeAgent) |
| 56 : InspectorDebuggerAgent(runtimeAgent) | 56 : InspectorDebuggerAgent(runtimeAgent) |
| 57 , m_inspectedFrames(inspectedFrames) | 57 , m_inspectedFrames(inspectedFrames) |
| 58 { | 58 { |
| 59 } | 59 } |
| 60 | 60 |
| 61 PageDebuggerAgent::~PageDebuggerAgent() | 61 PageDebuggerAgent::~PageDebuggerAgent() |
| 62 { | 62 { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 118 |
| 119 void PageDebuggerAgent::didClearDocumentOfWindowObject(LocalFrame* frame) | 119 void PageDebuggerAgent::didClearDocumentOfWindowObject(LocalFrame* frame) |
| 120 { | 120 { |
| 121 // FIXME: what about nested objects? | 121 // FIXME: what about nested objects? |
| 122 if (frame != m_inspectedFrames->root()) | 122 if (frame != m_inspectedFrames->root()) |
| 123 return; | 123 return; |
| 124 m_asyncCallTracker->resetAsyncOperations(); | 124 m_asyncCallTracker->resetAsyncOperations(); |
| 125 } | 125 } |
| 126 | 126 |
| 127 } // namespace blink | 127 } // namespace blink |
| OLD | NEW |