| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 void didLayout(RenderObject*); | 161 void didLayout(RenderObject*); |
| 162 | 162 |
| 163 void willAutosizeText(RenderObject*); | 163 void willAutosizeText(RenderObject*); |
| 164 void didAutosizeText(RenderObject*); | 164 void didAutosizeText(RenderObject*); |
| 165 | 165 |
| 166 void didScheduleStyleRecalculation(Document*); | 166 void didScheduleStyleRecalculation(Document*); |
| 167 bool willRecalculateStyle(Document*); | 167 bool willRecalculateStyle(Document*); |
| 168 void didRecalculateStyle(); | 168 void didRecalculateStyle(); |
| 169 void didRecalculateStyleForElement(); | 169 void didRecalculateStyleForElement(); |
| 170 | 170 |
| 171 void willPaint(RenderObject*); | 171 void willPaint(RenderObject*, const GraphicsLayer*); |
| 172 void didPaint(RenderObject*, const GraphicsLayer*, GraphicsContext*, const L
ayoutRect&); | 172 void didPaint(RenderObject*, const GraphicsLayer*, GraphicsContext*, const L
ayoutRect&); |
| 173 | 173 |
| 174 void willPaintImage(RenderImage*); | 174 void willPaintImage(RenderImage*); |
| 175 void didPaintImage(); | 175 void didPaintImage(); |
| 176 | 176 |
| 177 void willScrollLayer(RenderObject*); | 177 void willScrollLayer(RenderObject*); |
| 178 void didScrollLayer(); | 178 void didScrollLayer(); |
| 179 | 179 |
| 180 void willComposite(); | 180 void willComposite(); |
| 181 void didComposite(); | 181 void didComposite(); |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 | 273 |
| 274 void commitFrameRecord(); | 274 void commitFrameRecord(); |
| 275 | 275 |
| 276 void addRecordToTimeline(PassRefPtr<JSONObject>); | 276 void addRecordToTimeline(PassRefPtr<JSONObject>); |
| 277 void innerAddRecordToTimeline(PassRefPtr<JSONObject>); | 277 void innerAddRecordToTimeline(PassRefPtr<JSONObject>); |
| 278 void clearRecordStack(); | 278 void clearRecordStack(); |
| 279 | 279 |
| 280 void localToPageQuad(const RenderObject& renderer, const LayoutRect&, FloatQ
uad*); | 280 void localToPageQuad(const RenderObject& renderer, const LayoutRect&, FloatQ
uad*); |
| 281 const TimelineTimeConverter& timeConverter() const { return m_timeConverter;
} | 281 const TimelineTimeConverter& timeConverter() const { return m_timeConverter;
} |
| 282 const RenderImage* imageBeingPainted() const { return m_imageBeingPainted; } | 282 const RenderImage* imageBeingPainted() const { return m_imageBeingPainted; } |
| 283 int nodeBeingPainted() const { return m_nodeBeingPainted; } |
| 284 int layerBeingPainted() const { return m_layerBeingPainted; } |
| 283 long long nodeId(Node*); | 285 long long nodeId(Node*); |
| 284 long long nodeId(RenderObject*); | 286 long long nodeId(RenderObject*); |
| 285 void releaseNodeIds(); | 287 void releaseNodeIds(); |
| 286 | 288 |
| 287 double timestamp(); | 289 double timestamp(); |
| 288 Page* page(); | 290 Page* page(); |
| 289 | 291 |
| 290 bool isStarted(); | 292 bool isStarted(); |
| 291 void innerStart(); | 293 void innerStart(); |
| 292 void innerStop(bool fromConsole); | 294 void innerStop(bool fromConsole); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 317 unsigned m_platformInstrumentationClientInstalledAtStackDepth; | 319 unsigned m_platformInstrumentationClientInstalledAtStackDepth; |
| 318 RefPtr<JSONObject> m_pendingFrameRecord; | 320 RefPtr<JSONObject> m_pendingFrameRecord; |
| 319 RefPtr<JSONObject> m_pendingGPURecord; | 321 RefPtr<JSONObject> m_pendingGPURecord; |
| 320 InspectorType m_inspectorType; | 322 InspectorType m_inspectorType; |
| 321 InspectorClient* m_client; | 323 InspectorClient* m_client; |
| 322 WeakPtrFactory<InspectorTimelineAgent> m_weakFactory; | 324 WeakPtrFactory<InspectorTimelineAgent> m_weakFactory; |
| 323 RefPtr<TimelineTraceEventProcessor> m_traceEventProcessor; | 325 RefPtr<TimelineTraceEventProcessor> m_traceEventProcessor; |
| 324 unsigned m_styleRecalcElementCounter; | 326 unsigned m_styleRecalcElementCounter; |
| 325 int m_layerTreeId; | 327 int m_layerTreeId; |
| 326 RenderImage* m_imageBeingPainted; | 328 RenderImage* m_imageBeingPainted; |
| 329 int m_nodeBeingPainted; |
| 330 int m_layerBeingPainted; |
| 327 Vector<String> m_consoleTimelines; | 331 Vector<String> m_consoleTimelines; |
| 328 RefPtr<TypeBuilder::Array<TypeBuilder::Timeline::TimelineEvent> > m_buffered
Events; | 332 RefPtr<TypeBuilder::Array<TypeBuilder::Timeline::TimelineEvent> > m_buffered
Events; |
| 329 InspectorOverlay* m_overlay; | 333 InspectorOverlay* m_overlay; |
| 330 }; | 334 }; |
| 331 | 335 |
| 332 } // namespace WebCore | 336 } // namespace WebCore |
| 333 | 337 |
| 334 #endif // !defined(InspectorTimelineAgent_h) | 338 #endif // !defined(InspectorTimelineAgent_h) |
| OLD | NEW |