| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 void attach(const WebString& hostId, int sessionId) override; | 103 void attach(const WebString& hostId, int sessionId) override; |
| 104 void reattach(const WebString& hostId, int sessionId, const WebString& saved
State) override; | 104 void reattach(const WebString& hostId, int sessionId, const WebString& saved
State) override; |
| 105 void detach() override; | 105 void detach() override; |
| 106 void continueProgram() override; | 106 void continueProgram() override; |
| 107 void dispatchOnInspectorBackend(int sessionId, const WebString& message) ove
rride; | 107 void dispatchOnInspectorBackend(int sessionId, const WebString& message) ove
rride; |
| 108 void inspectElementAt(const WebPoint&) override; | 108 void inspectElementAt(const WebPoint&) override; |
| 109 void failedToRequestDevTools() override; | 109 void failedToRequestDevTools() override; |
| 110 WebString evaluateInWebInspectorOverlay(const WebString& script) override; | 110 WebString evaluateInWebInspectorOverlay(const WebString& script) override; |
| 111 | 111 |
| 112 private: | 112 private: |
| 113 WebDevToolsAgentImpl(WebLocalFrameImpl*, WebDevToolsAgentClient*, InspectorO
verlay*); | 113 WebDevToolsAgentImpl(WebLocalFrameImpl*, WebDevToolsAgentClient*, InspectorO
verlay*, bool includeViewAgents); |
| 114 | 114 |
| 115 // InspectorTracingAgent::Client implementation. | 115 // InspectorTracingAgent::Client implementation. |
| 116 void enableTracing(const WTF::String& categoryFilter) override; | 116 void enableTracing(const WTF::String& categoryFilter) override; |
| 117 void disableTracing() override; | 117 void disableTracing() override; |
| 118 | 118 |
| 119 // InspectorEmulationAgent::Client implementation. | 119 // InspectorEmulationAgent::Client implementation. |
| 120 void setCPUThrottlingRate(double) override; | 120 void setCPUThrottlingRate(double) override; |
| 121 | 121 |
| 122 // InspectorRuntimeAgent::Client implementation. | 122 // InspectorRuntimeAgent::Client implementation. |
| 123 void resumeStartup() override; | 123 void resumeStartup() override; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 Member<InspectorDOMAgent> m_domAgent; | 157 Member<InspectorDOMAgent> m_domAgent; |
| 158 Member<InspectorPageAgent> m_pageAgent; | 158 Member<InspectorPageAgent> m_pageAgent; |
| 159 Member<InspectorResourceAgent> m_resourceAgent; | 159 Member<InspectorResourceAgent> m_resourceAgent; |
| 160 Member<InspectorLayerTreeAgent> m_layerTreeAgent; | 160 Member<InspectorLayerTreeAgent> m_layerTreeAgent; |
| 161 Member<InspectorTracingAgent> m_tracingAgent; | 161 Member<InspectorTracingAgent> m_tracingAgent; |
| 162 | 162 |
| 163 OwnPtr<protocol::Dispatcher> m_inspectorBackendDispatcher; | 163 OwnPtr<protocol::Dispatcher> m_inspectorBackendDispatcher; |
| 164 OwnPtr<protocol::Frontend> m_inspectorFrontend; | 164 OwnPtr<protocol::Frontend> m_inspectorFrontend; |
| 165 InspectorAgentRegistry m_agents; | 165 InspectorAgentRegistry m_agents; |
| 166 bool m_deferredAgentsInitialized; | 166 bool m_deferredAgentsInitialized; |
| 167 bool m_includeViewAgents; |
| 167 | 168 |
| 168 typedef Vector<std::pair<int, OwnPtr<protocol::Value>>> NotificationQueue; | 169 typedef Vector<std::pair<int, OwnPtr<protocol::Value>>> NotificationQueue; |
| 169 NotificationQueue m_notificationQueue; | 170 NotificationQueue m_notificationQueue; |
| 170 int m_sessionId; | 171 int m_sessionId; |
| 171 String m_stateCookie; | 172 String m_stateCookie; |
| 172 bool m_stateMuted; | 173 bool m_stateMuted; |
| 173 int m_layerTreeId; | 174 int m_layerTreeId; |
| 174 }; | 175 }; |
| 175 | 176 |
| 176 } // namespace blink | 177 } // namespace blink |
| 177 | 178 |
| 178 #endif | 179 #endif |
| OLD | NEW |