| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 // protocol::FrontendChannel implementation. | 131 // protocol::FrontendChannel implementation. |
| 132 void sendProtocolResponse(int sessionId, int callId, PassOwnPtr<protocol::Di
ctionaryValue> message) override; | 132 void sendProtocolResponse(int sessionId, int callId, PassOwnPtr<protocol::Di
ctionaryValue> message) override; |
| 133 void sendProtocolNotification(PassOwnPtr<protocol::DictionaryValue> message)
override; | 133 void sendProtocolNotification(PassOwnPtr<protocol::DictionaryValue> message)
override; |
| 134 void flush() override; | 134 void flush() override; |
| 135 | 135 |
| 136 // WebThread::TaskObserver implementation. | 136 // WebThread::TaskObserver implementation. |
| 137 void willProcessTask() override; | 137 void willProcessTask() override; |
| 138 void didProcessTask() override; | 138 void didProcessTask() override; |
| 139 | 139 |
| 140 void initializeDeferredAgents(); | 140 void initializeAgents(); |
| 141 void destroyAgents(); |
| 141 | 142 |
| 142 friend class WebDevToolsAgent; | 143 friend class WebDevToolsAgent; |
| 143 static void runDebuggerTask(int sessionId, PassOwnPtr<WebDevToolsAgent::Mess
ageDescriptor>); | 144 static void runDebuggerTask(int sessionId, PassOwnPtr<WebDevToolsAgent::Mess
ageDescriptor>); |
| 144 | 145 |
| 145 WebDevToolsAgentClient* m_client; | 146 WebDevToolsAgentClient* m_client; |
| 146 Member<WebLocalFrameImpl> m_webLocalFrameImpl; | 147 Member<WebLocalFrameImpl> m_webLocalFrameImpl; |
| 147 bool m_attached; | 148 bool m_attached; |
| 148 #if DCHECK_IS_ON() | 149 #if DCHECK_IS_ON() |
| 149 bool m_hasBeenDisposed; | 150 bool m_hasBeenDisposed; |
| 150 #endif | 151 #endif |
| 151 | 152 |
| 152 Member<InstrumentingAgents> m_instrumentingAgents; | 153 Member<InstrumentingAgents> m_instrumentingAgents; |
| 153 Member<InspectorResourceContentLoader> m_resourceContentLoader; | 154 Member<InspectorResourceContentLoader> m_resourceContentLoader; |
| 154 Member<InspectorOverlay> m_overlay; | 155 Member<InspectorOverlay> m_overlay; |
| 155 Member<InspectedFrames> m_inspectedFrames; | 156 Member<InspectedFrames> m_inspectedFrames; |
| 156 Member<InspectorResourceContainer> m_resourceContainer; | 157 Member<InspectorResourceContainer> m_resourceContainer; |
| 157 OwnPtr<V8InspectorSession> m_v8Session; | 158 OwnPtr<V8InspectorSession> m_v8Session; |
| 158 | 159 |
| 159 Member<InspectorDOMAgent> m_domAgent; | 160 Member<InspectorDOMAgent> m_domAgent; |
| 160 Member<InspectorPageAgent> m_pageAgent; | 161 Member<InspectorPageAgent> m_pageAgent; |
| 161 Member<InspectorResourceAgent> m_resourceAgent; | 162 Member<InspectorResourceAgent> m_resourceAgent; |
| 162 Member<InspectorLayerTreeAgent> m_layerTreeAgent; | 163 Member<InspectorLayerTreeAgent> m_layerTreeAgent; |
| 163 Member<InspectorTracingAgent> m_tracingAgent; | 164 Member<InspectorTracingAgent> m_tracingAgent; |
| 164 | 165 |
| 165 OwnPtr<protocol::Dispatcher> m_inspectorBackendDispatcher; | 166 OwnPtr<protocol::Dispatcher> m_inspectorBackendDispatcher; |
| 166 OwnPtr<protocol::Frontend> m_inspectorFrontend; | 167 OwnPtr<protocol::Frontend> m_inspectorFrontend; |
| 167 InspectorAgentRegistry m_agents; | 168 InspectorAgentRegistry m_agents; |
| 168 bool m_deferredAgentsInitialized; | |
| 169 bool m_includeViewAgents; | 169 bool m_includeViewAgents; |
| 170 | 170 |
| 171 typedef Vector<std::pair<int, OwnPtr<protocol::Value>>> NotificationQueue; | 171 typedef Vector<std::pair<int, OwnPtr<protocol::Value>>> NotificationQueue; |
| 172 NotificationQueue m_notificationQueue; | 172 NotificationQueue m_notificationQueue; |
| 173 int m_sessionId; | 173 int m_sessionId; |
| 174 String m_stateCookie; | 174 String m_stateCookie; |
| 175 bool m_stateMuted; | 175 bool m_stateMuted; |
| 176 int m_layerTreeId; | 176 int m_layerTreeId; |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 } // namespace blink | 179 } // namespace blink |
| 180 | 180 |
| 181 #endif | 181 #endif |
| OLD | NEW |