Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: Source/core/inspector/InspectorTimelineAgent.h

Issue 14741014: Timeline: add reference to root node of layer in Rasterize event (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 void didInvalidateLayout(Frame*); 136 void didInvalidateLayout(Frame*);
137 bool willLayout(Frame*); 137 bool willLayout(Frame*);
138 void didLayout(RenderObject*); 138 void didLayout(RenderObject*);
139 139
140 void didScheduleStyleRecalculation(Document*); 140 void didScheduleStyleRecalculation(Document*);
141 bool willRecalculateStyle(Document*); 141 bool willRecalculateStyle(Document*);
142 void didRecalculateStyle(); 142 void didRecalculateStyle();
143 void didRecalculateStyleForElement(); 143 void didRecalculateStyleForElement();
144 144
145 void willPaint(Frame*); 145 void willPaint(RenderObject*);
146 void didPaint(RenderObject*, GraphicsContext*, const LayoutRect&); 146 void didPaint(RenderObject*, GraphicsContext*, const LayoutRect&);
147 147
148 void willScrollLayer(Frame*); 148 void willScrollLayer(Frame*);
149 void didScrollLayer(); 149 void didScrollLayer();
150 150
151 void willComposite(); 151 void willComposite();
152 void didComposite(); 152 void didComposite();
153 153
154 bool willWriteHTML(Document*, unsigned startLine); 154 bool willWriteHTML(Document*, unsigned startLine);
155 void didWriteHTML(unsigned endLine); 155 void didWriteHTML(unsigned endLine);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 void setHeapSizeStatistics(InspectorObject* record); 237 void setHeapSizeStatistics(InspectorObject* record);
238 void commitFrameRecord(); 238 void commitFrameRecord();
239 239
240 void addRecordToTimeline(PassRefPtr<InspectorObject>, const String& type); 240 void addRecordToTimeline(PassRefPtr<InspectorObject>, const String& type);
241 void innerAddRecordToTimeline(PassRefPtr<InspectorObject>, const String& typ e); 241 void innerAddRecordToTimeline(PassRefPtr<InspectorObject>, const String& typ e);
242 void clearRecordStack(); 242 void clearRecordStack();
243 243
244 void localToPageQuad(const RenderObject& renderer, const LayoutRect&, FloatQ uad*); 244 void localToPageQuad(const RenderObject& renderer, const LayoutRect&, FloatQ uad*);
245 const TimelineTimeConverter& timeConverter() const { return m_timeConverter; } 245 const TimelineTimeConverter& timeConverter() const { return m_timeConverter; }
246 int idForNode(Node*); 246 long long idForNode(Node*);
247 void releaseNodeIds(); 247 void releaseNodeIds();
248 248
249 double timestamp(); 249 double timestamp();
250 Page* page(); 250 Page* page();
251 251
252 InspectorPageAgent* m_pageAgent; 252 InspectorPageAgent* m_pageAgent;
253 InspectorMemoryAgent* m_memoryAgent; 253 InspectorMemoryAgent* m_memoryAgent;
254 InspectorDOMAgent* m_domAgent; 254 InspectorDOMAgent* m_domAgent;
255 TimelineTimeConverter m_timeConverter; 255 TimelineTimeConverter m_timeConverter;
256 256
(...skipping 20 matching lines...) Expand all
277 InspectorType m_inspectorType; 277 InspectorType m_inspectorType;
278 InspectorClient* m_client; 278 InspectorClient* m_client;
279 WeakPtrFactory<InspectorTimelineAgent> m_weakFactory; 279 WeakPtrFactory<InspectorTimelineAgent> m_weakFactory;
280 RefPtr<TimelineTraceEventProcessor> m_traceEventProcessor; 280 RefPtr<TimelineTraceEventProcessor> m_traceEventProcessor;
281 unsigned m_styleRecalcElementCounter; 281 unsigned m_styleRecalcElementCounter;
282 }; 282 };
283 283
284 } // namespace WebCore 284 } // namespace WebCore
285 285
286 #endif // !defined(InspectorTimelineAgent_h) 286 #endif // !defined(InspectorTimelineAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.cpp ('k') | Source/core/inspector/InspectorTimelineAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698