| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 static void webViewImplClosed(WebViewImpl*); | 88 static void webViewImplClosed(WebViewImpl*); |
| 89 static void webFrameWidgetImplClosed(WebFrameWidgetImpl*); | 89 static void webFrameWidgetImplClosed(WebFrameWidgetImpl*); |
| 90 | 90 |
| 91 // Instrumentation from web/ layer. | 91 // Instrumentation from web/ layer. |
| 92 void didCommitLoadForLocalFrame(LocalFrame*); | 92 void didCommitLoadForLocalFrame(LocalFrame*); |
| 93 void didStartProvisionalLoad(LocalFrame*); | 93 void didStartProvisionalLoad(LocalFrame*); |
| 94 bool screencastEnabled(); | 94 bool screencastEnabled(); |
| 95 void willAddPageOverlay(const GraphicsLayer*); | 95 void willAddPageOverlay(const GraphicsLayer*); |
| 96 void didRemovePageOverlay(const GraphicsLayer*); | 96 void didRemovePageOverlay(const GraphicsLayer*); |
| 97 void layerTreeViewChanged(WebLayerTreeView*); | 97 void layerTreeViewChanged(WebLayerTreeView*); |
| 98 void rootLayerCleared(); |
| 98 | 99 |
| 99 // WebDevToolsAgent implementation. | 100 // WebDevToolsAgent implementation. |
| 100 void attach(const WebString& hostId, int sessionId) override; | 101 void attach(const WebString& hostId, int sessionId) override; |
| 101 void reattach(const WebString& hostId, int sessionId, const WebString& saved
State) override; | 102 void reattach(const WebString& hostId, int sessionId, const WebString& saved
State) override; |
| 102 void detach() override; | 103 void detach() override; |
| 103 void continueProgram() override; | 104 void continueProgram() override; |
| 104 void dispatchOnInspectorBackend(int sessionId, int callId, const WebString&
method, const WebString& message) override; | 105 void dispatchOnInspectorBackend(int sessionId, int callId, const WebString&
method, const WebString& message) override; |
| 105 void inspectElementAt(int sessionId, const WebPoint&) override; | 106 void inspectElementAt(int sessionId, const WebPoint&) override; |
| 106 void failedToRequestDevTools() override; | 107 void failedToRequestDevTools() override; |
| 107 WebString evaluateInWebInspectorOverlay(const WebString& script) override; | 108 WebString evaluateInWebInspectorOverlay(const WebString& script) override; |
| 108 | 109 |
| 109 private: | 110 private: |
| 110 WebDevToolsAgentImpl(WebLocalFrameImpl*, WebDevToolsAgentClient*, InspectorO
verlay*, bool includeViewAgents); | 111 WebDevToolsAgentImpl(WebLocalFrameImpl*, WebDevToolsAgentClient*, InspectorO
verlay*, bool includeViewAgents); |
| 111 | 112 |
| 112 // InspectorTracingAgent::Client implementation. | 113 // InspectorTracingAgent::Client implementation. |
| 113 void enableTracing(const WTF::String& categoryFilter) override; | 114 void enableTracing(const WTF::String& categoryFilter) override; |
| 114 void disableTracing() override; | 115 void disableTracing() override; |
| 116 void showReloadingBlanket() override; |
| 117 void hideReloadingBlanket() override; |
| 115 | 118 |
| 116 // InspectorEmulationAgent::Client implementation. | 119 // InspectorEmulationAgent::Client implementation. |
| 117 void setCPUThrottlingRate(double) override; | 120 void setCPUThrottlingRate(double) override; |
| 118 | 121 |
| 119 // InspectorPageAgent::Client implementation. | 122 // InspectorPageAgent::Client implementation. |
| 120 void pageLayoutInvalidated(bool resized) override; | 123 void pageLayoutInvalidated(bool resized) override; |
| 121 void configureOverlay(bool suspended, const String& message) override; | 124 void configureOverlay(bool suspended, const String& message) override; |
| 122 void waitForCreateWindow(LocalFrame*) override; | 125 void waitForCreateWindow(LocalFrame*) override; |
| 123 | 126 |
| 124 // InspectorSession::Client implementation. | 127 // InspectorSession::Client implementation. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 153 Member<InspectorTracingAgent> m_tracingAgent; | 156 Member<InspectorTracingAgent> m_tracingAgent; |
| 154 | 157 |
| 155 Member<InspectorSession> m_session; | 158 Member<InspectorSession> m_session; |
| 156 bool m_includeViewAgents; | 159 bool m_includeViewAgents; |
| 157 int m_layerTreeId; | 160 int m_layerTreeId; |
| 158 }; | 161 }; |
| 159 | 162 |
| 160 } // namespace blink | 163 } // namespace blink |
| 161 | 164 |
| 162 #endif | 165 #endif |
| OLD | NEW |