| 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 #include "core/inspector/InspectorPageAgent.h" | 34 #include "core/inspector/InspectorPageAgent.h" |
| 35 #include "core/inspector/InspectorSession.h" | 35 #include "core/inspector/InspectorSession.h" |
| 36 #include "core/inspector/InspectorTracingAgent.h" | 36 #include "core/inspector/InspectorTracingAgent.h" |
| 37 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
| 38 #include "public/platform/WebSize.h" | 38 #include "public/platform/WebSize.h" |
| 39 #include "public/platform/WebThread.h" | 39 #include "public/platform/WebThread.h" |
| 40 #include "public/web/WebDevToolsAgent.h" | 40 #include "public/web/WebDevToolsAgent.h" |
| 41 #include "web/InspectorEmulationAgent.h" | 41 #include "web/InspectorEmulationAgent.h" |
| 42 #include "wtf/Forward.h" | 42 #include "wtf/Forward.h" |
| 43 #include "wtf/OwnPtr.h" |
| 43 #include "wtf/Vector.h" | 44 #include "wtf/Vector.h" |
| 44 #include <memory> | |
| 45 | 45 |
| 46 namespace blink { | 46 namespace blink { |
| 47 | 47 |
| 48 class GraphicsLayer; | 48 class GraphicsLayer; |
| 49 class InspectedFrames; | 49 class InspectedFrames; |
| 50 class InspectorOverlay; | 50 class InspectorOverlay; |
| 51 class InspectorResourceContainer; | 51 class InspectorResourceContainer; |
| 52 class InspectorResourceContentLoader; | 52 class InspectorResourceContentLoader; |
| 53 class LocalFrame; | 53 class LocalFrame; |
| 54 class Page; | 54 class Page; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 // WebThread::TaskObserver implementation. | 129 // WebThread::TaskObserver implementation. |
| 130 void willProcessTask() override; | 130 void willProcessTask() override; |
| 131 void didProcessTask() override; | 131 void didProcessTask() override; |
| 132 | 132 |
| 133 void initializeSession(int sessionId, const String& hostId, String* state); | 133 void initializeSession(int sessionId, const String& hostId, String* state); |
| 134 void destroySession(); | 134 void destroySession(); |
| 135 void dispatchMessageFromFrontend(int sessionId, const String& method, const
String& message); | 135 void dispatchMessageFromFrontend(int sessionId, const String& method, const
String& message); |
| 136 | 136 |
| 137 friend class WebDevToolsAgent; | 137 friend class WebDevToolsAgent; |
| 138 static void runDebuggerTask(int sessionId, std::unique_ptr<WebDevToolsAgent:
:MessageDescriptor>); | 138 static void runDebuggerTask(int sessionId, PassOwnPtr<WebDevToolsAgent::Mess
ageDescriptor>); |
| 139 | 139 |
| 140 bool attached() const { return m_session.get(); } | 140 bool attached() const { return m_session.get(); } |
| 141 | 141 |
| 142 WebDevToolsAgentClient* m_client; | 142 WebDevToolsAgentClient* m_client; |
| 143 Member<WebLocalFrameImpl> m_webLocalFrameImpl; | 143 Member<WebLocalFrameImpl> m_webLocalFrameImpl; |
| 144 | 144 |
| 145 Member<InstrumentingAgents> m_instrumentingAgents; | 145 Member<InstrumentingAgents> m_instrumentingAgents; |
| 146 Member<InspectorResourceContentLoader> m_resourceContentLoader; | 146 Member<InspectorResourceContentLoader> m_resourceContentLoader; |
| 147 Member<InspectorOverlay> m_overlay; | 147 Member<InspectorOverlay> m_overlay; |
| 148 Member<InspectedFrames> m_inspectedFrames; | 148 Member<InspectedFrames> m_inspectedFrames; |
| 149 Member<InspectorResourceContainer> m_resourceContainer; | 149 Member<InspectorResourceContainer> m_resourceContainer; |
| 150 | 150 |
| 151 Member<InspectorDOMAgent> m_domAgent; | 151 Member<InspectorDOMAgent> m_domAgent; |
| 152 Member<InspectorPageAgent> m_pageAgent; | 152 Member<InspectorPageAgent> m_pageAgent; |
| 153 Member<InspectorNetworkAgent> m_networkAgent; | 153 Member<InspectorNetworkAgent> m_networkAgent; |
| 154 Member<InspectorLayerTreeAgent> m_layerTreeAgent; | 154 Member<InspectorLayerTreeAgent> m_layerTreeAgent; |
| 155 Member<InspectorTracingAgent> m_tracingAgent; | 155 Member<InspectorTracingAgent> m_tracingAgent; |
| 156 | 156 |
| 157 Member<InspectorSession> m_session; | 157 Member<InspectorSession> m_session; |
| 158 bool m_includeViewAgents; | 158 bool m_includeViewAgents; |
| 159 int m_layerTreeId; | 159 int m_layerTreeId; |
| 160 }; | 160 }; |
| 161 | 161 |
| 162 } // namespace blink | 162 } // namespace blink |
| 163 | 163 |
| 164 #endif | 164 #endif |
| OLD | NEW |