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

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

Issue 600733005: [Invalidation Tracking] add TraceEvents for setNeedsStyleRecalc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add frame Created 6 years, 2 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
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/inspector/InspectorTraceEvents.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef InspectorTraceEvents_h 5 #ifndef InspectorTraceEvents_h
6 #define InspectorTraceEvents_h 6 #define InspectorTraceEvents_h
7 7
8 #include "platform/EventTracer.h" 8 #include "platform/EventTracer.h"
9 #include "platform/TraceEvent.h" 9 #include "platform/TraceEvent.h"
10 #include "wtf/Forward.h" 10 #include "wtf/Forward.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class Document; 14 class Document;
15 class Event; 15 class Event;
16 class ExecutionContext; 16 class ExecutionContext;
17 class FrameView; 17 class FrameView;
18 class GraphicsContext; 18 class GraphicsContext;
19 class GraphicsLayer; 19 class GraphicsLayer;
20 class KURL; 20 class KURL;
21 class LayoutRect; 21 class LayoutRect;
22 class LocalFrame; 22 class LocalFrame;
23 class Node;
23 class RenderImage; 24 class RenderImage;
24 class RenderLayer; 25 class RenderLayer;
25 class RenderObject; 26 class RenderObject;
26 class ResourceRequest; 27 class ResourceRequest;
27 class ResourceResponse; 28 class ResourceResponse;
29 class ScriptCallStack;
28 class ScriptSourceCode; 30 class ScriptSourceCode;
29 class ScriptCallStack; 31 class StyleChangeReasonForTracing;
30 class WorkerThread; 32 class WorkerThread;
31 class XMLHttpRequest; 33 class XMLHttpRequest;
32 34
33 class InspectorLayoutEvent { 35 class InspectorLayoutEvent {
34 public: 36 public:
35 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView* ); 37 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView* );
36 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(RenderObject * rootForThisLayout); 38 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(RenderObject * rootForThisLayout);
37 }; 39 };
38 40
41 class InspectorStyleRecalcInvalidationTrackingEvent {
42 public:
43 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Node*, const St yleChangeReasonForTracing&);
44 };
45
39 class InspectorLayoutInvalidationTrackingEvent { 46 class InspectorLayoutInvalidationTrackingEvent {
40 public: 47 public:
41 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderObj ect*); 48 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderObj ect*);
42 }; 49 };
43 50
44 class InspectorPaintInvalidationTrackingEvent { 51 class InspectorPaintInvalidationTrackingEvent {
45 public: 52 public:
46 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderObj ect* renderer, const RenderObject* paintContainer); 53 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderObj ect* renderer, const RenderObject* paintContainer);
47 }; 54 };
48 55
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 188
182 class InspectorTracingSessionIdForWorkerEvent { 189 class InspectorTracingSessionIdForWorkerEvent {
183 public: 190 public:
184 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const String& s essionId, WorkerThread*); 191 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const String& s essionId, WorkerThread*);
185 }; 192 };
186 193
187 } // namespace blink 194 } // namespace blink
188 195
189 196
190 #endif // !defined(InspectorTraceEvents_h) 197 #endif // !defined(InspectorTraceEvents_h)
OLDNEW
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/inspector/InspectorTraceEvents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698