| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 } // namespace InspectorInstrumentation | 150 } // namespace InspectorInstrumentation |
| 151 | 151 |
| 152 namespace InstrumentationEvents { | 152 namespace InstrumentationEvents { |
| 153 extern const char PaintSetup[]; | 153 extern const char PaintSetup[]; |
| 154 extern const char PaintLayer[]; | 154 extern const char PaintLayer[]; |
| 155 extern const char RasterTask[]; | 155 extern const char RasterTask[]; |
| 156 extern const char ImageDecodeTask[]; | 156 extern const char ImageDecodeTask[]; |
| 157 extern const char Paint[]; | 157 extern const char Paint[]; |
| 158 extern const char Layer[]; | 158 extern const char Layer[]; |
| 159 extern const char BeginFrame[]; | 159 extern const char BeginFrame[]; |
| 160 extern const char UpdateLayer[]; |
| 160 }; | 161 }; |
| 161 | 162 |
| 162 namespace InstrumentationEventArguments { | 163 namespace InstrumentationEventArguments { |
| 163 extern const char LayerId[]; | 164 extern const char LayerId[]; |
| 165 extern const char LayerTreeId[]; |
| 166 extern const char NodeId[]; |
| 164 extern const char PageId[]; | 167 extern const char PageId[]; |
| 165 extern const char NodeId[]; | |
| 166 }; | 168 }; |
| 167 | 169 |
| 168 namespace InspectorInstrumentation { | 170 namespace InspectorInstrumentation { |
| 169 | 171 |
| 170 inline InstrumentingAgents* instrumentingAgentsForScriptExecutionContext(ScriptE
xecutionContext* context) | 172 inline InstrumentingAgents* instrumentingAgentsForScriptExecutionContext(ScriptE
xecutionContext* context) |
| 171 { | 173 { |
| 172 if (!context) | 174 if (!context) |
| 173 return 0; | 175 return 0; |
| 174 if (context->isDocument()) | 176 if (context->isDocument()) |
| 175 return instrumentingAgentsForPage(toDocument(context)->page()); | 177 return instrumentingAgentsForPage(toDocument(context)->page()); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 } // namespace WebCore | 212 } // namespace WebCore |
| 211 | 213 |
| 212 // This file will soon be generated | 214 // This file will soon be generated |
| 213 #include "InspectorInstrumentationInl.h" | 215 #include "InspectorInstrumentationInl.h" |
| 214 | 216 |
| 215 #include "InspectorInstrumentationCustomInl.h" | 217 #include "InspectorInstrumentationCustomInl.h" |
| 216 | 218 |
| 217 #include "InspectorOverridesInl.h" | 219 #include "InspectorOverridesInl.h" |
| 218 | 220 |
| 219 #endif // !defined(InspectorInstrumentation_h) | 221 #endif // !defined(InspectorInstrumentation_h) |
| OLD | NEW |