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 16 matching lines...) Expand all Loading... |
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/dom/Event.h" | 35 #include "core/dom/Event.h" |
36 #include "core/inspector/IdentifiersFactory.h" | 36 #include "core/inspector/IdentifiersFactory.h" |
37 #include "core/inspector/InspectorClient.h" | |
38 #include "core/inspector/InspectorCounters.h" | 37 #include "core/inspector/InspectorCounters.h" |
39 #include "core/inspector/InspectorDOMAgent.h" | 38 #include "core/inspector/InspectorDOMAgent.h" |
40 #include "core/inspector/InspectorInstrumentation.h" | 39 #include "core/inspector/InspectorInstrumentation.h" |
41 #include "core/inspector/InspectorMemoryAgent.h" | 40 #include "core/inspector/InspectorMemoryAgent.h" |
42 #include "core/inspector/InspectorPageAgent.h" | 41 #include "core/inspector/InspectorPageAgent.h" |
43 #include "core/inspector/InspectorState.h" | 42 #include "core/inspector/InspectorState.h" |
44 #include "core/inspector/InstrumentingAgents.h" | 43 #include "core/inspector/InstrumentingAgents.h" |
45 #include "core/inspector/ScriptCallStack.h" | 44 #include "core/inspector/ScriptCallStack.h" |
46 #include "core/inspector/TimelineRecordFactory.h" | 45 #include "core/inspector/TimelineRecordFactory.h" |
47 #include "core/inspector/TimelineTraceEventProcessor.h" | 46 #include "core/inspector/TimelineTraceEventProcessor.h" |
48 #include "core/loader/DocumentLoader.h" | 47 #include "core/loader/DocumentLoader.h" |
49 #include "core/page/DOMWindow.h" | 48 #include "core/page/DOMWindow.h" |
50 #include "core/page/Frame.h" | 49 #include "core/page/Frame.h" |
51 #include "core/page/FrameView.h" | 50 #include "core/page/FrameView.h" |
52 #include "core/platform/MemoryUsageSupport.h" | 51 #include "core/platform/MemoryUsageSupport.h" |
53 #include "core/platform/chromium/TraceEvent.h" | 52 #include "core/platform/chromium/TraceEvent.h" |
54 #include "core/platform/graphics/IntRect.h" | |
55 #include "core/platform/network/ResourceRequest.h" | 53 #include "core/platform/network/ResourceRequest.h" |
56 #include "core/platform/network/ResourceResponse.h" | |
57 #include "core/rendering/RenderObject.h" | 54 #include "core/rendering/RenderObject.h" |
58 #include "core/rendering/RenderView.h" | 55 #include "core/rendering/RenderView.h" |
59 #include "core/xml/XMLHttpRequest.h" | 56 #include "core/xml/XMLHttpRequest.h" |
60 | 57 |
61 #include <wtf/CurrentTime.h> | 58 #include <wtf/CurrentTime.h> |
62 | 59 |
63 namespace WebCore { | 60 namespace WebCore { |
64 | 61 |
65 namespace TimelineAgentState { | 62 namespace TimelineAgentState { |
66 static const char timelineAgentEnabled[] = "timelineAgentEnabled"; | 63 static const char timelineAgentEnabled[] = "timelineAgentEnabled"; |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 return m_timeConverter.fromMonotonicallyIncreasingTime(WTF::monotonicallyInc
reasingTime()); | 827 return m_timeConverter.fromMonotonicallyIncreasingTime(WTF::monotonicallyInc
reasingTime()); |
831 } | 828 } |
832 | 829 |
833 Page* InspectorTimelineAgent::page() | 830 Page* InspectorTimelineAgent::page() |
834 { | 831 { |
835 return m_pageAgent ? m_pageAgent->page() : 0; | 832 return m_pageAgent ? m_pageAgent->page() : 0; |
836 } | 833 } |
837 | 834 |
838 } // namespace WebCore | 835 } // namespace WebCore |
839 | 836 |
OLD | NEW |