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

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

Issue 18344005: DevTools: expose setLayerTreeId() so we can relate events from LayerTreeHost (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed another regression Created 7 years, 5 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 } // namespace InspectorInstrumentation 144 } // namespace InspectorInstrumentation
145 145
146 namespace InstrumentationEvents { 146 namespace InstrumentationEvents {
147 extern const char PaintSetup[]; 147 extern const char PaintSetup[];
148 extern const char PaintLayer[]; 148 extern const char PaintLayer[];
149 extern const char RasterTask[]; 149 extern const char RasterTask[];
150 extern const char ImageDecodeTask[]; 150 extern const char ImageDecodeTask[];
151 extern const char Paint[]; 151 extern const char Paint[];
152 extern const char Layer[]; 152 extern const char Layer[];
153 extern const char BeginFrame[]; 153 extern const char BeginFrame[];
154 extern const char UpdateLayer[];
154 }; 155 };
155 156
156 namespace InstrumentationEventArguments { 157 namespace InstrumentationEventArguments {
157 extern const char LayerId[]; 158 extern const char LayerId[];
159 extern const char LayerTreeId[];
160 extern const char NodeId[];
158 extern const char PageId[]; 161 extern const char PageId[];
159 extern const char NodeId[];
160 }; 162 };
161 163
162 namespace InspectorInstrumentation { 164 namespace InspectorInstrumentation {
163 165
164 inline InstrumentingAgents* instrumentingAgentsForScriptExecutionContext(ScriptE xecutionContext* context) 166 inline InstrumentingAgents* instrumentingAgentsForScriptExecutionContext(ScriptE xecutionContext* context)
165 { 167 {
166 if (!context) 168 if (!context)
167 return 0; 169 return 0;
168 if (context->isDocument()) 170 if (context->isDocument())
169 return instrumentingAgentsForPage(toDocument(context)->page()); 171 return instrumentingAgentsForPage(toDocument(context)->page());
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 } // namespace WebCore 204 } // namespace WebCore
203 205
204 // This file will soon be generated 206 // This file will soon be generated
205 #include "InspectorInstrumentationInl.h" 207 #include "InspectorInstrumentationInl.h"
206 208
207 #include "InspectorInstrumentationCustomInl.h" 209 #include "InspectorInstrumentationCustomInl.h"
208 210
209 #include "InspectorOverridesInl.h" 211 #include "InspectorOverridesInl.h"
210 212
211 #endif // !defined(InspectorInstrumentation_h) 213 #endif // !defined(InspectorInstrumentation_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorController.cpp ('k') | Source/core/inspector/InspectorInstrumentation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698