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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 WebCore { | 51 namespace WebCore { |
52 struct FetchInitiatorInfo; | 52 struct FetchInitiatorInfo; |
53 struct TimelineImageInfo; | 53 struct TimelineImageInfo; |
54 struct TimelineThreadState; | 54 struct TimelineThreadState; |
55 struct TimelineRecordEntry; | 55 struct TimelineRecordEntry; |
56 | 56 |
57 class DOMWindow; | 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; |
66 class GraphicsLayer; | 66 class GraphicsLayer; |
67 class InspectorClient; | 67 class InspectorClient; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 133 |
134 void setLayerTreeId(int layerTreeId) { m_layerTreeId = layerTreeId; } | 134 void setLayerTreeId(int layerTreeId) { m_layerTreeId = layerTreeId; } |
135 int id() const { return m_id; } | 135 int id() const { return m_id; } |
136 | 136 |
137 void didCommitLoad(); | 137 void didCommitLoad(); |
138 | 138 |
139 // Methods called from WebCore. | 139 // Methods called from WebCore. |
140 bool willCallFunction(ExecutionContext*, int scriptId, const String& scriptN
ame, int scriptLine); | 140 bool willCallFunction(ExecutionContext*, int scriptId, const String& scriptN
ame, int scriptLine); |
141 void didCallFunction(); | 141 void didCallFunction(); |
142 | 142 |
143 bool willDispatchEvent(Document* document, const Event& event, DOMWindow* wi
ndow, Node* node, const EventPath& eventPath); | 143 bool willDispatchEvent(Document* document, const Event& event, LocalDOMWindo
w* window, Node* node, const EventPath& eventPath); |
144 bool willDispatchEventOnWindow(const Event& event, DOMWindow* window); | 144 bool willDispatchEventOnWindow(const Event& event, LocalDOMWindow* window); |
145 void didDispatchEvent(); | 145 void didDispatchEvent(); |
146 void didDispatchEventOnWindow(); | 146 void didDispatchEventOnWindow(); |
147 | 147 |
148 void didBeginFrame(int frameId); | 148 void didBeginFrame(int frameId); |
149 void didCancelFrame(); | 149 void didCancelFrame(); |
150 | 150 |
151 void didInvalidateLayout(LocalFrame*); | 151 void didInvalidateLayout(LocalFrame*); |
152 bool willLayout(LocalFrame*); | 152 bool willLayout(LocalFrame*); |
153 void didLayout(RenderObject*); | 153 void didLayout(RenderObject*); |
154 | 154 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 typedef HashMap<ThreadIdentifier, TimelineThreadState> ThreadStateMap; | 316 typedef HashMap<ThreadIdentifier, TimelineThreadState> ThreadStateMap; |
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 } // namespace WebCore | 323 } // namespace WebCore |
324 | 324 |
325 #endif // !defined(InspectorTimelineAgent_h) | 325 #endif // !defined(InspectorTimelineAgent_h) |
OLD | NEW |