OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 15 matching lines...) Expand all Loading... |
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/InspectorTimelineAgent.h" | 32 #include "core/inspector/InspectorTimelineAgent.h" |
33 | 33 |
34 #include "InspectorFrontend.h" | 34 #include "InspectorFrontend.h" |
35 #include "core/events/Event.h" | 35 #include "core/events/Event.h" |
| 36 #include "core/frame/DOMWindow.h" |
| 37 #include "core/frame/Frame.h" |
| 38 #include "core/frame/FrameView.h" |
36 #include "core/inspector/IdentifiersFactory.h" | 39 #include "core/inspector/IdentifiersFactory.h" |
37 #include "core/inspector/InspectorCounters.h" | 40 #include "core/inspector/InspectorCounters.h" |
38 #include "core/inspector/InspectorDOMAgent.h" | 41 #include "core/inspector/InspectorDOMAgent.h" |
39 #include "core/inspector/InspectorInstrumentation.h" | 42 #include "core/inspector/InspectorInstrumentation.h" |
40 #include "core/inspector/InspectorMemoryAgent.h" | 43 #include "core/inspector/InspectorMemoryAgent.h" |
41 #include "core/inspector/InspectorPageAgent.h" | 44 #include "core/inspector/InspectorPageAgent.h" |
42 #include "core/inspector/InspectorState.h" | 45 #include "core/inspector/InspectorState.h" |
43 #include "core/inspector/InstrumentingAgents.h" | 46 #include "core/inspector/InstrumentingAgents.h" |
44 #include "core/inspector/ScriptCallStack.h" | 47 #include "core/inspector/ScriptCallStack.h" |
45 #include "core/inspector/TimelineRecordFactory.h" | 48 #include "core/inspector/TimelineRecordFactory.h" |
46 #include "core/inspector/TimelineTraceEventProcessor.h" | 49 #include "core/inspector/TimelineTraceEventProcessor.h" |
47 #include "core/loader/DocumentLoader.h" | 50 #include "core/loader/DocumentLoader.h" |
48 #include "core/frame/DOMWindow.h" | |
49 #include "core/frame/Frame.h" | |
50 #include "core/frame/FrameView.h" | |
51 #include "core/page/PageConsole.h" | 51 #include "core/page/PageConsole.h" |
52 #include "core/platform/MemoryUsageSupport.h" | 52 #include "core/platform/MemoryUsageSupport.h" |
53 #include "core/platform/graphics/chromium/DeferredImageDecoder.h" | 53 #include "core/platform/graphics/chromium/DeferredImageDecoder.h" |
54 #include "core/platform/network/ResourceRequest.h" | |
55 #include "core/rendering/RenderObject.h" | 54 #include "core/rendering/RenderObject.h" |
56 #include "core/rendering/RenderView.h" | 55 #include "core/rendering/RenderView.h" |
57 #include "core/xml/XMLHttpRequest.h" | 56 #include "core/xml/XMLHttpRequest.h" |
58 #include "platform/TraceEvent.h" | 57 #include "platform/TraceEvent.h" |
| 58 #include "platform/network/ResourceRequest.h" |
59 | 59 |
60 #include "wtf/CurrentTime.h" | 60 #include "wtf/CurrentTime.h" |
61 | 61 |
62 namespace WebCore { | 62 namespace WebCore { |
63 | 63 |
64 namespace TimelineAgentState { | 64 namespace TimelineAgentState { |
65 static const char enabled[] = "enabled"; | 65 static const char enabled[] = "enabled"; |
66 static const char started[] = "started"; | 66 static const char started[] = "started"; |
67 static const char startedFromProtocol[] = "startedFromProtocol"; | 67 static const char startedFromProtocol[] = "startedFromProtocol"; |
68 static const char timelineMaxCallStackDepth[] = "timelineMaxCallStackDepth"; | 68 static const char timelineMaxCallStackDepth[] = "timelineMaxCallStackDepth"; |
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
933 return m_timeConverter.fromMonotonicallyIncreasingTime(WTF::monotonicallyInc
reasingTime()); | 933 return m_timeConverter.fromMonotonicallyIncreasingTime(WTF::monotonicallyInc
reasingTime()); |
934 } | 934 } |
935 | 935 |
936 Page* InspectorTimelineAgent::page() | 936 Page* InspectorTimelineAgent::page() |
937 { | 937 { |
938 return m_pageAgent ? m_pageAgent->page() : 0; | 938 return m_pageAgent ? m_pageAgent->page() : 0; |
939 } | 939 } |
940 | 940 |
941 } // namespace WebCore | 941 } // namespace WebCore |
942 | 942 |
OLD | NEW |