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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "platform/network/FormData.h" | 47 #include "platform/network/FormData.h" |
48 #include "platform/network/WebSocketHandshakeRequest.h" | 48 #include "platform/network/WebSocketHandshakeRequest.h" |
49 #include "platform/network/WebSocketHandshakeResponse.h" | 49 #include "platform/network/WebSocketHandshakeResponse.h" |
50 #include "wtf/RefPtr.h" | 50 #include "wtf/RefPtr.h" |
51 | 51 |
52 namespace blink { | 52 namespace blink { |
53 | 53 |
54 class Document; | 54 class Document; |
55 class EventTarget; | 55 class EventTarget; |
56 class ExecutionContext; | 56 class ExecutionContext; |
| 57 class FrameHost; |
57 class InspectorTimelineAgent; | 58 class InspectorTimelineAgent; |
58 class InstrumentingAgents; | 59 class InstrumentingAgents; |
59 class ThreadableLoaderClient; | 60 class ThreadableLoaderClient; |
60 class WorkerGlobalScope; | 61 class WorkerGlobalScope; |
61 class WorkerInspectorProxy; | 62 class WorkerInspectorProxy; |
62 | 63 |
63 #define FAST_RETURN_IF_NO_FRONTENDS(value) if (!hasFrontends()) return value; | 64 #define FAST_RETURN_IF_NO_FRONTENDS(value) if (!hasFrontends()) return value; |
64 | 65 |
65 class InspectorInstrumentationCookie { | 66 class InspectorInstrumentationCookie { |
66 public: | 67 public: |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // Called from generated instrumentation code. | 102 // Called from generated instrumentation code. |
102 InstrumentingAgents* instrumentingAgentsFor(Page*); | 103 InstrumentingAgents* instrumentingAgentsFor(Page*); |
103 InstrumentingAgents* instrumentingAgentsFor(LocalFrame*); | 104 InstrumentingAgents* instrumentingAgentsFor(LocalFrame*); |
104 InstrumentingAgents* instrumentingAgentsFor(EventTarget*); | 105 InstrumentingAgents* instrumentingAgentsFor(EventTarget*); |
105 InstrumentingAgents* instrumentingAgentsFor(ExecutionContext*); | 106 InstrumentingAgents* instrumentingAgentsFor(ExecutionContext*); |
106 InstrumentingAgents* instrumentingAgentsFor(Document&); | 107 InstrumentingAgents* instrumentingAgentsFor(Document&); |
107 InstrumentingAgents* instrumentingAgentsFor(Document*); | 108 InstrumentingAgents* instrumentingAgentsFor(Document*); |
108 InstrumentingAgents* instrumentingAgentsFor(RenderObject*); | 109 InstrumentingAgents* instrumentingAgentsFor(RenderObject*); |
109 InstrumentingAgents* instrumentingAgentsFor(Node*); | 110 InstrumentingAgents* instrumentingAgentsFor(Node*); |
110 InstrumentingAgents* instrumentingAgentsFor(WorkerGlobalScope*); | 111 InstrumentingAgents* instrumentingAgentsFor(WorkerGlobalScope*); |
| 112 InstrumentingAgents* instrumentingAgentsFor(FrameHost*); |
111 | 113 |
112 // Helper for the one above. | 114 // Helper for the one above. |
113 InstrumentingAgents* instrumentingAgentsForNonDocumentContext(ExecutionContext*)
; | 115 InstrumentingAgents* instrumentingAgentsForNonDocumentContext(ExecutionContext*)
; |
114 | 116 |
115 } // namespace InspectorInstrumentation | 117 } // namespace InspectorInstrumentation |
116 | 118 |
117 namespace InstrumentationEvents { | 119 namespace InstrumentationEvents { |
118 extern const char PaintSetup[]; | 120 extern const char PaintSetup[]; |
119 extern const char RasterTask[]; | 121 extern const char RasterTask[]; |
120 extern const char Paint[]; | 122 extern const char Paint[]; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 | 186 |
185 } // namespace blink | 187 } // namespace blink |
186 | 188 |
187 #include "core/InspectorInstrumentationInl.h" | 189 #include "core/InspectorInstrumentationInl.h" |
188 | 190 |
189 #include "core/inspector/InspectorInstrumentationCustomInl.h" | 191 #include "core/inspector/InspectorInstrumentationCustomInl.h" |
190 | 192 |
191 #include "core/InspectorOverridesInl.h" | 193 #include "core/InspectorOverridesInl.h" |
192 | 194 |
193 #endif // !defined(InspectorInstrumentation_h) | 195 #endif // !defined(InspectorInstrumentation_h) |
OLD | NEW |