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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 virtual void disable(ErrorString*) OVERRIDE; | 130 virtual void disable(ErrorString*) OVERRIDE; |
131 virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* b
ufferEvents, const String* liveEvents, const bool* includeCounters, const bool*
includeGPUEvents) OVERRIDE; | 131 virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* b
ufferEvents, const String* liveEvents, const bool* includeCounters, const bool*
includeGPUEvents) OVERRIDE; |
132 virtual void stop(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Timel
ine::TimelineEvent> >& events) OVERRIDE; | 132 virtual void stop(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Timel
ine::TimelineEvent> >& events) OVERRIDE; |
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*, const String& scriptName, int scrip
tLine); | 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, DOMWindow* wi
ndow, Node* node, const EventPath& eventPath); |
144 bool willDispatchEventOnWindow(const Event& event, DOMWindow* window); | 144 bool willDispatchEventOnWindow(const Event& event, DOMWindow* 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 |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 typedef HashMap<ThreadIdentifier, TimelineThreadState> ThreadStateMap; | 325 typedef HashMap<ThreadIdentifier, TimelineThreadState> ThreadStateMap; |
326 ThreadStateMap m_threadStates; | 326 ThreadStateMap m_threadStates; |
327 bool m_mayEmitFirstPaint; | 327 bool m_mayEmitFirstPaint; |
328 HashSet<String> m_liveEvents; | 328 HashSet<String> m_liveEvents; |
329 double m_lastProgressTimestamp; | 329 double m_lastProgressTimestamp; |
330 }; | 330 }; |
331 | 331 |
332 } // namespace WebCore | 332 } // namespace WebCore |
333 | 333 |
334 #endif // !defined(InspectorTimelineAgent_h) | 334 #endif // !defined(InspectorTimelineAgent_h) |
OLD | NEW |