| 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/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/graphics/IntRect.h" | |
| 54 #include "core/platform/network/ResourceRequest.h" | 52 #include "core/platform/network/ResourceRequest.h" |
| 55 #include "core/platform/network/ResourceResponse.h" | |
| 56 #include "core/rendering/RenderObject.h" | 53 #include "core/rendering/RenderObject.h" |
| 57 #include "core/rendering/RenderView.h" | 54 #include "core/rendering/RenderView.h" |
| 58 #include "core/xml/XMLHttpRequest.h" | 55 #include "core/xml/XMLHttpRequest.h" |
| 59 | 56 |
| 60 #include <wtf/CurrentTime.h> | 57 #include <wtf/CurrentTime.h> |
| 61 | 58 |
| 62 namespace WebCore { | 59 namespace WebCore { |
| 63 | 60 |
| 64 namespace TimelineAgentState { | 61 namespace TimelineAgentState { |
| 65 static const char timelineAgentEnabled[] = "timelineAgentEnabled"; | 62 static const char timelineAgentEnabled[] = "timelineAgentEnabled"; |
| (...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 return m_timeConverter.fromMonotonicallyIncreasingTime(WTF::monotonicallyInc
reasingTime()); | 813 return m_timeConverter.fromMonotonicallyIncreasingTime(WTF::monotonicallyInc
reasingTime()); |
| 817 } | 814 } |
| 818 | 815 |
| 819 Page* InspectorTimelineAgent::page() | 816 Page* InspectorTimelineAgent::page() |
| 820 { | 817 { |
| 821 return m_pageAgent ? m_pageAgent->page() : 0; | 818 return m_pageAgent ? m_pageAgent->page() : 0; |
| 822 } | 819 } |
| 823 | 820 |
| 824 } // namespace WebCore | 821 } // namespace WebCore |
| 825 | 822 |
| OLD | NEW |