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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 class GraphicsLayer; 66 class GraphicsLayer;
67 class InspectorClient; 67 class InspectorClient;
68 class InspectorFrontend; 68 class InspectorFrontend;
69 class InspectorOverlay; 69 class InspectorOverlay;
70 class InspectorPageAgent; 70 class InspectorPageAgent;
71 class InspectorLayerTreeAgent; 71 class InspectorLayerTreeAgent;
72 class KURL; 72 class KURL;
73 class ScriptState; 73 class ScriptState;
74 class Node; 74 class Node;
75 class RenderImage; 75 class RenderImage;
76 class RenderObject; 76 class LayoutObject;
77 class ResourceError; 77 class ResourceError;
78 class ResourceLoader; 78 class ResourceLoader;
79 class ResourceRequest; 79 class ResourceRequest;
80 class ResourceResponse; 80 class ResourceResponse;
81 class TimelineRecordStack; 81 class TimelineRecordStack;
82 class WebSocketHandshakeRequest; 82 class WebSocketHandshakeRequest;
83 class WebSocketHandshakeResponse; 83 class WebSocketHandshakeResponse;
84 class XMLHttpRequest; 84 class XMLHttpRequest;
85 85
86 typedef String ErrorString; 86 typedef String ErrorString;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 bool willDispatchEvent(Document* document, const Event& event, LocalDOMWindo w* window, Node* node, const EventPath& eventPath); 140 bool willDispatchEvent(Document* document, const Event& event, LocalDOMWindo w* window, Node* node, const EventPath& eventPath);
141 bool willDispatchEventOnWindow(const Event& event, LocalDOMWindow* window); 141 bool willDispatchEventOnWindow(const Event& event, LocalDOMWindow* window);
142 void didDispatchEvent(); 142 void didDispatchEvent();
143 void didDispatchEventOnWindow(); 143 void didDispatchEventOnWindow();
144 144
145 void didBeginFrame(int frameId); 145 void didBeginFrame(int frameId);
146 void didCancelFrame(); 146 void didCancelFrame();
147 147
148 void didInvalidateLayout(LocalFrame*); 148 void didInvalidateLayout(LocalFrame*);
149 bool willLayout(LocalFrame*); 149 bool willLayout(LocalFrame*);
150 void didLayout(RenderObject*); 150 void didLayout(LayoutObject*);
151 151
152 void willUpdateLayerTree(); 152 void willUpdateLayerTree();
153 void layerTreeDidChange(); 153 void layerTreeDidChange();
154 void didUpdateLayerTree(); 154 void didUpdateLayerTree();
155 155
156 void didScheduleStyleRecalculation(Document*); 156 void didScheduleStyleRecalculation(Document*);
157 bool willRecalculateStyle(Document*); 157 bool willRecalculateStyle(Document*);
158 void didRecalculateStyle(int elementCount); 158 void didRecalculateStyle(int elementCount);
159 159
160 void willPaint(RenderObject*, const GraphicsLayer*); 160 void willPaint(LayoutObject*, const GraphicsLayer*);
161 void didPaint(RenderObject*, const GraphicsLayer*, GraphicsContext*, const L ayoutRect&); 161 void didPaint(LayoutObject*, const GraphicsLayer*, GraphicsContext*, const L ayoutRect&);
162 162
163 void willPaintImage(RenderImage*); 163 void willPaintImage(RenderImage*);
164 void didPaintImage(); 164 void didPaintImage();
165 165
166 void willScrollLayer(RenderObject*); 166 void willScrollLayer(LayoutObject*);
167 void didScrollLayer(); 167 void didScrollLayer();
168 168
169 void willComposite(); 169 void willComposite();
170 void didComposite(); 170 void didComposite();
171 171
172 bool willWriteHTML(Document*, unsigned startLine); 172 bool willWriteHTML(Document*, unsigned startLine);
173 void didWriteHTML(unsigned endLine); 173 void didWriteHTML(unsigned endLine);
174 174
175 void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singl eShot); 175 void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singl eShot);
176 void didRemoveTimer(ExecutionContext*, int timerId); 176 void didRemoveTimer(ExecutionContext*, int timerId);
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 void unwindRecordStack(); 261 void unwindRecordStack();
262 262
263 void commitFrameRecord(); 263 void commitFrameRecord();
264 264
265 void addRecordToTimeline(PassRefPtr<TypeBuilder::Timeline::TimelineEvent>, d ouble ts); 265 void addRecordToTimeline(PassRefPtr<TypeBuilder::Timeline::TimelineEvent>, d ouble ts);
266 void innerAddRecordToTimeline(PassRefPtr<TypeBuilder::Timeline::TimelineEven t>); 266 void innerAddRecordToTimeline(PassRefPtr<TypeBuilder::Timeline::TimelineEven t>);
267 PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createCountersUpdate(); 267 PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createCountersUpdate();
268 void clearRecordStack(); 268 void clearRecordStack();
269 PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createRecordForEvent(const TraceEventDispatcher::TraceEvent&, const String& type, PassRefPtr<JSONObject> da ta); 269 PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createRecordForEvent(const TraceEventDispatcher::TraceEvent&, const String& type, PassRefPtr<JSONObject> da ta);
270 270
271 void localToPageQuad(const RenderObject& renderer, const LayoutRect&, FloatQ uad*); 271 void localToPageQuad(const LayoutObject& renderer, const LayoutRect&, FloatQ uad*);
272 long long nodeId(Node*); 272 long long nodeId(Node*);
273 long long nodeId(RenderObject*); 273 long long nodeId(LayoutObject*);
274 274
275 double timestamp(); 275 double timestamp();
276 276
277 LocalFrame* inspectedFrame() const; 277 LocalFrame* inspectedFrame() const;
278 278
279 bool isStarted(); 279 bool isStarted();
280 void innerStart(); 280 void innerStart();
281 void innerStop(bool fromConsole); 281 void innerStop(bool fromConsole);
282 void setLiveEvents(const String&); 282 void setLiveEvents(const String&);
283 283
(...skipping 27 matching lines...) Expand all
311 typedef WillBeHeapHashMap<ThreadIdentifier, TimelineThreadState> ThreadState Map; 311 typedef WillBeHeapHashMap<ThreadIdentifier, TimelineThreadState> ThreadState Map;
312 ThreadStateMap m_threadStates; 312 ThreadStateMap m_threadStates;
313 bool m_mayEmitFirstPaint; 313 bool m_mayEmitFirstPaint;
314 HashSet<String> m_liveEvents; 314 HashSet<String> m_liveEvents;
315 double m_lastProgressTimestamp; 315 double m_lastProgressTimestamp;
316 }; 316 };
317 317
318 } // namespace blink 318 } // namespace blink
319 319
320 #endif // !defined(InspectorTimelineAgent_h) 320 #endif // !defined(InspectorTimelineAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/core/inspector/InspectorTimelineAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698