| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 virtual void disable(ErrorString*) OVERRIDE; | 141 virtual void disable(ErrorString*) OVERRIDE; |
| 142 virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* b
ufferEvents, const bool* includeCounters, const bool* includeGPUEvents) OVERRIDE
; | 142 virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* b
ufferEvents, const bool* includeCounters, const bool* includeGPUEvents) OVERRIDE
; |
| 143 virtual void stop(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Timel
ine::TimelineEvent> >& events) OVERRIDE; | 143 virtual void stop(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Timel
ine::TimelineEvent> >& events) OVERRIDE; |
| 144 | 144 |
| 145 void setLayerTreeId(int layerTreeId) { m_layerTreeId = layerTreeId; } | 145 void setLayerTreeId(int layerTreeId) { m_layerTreeId = layerTreeId; } |
| 146 int id() const { return m_id; } | 146 int id() const { return m_id; } |
| 147 | 147 |
| 148 void didCommitLoad(); | 148 void didCommitLoad(); |
| 149 | 149 |
| 150 // Methods called from WebCore. | 150 // Methods called from WebCore. |
| 151 bool willCallFunction(ExecutionContext*, const String& scriptName, int scrip
tLine); | 151 bool willCallFunction(ExecutionContext*, int scriptId, const String& scriptN
ame, int scriptLine); |
| 152 void didCallFunction(); | 152 void didCallFunction(); |
| 153 | 153 |
| 154 bool willDispatchEvent(Document* document, const Event& event, DOMWindow* wi
ndow, Node* node, const EventPath& eventPath); | 154 bool willDispatchEvent(Document* document, const Event& event, DOMWindow* wi
ndow, Node* node, const EventPath& eventPath); |
| 155 bool willDispatchEventOnWindow(const Event& event, DOMWindow* window); | 155 bool willDispatchEventOnWindow(const Event& event, DOMWindow* window); |
| 156 void didDispatchEvent(); | 156 void didDispatchEvent(); |
| 157 void didDispatchEventOnWindow(); | 157 void didDispatchEventOnWindow(); |
| 158 | 158 |
| 159 void didBeginFrame(int frameId); | 159 void didBeginFrame(int frameId); |
| 160 void didCancelFrame(); | 160 void didCancelFrame(); |
| 161 | 161 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 RefPtr<JSONObject> m_gpuTask; | 334 RefPtr<JSONObject> m_gpuTask; |
| 335 unsigned m_styleRecalcElementCounter; | 335 unsigned m_styleRecalcElementCounter; |
| 336 typedef HashMap<ThreadIdentifier, TimelineThreadState> ThreadStateMap; | 336 typedef HashMap<ThreadIdentifier, TimelineThreadState> ThreadStateMap; |
| 337 ThreadStateMap m_threadStates; | 337 ThreadStateMap m_threadStates; |
| 338 bool m_mayEmitFirstPaint; | 338 bool m_mayEmitFirstPaint; |
| 339 }; | 339 }; |
| 340 | 340 |
| 341 } // namespace WebCore | 341 } // namespace WebCore |
| 342 | 342 |
| 343 #endif // !defined(InspectorTimelineAgent_h) | 343 #endif // !defined(InspectorTimelineAgent_h) |
| OLD | NEW |