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

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

Issue 565793003: [Invalidation Tracking] Add trace events for compositor based invalidations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use containerForPaintInvalidation Created 6 years, 3 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
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 RenderImage;
24 class RenderLayer;
23 class RenderObject; 25 class RenderObject;
24 class RenderImage;
25 class ResourceRequest; 26 class ResourceRequest;
26 class ResourceResponse; 27 class ResourceResponse;
27 class ScriptSourceCode; 28 class ScriptSourceCode;
28 class ScriptCallStack; 29 class ScriptCallStack;
29 class WorkerThread; 30 class WorkerThread;
30 class XMLHttpRequest; 31 class XMLHttpRequest;
31 32
32 class InspectorLayoutEvent { 33 class InspectorLayoutEvent {
33 public: 34 public:
34 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView* ); 35 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView* );
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 class InspectorXhrReadyStateChangeEvent { 94 class InspectorXhrReadyStateChangeEvent {
94 public: 95 public:
95 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, XMLHttpRequest*); 96 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, XMLHttpRequest*);
96 }; 97 };
97 98
98 class InspectorXhrLoadEvent { 99 class InspectorXhrLoadEvent {
99 public: 100 public:
100 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, XMLHttpRequest*); 101 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, XMLHttpRequest*);
101 }; 102 };
102 103
104 class InspectorLayerInvalidationTrackingEvent {
105 public:
106 static const char SquashingLayerGeometryWasUpdated[];
107 static const char AddedToSquashingLayer[];
108 static const char RemovedFromSquashingLayer[];
109 static const char ReflectionLayerChanged[];
110 static const char NewCompositedLayer[];
111 static const char AncestorRequiresNewLayer[];
112
113 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderObj ect*, const char* reason);
114 };
115
103 class InspectorPaintEvent { 116 class InspectorPaintEvent {
104 public: 117 public:
105 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(RenderObject*, const LayoutRect& clipRect, const GraphicsLayer*); 118 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(RenderObject*, const LayoutRect& clipRect, const GraphicsLayer*);
106 }; 119 };
107 120
108 class InspectorPaintImageEvent { 121 class InspectorPaintImageEvent {
109 public: 122 public:
110 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderIma ge&); 123 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderIma ge&);
111 }; 124 };
112 125
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 165
153 class InspectorTracingSessionIdForWorkerEvent { 166 class InspectorTracingSessionIdForWorkerEvent {
154 public: 167 public:
155 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const String& s essionId, WorkerThread*); 168 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const String& s essionId, WorkerThread*);
156 }; 169 };
157 170
158 } // namespace blink 171 } // namespace blink
159 172
160 173
161 #endif // !defined(InspectorTraceEvents_h) 174 #endif // !defined(InspectorTraceEvents_h)
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorTraceEvents.cpp » ('j') | Source/core/inspector/InspectorTraceEvents.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698