| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 class ScriptExecutionContext; | 88 class ScriptExecutionContext; |
| 89 class ScriptObject; | 89 class ScriptObject; |
| 90 class ScriptProfile; | 90 class ScriptProfile; |
| 91 class SecurityOrigin; | 91 class SecurityOrigin; |
| 92 class ShadowRoot; | 92 class ShadowRoot; |
| 93 class StorageArea; | 93 class StorageArea; |
| 94 class StyleResolver; | 94 class StyleResolver; |
| 95 class StyleRule; | 95 class StyleRule; |
| 96 class StyleSheet; | 96 class StyleSheet; |
| 97 class ThreadableLoaderClient; | 97 class ThreadableLoaderClient; |
| 98 class WorkerContext; | 98 class WorkerGlobalScope; |
| 99 class WorkerContextProxy; | 99 class WorkerGlobalScopeProxy; |
| 100 class XMLHttpRequest; | 100 class XMLHttpRequest; |
| 101 | 101 |
| 102 #define FAST_RETURN_IF_NO_FRONTENDS(value) if (!hasFrontends()) return value; | 102 #define FAST_RETURN_IF_NO_FRONTENDS(value) if (!hasFrontends()) return value; |
| 103 | 103 |
| 104 class InspectorInstrumentationCookie { | 104 class InspectorInstrumentationCookie { |
| 105 public: | 105 public: |
| 106 InspectorInstrumentationCookie(); | 106 InspectorInstrumentationCookie(); |
| 107 InspectorInstrumentationCookie(InstrumentingAgents*, int); | 107 InspectorInstrumentationCookie(InstrumentingAgents*, int); |
| 108 InspectorInstrumentationCookie(const InspectorInstrumentationCookie&); | 108 InspectorInstrumentationCookie(const InspectorInstrumentationCookie&); |
| 109 InspectorInstrumentationCookie& operator=(const InspectorInstrumentationCook
ie&); | 109 InspectorInstrumentationCookie& operator=(const InspectorInstrumentationCook
ie&); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 137 | 137 |
| 138 InspectorTimelineAgent* retrieveTimelineAgent(const InspectorInstrumentationCook
ie&); | 138 InspectorTimelineAgent* retrieveTimelineAgent(const InspectorInstrumentationCook
ie&); |
| 139 | 139 |
| 140 InstrumentingAgents* instrumentingAgentsForPage(Page*); | 140 InstrumentingAgents* instrumentingAgentsForPage(Page*); |
| 141 InstrumentingAgents* instrumentingAgentsForFrame(Frame*); | 141 InstrumentingAgents* instrumentingAgentsForFrame(Frame*); |
| 142 InstrumentingAgents* instrumentingAgentsForScriptExecutionContext(ScriptExecutio
nContext*); | 142 InstrumentingAgents* instrumentingAgentsForScriptExecutionContext(ScriptExecutio
nContext*); |
| 143 InstrumentingAgents* instrumentingAgentsForDocument(Document*); | 143 InstrumentingAgents* instrumentingAgentsForDocument(Document*); |
| 144 InstrumentingAgents* instrumentingAgentsForRenderObject(RenderObject*); | 144 InstrumentingAgents* instrumentingAgentsForRenderObject(RenderObject*); |
| 145 InstrumentingAgents* instrumentingAgentsForElement(Element*); | 145 InstrumentingAgents* instrumentingAgentsForElement(Element*); |
| 146 | 146 |
| 147 InstrumentingAgents* instrumentingAgentsForWorkerContext(WorkerContext*); | 147 InstrumentingAgents* instrumentingAgentsForWorkerGlobalScope(WorkerGlobalScope*)
; |
| 148 InstrumentingAgents* instrumentingAgentsForNonDocumentContext(ScriptExecutionCon
text*); | 148 InstrumentingAgents* instrumentingAgentsForNonDocumentContext(ScriptExecutionCon
text*); |
| 149 | 149 |
| 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[]; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 { | 198 { |
| 199 return instrumentingAgentsForDocument(element->document()); | 199 return instrumentingAgentsForDocument(element->document()); |
| 200 } | 200 } |
| 201 | 201 |
| 202 bool cssErrorFilter(const CSSParserString& content, int propertyId, int errorTyp
e); | 202 bool cssErrorFilter(const CSSParserString& content, int propertyId, int errorTyp
e); |
| 203 | 203 |
| 204 } // namespace InspectorInstrumentation | 204 } // namespace InspectorInstrumentation |
| 205 | 205 |
| 206 InstrumentingAgents* instrumentationForPage(Page*); | 206 InstrumentingAgents* instrumentationForPage(Page*); |
| 207 | 207 |
| 208 InstrumentingAgents* instrumentationForWorkerContext(WorkerContext*); | 208 InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobalScope*); |
| 209 | 209 |
| 210 } // namespace WebCore | 210 } // namespace WebCore |
| 211 | 211 |
| 212 // This file will soon be generated | 212 // This file will soon be generated |
| 213 #include "InspectorInstrumentationInl.h" | 213 #include "InspectorInstrumentationInl.h" |
| 214 | 214 |
| 215 #include "InspectorInstrumentationCustomInl.h" | 215 #include "InspectorInstrumentationCustomInl.h" |
| 216 | 216 |
| 217 #include "InspectorOverridesInl.h" | 217 #include "InspectorOverridesInl.h" |
| 218 | 218 |
| 219 #endif // !defined(InspectorInstrumentation_h) | 219 #endif // !defined(InspectorInstrumentation_h) |
| OLD | NEW |