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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "core/inspector/InspectorMemoryAgent.h" | 43 #include "core/inspector/InspectorMemoryAgent.h" |
44 #include "core/inspector/InspectorOverlay.h" | 44 #include "core/inspector/InspectorOverlay.h" |
45 #include "core/inspector/InspectorPageAgent.h" | 45 #include "core/inspector/InspectorPageAgent.h" |
46 #include "core/inspector/InspectorState.h" | 46 #include "core/inspector/InspectorState.h" |
47 #include "core/inspector/InstrumentingAgents.h" | 47 #include "core/inspector/InstrumentingAgents.h" |
48 #include "core/inspector/ScriptCallStack.h" | 48 #include "core/inspector/ScriptCallStack.h" |
49 #include "core/inspector/TimelineRecordFactory.h" | 49 #include "core/inspector/TimelineRecordFactory.h" |
50 #include "core/inspector/TraceEventDispatcher.h" | 50 #include "core/inspector/TraceEventDispatcher.h" |
51 #include "core/loader/DocumentLoader.h" | 51 #include "core/loader/DocumentLoader.h" |
52 #include "core/page/PageConsole.h" | 52 #include "core/page/PageConsole.h" |
53 #include "core/platform/graphics/DeferredImageDecoder.h" | |
54 #include "core/platform/graphics/GraphicsLayer.h" | |
55 #include "core/rendering/RenderObject.h" | 53 #include "core/rendering/RenderObject.h" |
56 #include "core/rendering/RenderView.h" | 54 #include "core/rendering/RenderView.h" |
57 #include "core/xml/XMLHttpRequest.h" | 55 #include "core/xml/XMLHttpRequest.h" |
58 #include "platform/TraceEvent.h" | 56 #include "platform/TraceEvent.h" |
| 57 #include "platform/graphics/DeferredImageDecoder.h" |
| 58 #include "platform/graphics/GraphicsLayer.h" |
59 #include "platform/network/ResourceRequest.h" | 59 #include "platform/network/ResourceRequest.h" |
60 | 60 |
61 #include "wtf/CurrentTime.h" | 61 #include "wtf/CurrentTime.h" |
62 | 62 |
63 namespace WebCore { | 63 namespace WebCore { |
64 | 64 |
65 namespace TimelineAgentState { | 65 namespace TimelineAgentState { |
66 static const char enabled[] = "enabled"; | 66 static const char enabled[] = "enabled"; |
67 static const char started[] = "started"; | 67 static const char started[] = "started"; |
68 static const char startedFromProtocol[] = "startedFromProtocol"; | 68 static const char startedFromProtocol[] = "startedFromProtocol"; |
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1277 #ifndef NDEBUG | 1277 #ifndef NDEBUG |
1278 bool TimelineRecordStack::isOpenRecordOfType(const String& type) | 1278 bool TimelineRecordStack::isOpenRecordOfType(const String& type) |
1279 { | 1279 { |
1280 String lastRecordType; | 1280 String lastRecordType; |
1281 return m_stack.isEmpty() || (m_stack.last().record->getString("type", &lastR
ecordType) && type == lastRecordType); | 1281 return m_stack.isEmpty() || (m_stack.last().record->getString("type", &lastR
ecordType) && type == lastRecordType); |
1282 } | 1282 } |
1283 #endif | 1283 #endif |
1284 | 1284 |
1285 } // namespace WebCore | 1285 } // namespace WebCore |
1286 | 1286 |
OLD | NEW |