OLD | NEW |
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 extern const char RasterTask[]; | 151 extern const char RasterTask[]; |
152 extern const char ImageDecodeTask[]; | 152 extern const char ImageDecodeTask[]; |
153 extern const char Paint[]; | 153 extern const char Paint[]; |
154 extern const char Layer[]; | 154 extern const char Layer[]; |
155 extern const char BeginFrame[]; | 155 extern const char BeginFrame[]; |
156 }; | 156 }; |
157 | 157 |
158 namespace InstrumentationEventArguments { | 158 namespace InstrumentationEventArguments { |
159 extern const char LayerId[]; | 159 extern const char LayerId[]; |
160 extern const char PageId[]; | 160 extern const char PageId[]; |
| 161 extern const char NodeId[]; |
161 }; | 162 }; |
162 | 163 |
163 namespace InspectorInstrumentation { | 164 namespace InspectorInstrumentation { |
164 | 165 |
165 inline InstrumentingAgents* instrumentingAgentsForContext(ScriptExecutionContext
* context) | 166 inline InstrumentingAgents* instrumentingAgentsForContext(ScriptExecutionContext
* context) |
166 { | 167 { |
167 if (!context) | 168 if (!context) |
168 return 0; | 169 return 0; |
169 if (context->isDocument()) | 170 if (context->isDocument()) |
170 return instrumentingAgentsForPage(toDocument(context)->page()); | 171 return instrumentingAgentsForPage(toDocument(context)->page()); |
(...skipping 30 matching lines...) Expand all Loading... |
201 } // namespace WebCore | 202 } // namespace WebCore |
202 | 203 |
203 // This file will soon be generated | 204 // This file will soon be generated |
204 #include "InspectorInstrumentationInl.h" | 205 #include "InspectorInstrumentationInl.h" |
205 | 206 |
206 #include "InspectorInstrumentationCustomInl.h" | 207 #include "InspectorInstrumentationCustomInl.h" |
207 | 208 |
208 #include "InspectorOverridesInl.h" | 209 #include "InspectorOverridesInl.h" |
209 | 210 |
210 #endif // !defined(InspectorInstrumentation_h) | 211 #endif // !defined(InspectorInstrumentation_h) |
OLD | NEW |