Chromium Code Reviews| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 122 | 122 |
| 123 namespace InstrumentationEvents { | 123 namespace InstrumentationEvents { |
| 124 extern const char PaintSetup[]; | 124 extern const char PaintSetup[]; |
| 125 extern const char PaintLayer[]; | 125 extern const char PaintLayer[]; |
| 126 extern const char RasterTask[]; | 126 extern const char RasterTask[]; |
| 127 extern const char ImageDecodeTask[]; | 127 extern const char ImageDecodeTask[]; |
| 128 extern const char Paint[]; | 128 extern const char Paint[]; |
| 129 extern const char Layer[]; | 129 extern const char Layer[]; |
| 130 extern const char BeginFrame[]; | 130 extern const char BeginFrame[]; |
| 131 extern const char UpdateLayer[]; | 131 extern const char UpdateLayer[]; |
| 132 extern const char GPUTask[]; | |
| 132 }; | 133 }; |
| 133 | 134 |
| 134 namespace InstrumentationEventArguments { | 135 namespace InstrumentationEventArguments { |
| 135 extern const char LayerId[]; | 136 extern const char LayerId[]; |
| 136 extern const char LayerTreeId[]; | 137 extern const char LayerTreeId[]; |
| 137 extern const char NodeId[]; | 138 extern const char NodeId[]; |
| 138 extern const char PageId[]; | 139 extern const char PageId[]; |
| 139 extern const char PixelRefId[]; | 140 extern const char PixelRefId[]; |
| 141 extern const char OwnerPId[]; | |
|
caseq
2013/11/06 16:40:31
PID
| |
| 140 }; | 142 }; |
| 141 | 143 |
| 142 namespace InspectorInstrumentation { | 144 namespace InspectorInstrumentation { |
| 143 | 145 |
| 144 inline InstrumentingAgents* instrumentingAgentsFor(ExecutionContext* context) | 146 inline InstrumentingAgents* instrumentingAgentsFor(ExecutionContext* context) |
| 145 { | 147 { |
| 146 if (!context) | 148 if (!context) |
| 147 return 0; | 149 return 0; |
| 148 return context->isDocument() ? instrumentingAgentsFor(*toDocument(context)) : instrumentingAgentsForNonDocumentContext(context); | 150 return context->isDocument() ? instrumentingAgentsFor(*toDocument(context)) : instrumentingAgentsForNonDocumentContext(context); |
| 149 } | 151 } |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 190 } // namespace WebCore | 192 } // namespace WebCore |
| 191 | 193 |
| 192 // This file will soon be generated | 194 // This file will soon be generated |
| 193 #include "InspectorInstrumentationInl.h" | 195 #include "InspectorInstrumentationInl.h" |
| 194 | 196 |
| 195 #include "InspectorInstrumentationCustomInl.h" | 197 #include "InspectorInstrumentationCustomInl.h" |
| 196 | 198 |
| 197 #include "InspectorOverridesInl.h" | 199 #include "InspectorOverridesInl.h" |
| 198 | 200 |
| 199 #endif // !defined(InspectorInstrumentation_h) | 201 #endif // !defined(InspectorInstrumentation_h) |
| OLD | NEW |