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

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: trace regardless of existingChangeType 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
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
35 class InspectorStyleRecalcInvalidationTrackingEvent {
pdr. 2014/09/30 03:25:48 Ultra mega nit: Can we move this down near its inv
kouhei (in TOK) 2014/09/30 03:49:32 Done.
36 public:
37 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Node*, const St yleChangeReasonForTracing&);
38 };
39
33 class InspectorLayoutEvent { 40 class InspectorLayoutEvent {
34 public: 41 public:
35 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView* ); 42 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView* );
36 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(RenderObject * rootForThisLayout); 43 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(RenderObject * rootForThisLayout);
37 }; 44 };
38 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 };
(...skipping 138 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

Powered by Google App Engine
This is Rietveld 408576698