| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 // InspectorRuntimeAgent::Client implementation. | 126 // InspectorRuntimeAgent::Client implementation. |
| 127 void resumeStartup() override; | 127 void resumeStartup() override; |
| 128 | 128 |
| 129 // InspectorPageAgent::Client implementation. | 129 // InspectorPageAgent::Client implementation. |
| 130 void pageLayoutInvalidated(bool resized) override; | 130 void pageLayoutInvalidated(bool resized) override; |
| 131 void setPausedInDebuggerMessage(const String&) override; | 131 void setPausedInDebuggerMessage(const String&) override; |
| 132 void waitForCreateWindow(LocalFrame*) override; | 132 void waitForCreateWindow(LocalFrame*) override; |
| 133 | 133 |
| 134 // protocol::FrontendChannel implementation. | 134 // protocol::FrontendChannel implementation. |
| 135 void sendProtocolResponse(int sessionId, int callId, PassRefPtr<protocol::Di
ctionaryValue> message) override; | 135 void sendProtocolResponse(int sessionId, int callId, PassOwnPtr<protocol::Di
ctionaryValue> message) override; |
| 136 void sendProtocolNotification(PassRefPtr<protocol::DictionaryValue> message)
override; | 136 void sendProtocolNotification(PassOwnPtr<protocol::DictionaryValue> message)
override; |
| 137 void flush() override; | 137 void flush() override; |
| 138 | 138 |
| 139 // WebThread::TaskObserver implementation. | 139 // WebThread::TaskObserver implementation. |
| 140 void willProcessTask() override; | 140 void willProcessTask() override; |
| 141 void didProcessTask() override; | 141 void didProcessTask() override; |
| 142 | 142 |
| 143 void initializeDeferredAgents(); | 143 void initializeDeferredAgents(); |
| 144 | 144 |
| 145 WebDevToolsAgentClient* m_client; | 145 WebDevToolsAgentClient* m_client; |
| 146 RawPtrWillBeMember<WebLocalFrameImpl> m_webLocalFrameImpl; | 146 RawPtrWillBeMember<WebLocalFrameImpl> m_webLocalFrameImpl; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 161 RawPtrWillBeMember<InspectorLayerTreeAgent> m_layerTreeAgent; | 161 RawPtrWillBeMember<InspectorLayerTreeAgent> m_layerTreeAgent; |
| 162 RawPtrWillBeMember<InspectorTracingAgent> m_tracingAgent; | 162 RawPtrWillBeMember<InspectorTracingAgent> m_tracingAgent; |
| 163 RawPtrWillBeMember<PageRuntimeAgent> m_pageRuntimeAgent; | 163 RawPtrWillBeMember<PageRuntimeAgent> m_pageRuntimeAgent; |
| 164 RawPtrWillBeMember<PageConsoleAgent> m_pageConsoleAgent; | 164 RawPtrWillBeMember<PageConsoleAgent> m_pageConsoleAgent; |
| 165 | 165 |
| 166 RefPtr<protocol::Dispatcher> m_inspectorBackendDispatcher; | 166 RefPtr<protocol::Dispatcher> m_inspectorBackendDispatcher; |
| 167 OwnPtr<protocol::Frontend> m_inspectorFrontend; | 167 OwnPtr<protocol::Frontend> m_inspectorFrontend; |
| 168 InspectorAgentRegistry m_agents; | 168 InspectorAgentRegistry m_agents; |
| 169 bool m_deferredAgentsInitialized; | 169 bool m_deferredAgentsInitialized; |
| 170 | 170 |
| 171 typedef Vector<std::pair<int, RefPtr<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 | 176 |
| 177 friend class DebuggerTask; | 177 friend class DebuggerTask; |
| 178 }; | 178 }; |
| 179 | 179 |
| 180 } // namespace blink | 180 } // namespace blink |
| 181 | 181 |
| 182 #endif | 182 #endif |
| OLD | NEW |