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