| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 114 |
| 115 ~InspectorTimelineAgent(); | 115 ~InspectorTimelineAgent(); |
| 116 | 116 |
| 117 virtual void setFrontend(InspectorFrontend*); | 117 virtual void setFrontend(InspectorFrontend*); |
| 118 virtual void clearFrontend(); | 118 virtual void clearFrontend(); |
| 119 virtual void restore(); | 119 virtual void restore(); |
| 120 | 120 |
| 121 virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* i
ncludeDomCounters, const bool* includeNativeMemoryStatistics); | 121 virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* i
ncludeDomCounters, const bool* includeNativeMemoryStatistics); |
| 122 virtual void stop(ErrorString*); | 122 virtual void stop(ErrorString*); |
| 123 | 123 |
| 124 void setLayerTreeId(int layerTreeId) { m_layerTreeId = layerTreeId; } |
| 125 int layerTreeId() const { return m_layerTreeId; } |
| 124 int id() const { return m_id; } | 126 int id() const { return m_id; } |
| 125 | 127 |
| 126 void didCommitLoad(); | 128 void didCommitLoad(); |
| 127 | 129 |
| 128 // Methods called from WebCore. | 130 // Methods called from WebCore. |
| 129 bool willCallFunction(ScriptExecutionContext* context, const String& scriptN
ame, int scriptLine); | 131 bool willCallFunction(ScriptExecutionContext* context, const String& scriptN
ame, int scriptLine); |
| 130 void didCallFunction(); | 132 void didCallFunction(); |
| 131 | 133 |
| 132 bool willDispatchEvent(Document* document, const Event& event, DOMWindow* wi
ndow, Node* node, const EventPath& eventPath); | 134 bool willDispatchEvent(Document* document, const Event& event, DOMWindow* wi
ndow, Node* node, const EventPath& eventPath); |
| 133 bool willDispatchEventOnWindow(const Event& event, DOMWindow* window); | 135 bool willDispatchEventOnWindow(const Event& event, DOMWindow* window); |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 typedef Vector<GCEvent> GCEvents; | 280 typedef Vector<GCEvent> GCEvents; |
| 279 GCEvents m_gcEvents; | 281 GCEvents m_gcEvents; |
| 280 int m_maxCallStackDepth; | 282 int m_maxCallStackDepth; |
| 281 unsigned m_platformInstrumentationClientInstalledAtStackDepth; | 283 unsigned m_platformInstrumentationClientInstalledAtStackDepth; |
| 282 RefPtr<JSONObject> m_pendingFrameRecord; | 284 RefPtr<JSONObject> m_pendingFrameRecord; |
| 283 InspectorType m_inspectorType; | 285 InspectorType m_inspectorType; |
| 284 InspectorClient* m_client; | 286 InspectorClient* m_client; |
| 285 WeakPtrFactory<InspectorTimelineAgent> m_weakFactory; | 287 WeakPtrFactory<InspectorTimelineAgent> m_weakFactory; |
| 286 RefPtr<TimelineTraceEventProcessor> m_traceEventProcessor; | 288 RefPtr<TimelineTraceEventProcessor> m_traceEventProcessor; |
| 287 unsigned m_styleRecalcElementCounter; | 289 unsigned m_styleRecalcElementCounter; |
| 290 unsigned long long m_layerTreeId; |
| 288 }; | 291 }; |
| 289 | 292 |
| 290 } // namespace WebCore | 293 } // namespace WebCore |
| 291 | 294 |
| 292 #endif // !defined(InspectorTimelineAgent_h) | 295 #endif // !defined(InspectorTimelineAgent_h) |
| OLD | NEW |