| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 } // namespace WebCore | 206 } // namespace WebCore |
| 205 | 207 |
| 206 // This file will soon be generated | 208 // This file will soon be generated |
| 207 #include "InspectorInstrumentationInl.h" | 209 #include "InspectorInstrumentationInl.h" |
| 208 | 210 |
| 209 #include "InspectorInstrumentationCustomInl.h" | 211 #include "InspectorInstrumentationCustomInl.h" |
| 210 | 212 |
| 211 #include "InspectorOverridesInl.h" | 213 #include "InspectorOverridesInl.h" |
| 212 | 214 |
| 213 #endif // !defined(InspectorInstrumentation_h) | 215 #endif // !defined(InspectorInstrumentation_h) |
| OLD | NEW |