OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "platform/geometry/LayoutRect.h" | 44 #include "platform/geometry/LayoutRect.h" |
45 #include "wtf/HashMap.h" | 45 #include "wtf/HashMap.h" |
46 #include "wtf/HashSet.h" | 46 #include "wtf/HashSet.h" |
47 #include "wtf/PassOwnPtr.h" | 47 #include "wtf/PassOwnPtr.h" |
48 #include "wtf/Vector.h" | 48 #include "wtf/Vector.h" |
49 #include "wtf/WeakPtr.h" | 49 #include "wtf/WeakPtr.h" |
50 | 50 |
51 namespace blink { | 51 namespace blink { |
52 struct FetchInitiatorInfo; | 52 struct FetchInitiatorInfo; |
53 struct TimelineImageInfo; | 53 struct TimelineImageInfo; |
| 54 struct TimelineRecordEntry; |
54 struct TimelineThreadState; | 55 struct TimelineThreadState; |
55 struct TimelineRecordEntry; | |
56 | 56 |
57 class LocalDOMWindow; | 57 class LocalDOMWindow; |
58 class Document; | 58 class Document; |
59 class DocumentLoader; | 59 class DocumentLoader; |
60 class Event; | 60 class Event; |
61 class ExecutionContext; | 61 class ExecutionContext; |
62 class FloatQuad; | 62 class FloatQuad; |
63 class LocalFrame; | 63 class LocalFrame; |
64 class FrameHost; | 64 class FrameHost; |
65 class GraphicsContext; | 65 class GraphicsContext; |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 RefPtr<TypeBuilder::Timeline::TimelineEvent> m_pendingFrameRecord; | 306 RefPtr<TypeBuilder::Timeline::TimelineEvent> m_pendingFrameRecord; |
307 RefPtr<TypeBuilder::Timeline::TimelineEvent> m_pendingGPURecord; | 307 RefPtr<TypeBuilder::Timeline::TimelineEvent> m_pendingGPURecord; |
308 typedef HashMap<unsigned long long, TimelineImageInfo> PixelRefToImageInfoMa
p; | 308 typedef HashMap<unsigned long long, TimelineImageInfo> PixelRefToImageInfoMa
p; |
309 PixelRefToImageInfoMap m_pixelRefToImageInfo; | 309 PixelRefToImageInfoMap m_pixelRefToImageInfo; |
310 RenderImage* m_imageBeingPainted; | 310 RenderImage* m_imageBeingPainted; |
311 HashMap<unsigned long long, long long> m_layerToNodeMap; | 311 HashMap<unsigned long long, long long> m_layerToNodeMap; |
312 double m_paintSetupStart; | 312 double m_paintSetupStart; |
313 double m_paintSetupEnd; | 313 double m_paintSetupEnd; |
314 RefPtr<JSONObject> m_gpuTask; | 314 RefPtr<JSONObject> m_gpuTask; |
315 RefPtr<JSONValue> m_pendingLayerTreeData; | 315 RefPtr<JSONValue> m_pendingLayerTreeData; |
316 typedef HashMap<ThreadIdentifier, TimelineThreadState> ThreadStateMap; | 316 typedef WillBeHeapHashMap<ThreadIdentifier, TimelineThreadState> ThreadState
Map; |
317 ThreadStateMap m_threadStates; | 317 ThreadStateMap m_threadStates; |
318 bool m_mayEmitFirstPaint; | 318 bool m_mayEmitFirstPaint; |
319 HashSet<String> m_liveEvents; | 319 HashSet<String> m_liveEvents; |
320 double m_lastProgressTimestamp; | 320 double m_lastProgressTimestamp; |
321 }; | 321 }; |
322 | 322 |
323 | 323 |
324 class InspectorTimelineAgentTraceEventListener : public TraceEventDispatcher::Tr
aceEventListener { | 324 class InspectorTimelineAgentTraceEventListener : public TraceEventDispatcher::Tr
aceEventListener { |
325 public: | 325 public: |
326 typedef void (InspectorTimelineAgent::*TraceEventHandlerMethod)(const TraceE
ventDispatcher::TraceEvent&); | 326 typedef void (InspectorTimelineAgent::*TraceEventHandlerMethod)(const TraceE
ventDispatcher::TraceEvent&); |
(...skipping 21 matching lines...) Expand all Loading... |
348 , m_method(method) | 348 , m_method(method) |
349 { | 349 { |
350 } | 350 } |
351 RawPtrWillBeMember<InspectorTimelineAgent> m_instance; | 351 RawPtrWillBeMember<InspectorTimelineAgent> m_instance; |
352 TraceEventHandlerMethod m_method; | 352 TraceEventHandlerMethod m_method; |
353 }; | 353 }; |
354 | 354 |
355 } // namespace blink | 355 } // namespace blink |
356 | 356 |
357 #endif // !defined(InspectorTimelineAgent_h) | 357 #endif // !defined(InspectorTimelineAgent_h) |
OLD | NEW |