Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(517)

Side by Side Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.h

Issue 1761663003: Revert of [DevTools] Postpone more agents instantiation until attached. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: manual Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 // InspectorTracingAgent::Client implementation. 119 // InspectorTracingAgent::Client implementation.
120 void enableTracing(const WTF::String& categoryFilter) override; 120 void enableTracing(const WTF::String& categoryFilter) override;
121 void disableTracing() override; 121 void disableTracing() override;
122 122
123 // InspectorEmulationAgent::Client implementation. 123 // InspectorEmulationAgent::Client implementation.
124 void setCPUThrottlingRate(double) override; 124 void setCPUThrottlingRate(double) override;
125 125
126 // InspectorRuntimeAgent::Client implementation. 126 // InspectorRuntimeAgent::Client implementation.
127 void resumeStartup() override; 127 void resumeStartup() override;
128 bool didCommitLoadFired() override;
129 128
130 // InspectorPageAgent::Client implementation. 129 // InspectorPageAgent::Client implementation.
131 void pageLayoutInvalidated(bool resized) override; 130 void pageLayoutInvalidated(bool resized) override;
132 void setPausedInDebuggerMessage(const String&) override; 131 void setPausedInDebuggerMessage(const String&) override;
133 void waitForCreateWindow(LocalFrame*) override; 132 void waitForCreateWindow(LocalFrame*) override;
134 133
135 // protocol::FrontendChannel implementation. 134 // protocol::FrontendChannel implementation.
136 void sendProtocolResponse(int sessionId, int callId, PassOwnPtr<protocol::Di ctionaryValue> message) override; 135 void sendProtocolResponse(int sessionId, int callId, PassOwnPtr<protocol::Di ctionaryValue> message) override;
137 void sendProtocolNotification(PassOwnPtr<protocol::DictionaryValue> message) override; 136 void sendProtocolNotification(PassOwnPtr<protocol::DictionaryValue> message) override;
138 void flush() override; 137 void flush() override;
(...skipping 15 matching lines...) Expand all
154 OwnPtrWillBeMember<InspectorResourceContentLoader> m_resourceContentLoader; 153 OwnPtrWillBeMember<InspectorResourceContentLoader> m_resourceContentLoader;
155 OwnPtrWillBeMember<InspectorOverlay> m_overlay; 154 OwnPtrWillBeMember<InspectorOverlay> m_overlay;
156 OwnPtrWillBeMember<InspectedFrames> m_inspectedFrames; 155 OwnPtrWillBeMember<InspectedFrames> m_inspectedFrames;
157 156
158 RawPtrWillBeMember<InspectorInspectorAgent> m_inspectorAgent; 157 RawPtrWillBeMember<InspectorInspectorAgent> m_inspectorAgent;
159 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; 158 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent;
160 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; 159 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
161 RawPtrWillBeMember<InspectorResourceAgent> m_resourceAgent; 160 RawPtrWillBeMember<InspectorResourceAgent> m_resourceAgent;
162 RawPtrWillBeMember<InspectorLayerTreeAgent> m_layerTreeAgent; 161 RawPtrWillBeMember<InspectorLayerTreeAgent> m_layerTreeAgent;
163 RawPtrWillBeMember<InspectorTracingAgent> m_tracingAgent; 162 RawPtrWillBeMember<InspectorTracingAgent> m_tracingAgent;
164 RawPtrWillBeMember<InspectorWorkerAgent> m_workerAgent;
165 RawPtrWillBeMember<PageRuntimeAgent> m_pageRuntimeAgent; 163 RawPtrWillBeMember<PageRuntimeAgent> m_pageRuntimeAgent;
166 RawPtrWillBeMember<PageConsoleAgent> m_pageConsoleAgent; 164 RawPtrWillBeMember<PageConsoleAgent> m_pageConsoleAgent;
167 165
168 int m_layerTreeId;
169 bool m_inspectedFrameDidCommitLoad;
170
171 OwnPtr<protocol::Dispatcher> m_inspectorBackendDispatcher; 166 OwnPtr<protocol::Dispatcher> m_inspectorBackendDispatcher;
172 OwnPtr<protocol::Frontend> m_inspectorFrontend; 167 OwnPtr<protocol::Frontend> m_inspectorFrontend;
173 InspectorAgentRegistry m_agents; 168 InspectorAgentRegistry m_agents;
174 bool m_deferredAgentsInitialized; 169 bool m_deferredAgentsInitialized;
175 170
176 typedef Vector<std::pair<int, OwnPtr<protocol::Value>>> NotificationQueue; 171 typedef Vector<std::pair<int, OwnPtr<protocol::Value>>> NotificationQueue;
177 NotificationQueue m_notificationQueue; 172 NotificationQueue m_notificationQueue;
178 int m_sessionId; 173 int m_sessionId;
179 String m_stateCookie; 174 String m_stateCookie;
180 bool m_stateMuted; 175 bool m_stateMuted;
181 176
182 friend class DebuggerTask; 177 friend class DebuggerTask;
183 }; 178 };
184 179
185 } // namespace blink 180 } // namespace blink
186 181
187 #endif 182 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698