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

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

Issue 2161493002: [DevTools] Pass client initiating DevToolsAgentHost::inspectElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 5 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 98
99 // WebDevToolsAgent implementation. 99 // WebDevToolsAgent implementation.
100 void attach(const WebString& hostId, int sessionId) override; 100 void attach(const WebString& hostId, int sessionId) override;
101 void reattach(const WebString& hostId, int sessionId, const WebString& saved State) override; 101 void reattach(const WebString& hostId, int sessionId, const WebString& saved State) override;
102 void detach() override; 102 void detach() override;
103 void continueProgram() override; 103 void continueProgram() override;
104 void dispatchOnInspectorBackend(int sessionId, int callId, const WebString& method, const WebString& message) override; 104 void dispatchOnInspectorBackend(int sessionId, int callId, const WebString& method, const WebString& message) override;
105 void inspectElementAt(const WebPoint&) override; 105 void inspectElementAt(int sessionId, const WebPoint&) override;
106 void failedToRequestDevTools() override; 106 void failedToRequestDevTools() override;
107 WebString evaluateInWebInspectorOverlay(const WebString& script) override; 107 WebString evaluateInWebInspectorOverlay(const WebString& script) override;
108 108
109 private: 109 private:
110 WebDevToolsAgentImpl(WebLocalFrameImpl*, WebDevToolsAgentClient*, InspectorO verlay*, bool includeViewAgents); 110 WebDevToolsAgentImpl(WebLocalFrameImpl*, WebDevToolsAgentClient*, InspectorO verlay*, bool includeViewAgents);
111 111
112 // InspectorTracingAgent::Client implementation. 112 // InspectorTracingAgent::Client implementation.
113 void enableTracing(const WTF::String& categoryFilter) override; 113 void enableTracing(const WTF::String& categoryFilter) override;
114 void disableTracing() override; 114 void disableTracing() override;
115 115
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 Member<InspectorTracingAgent> m_tracingAgent; 157 Member<InspectorTracingAgent> m_tracingAgent;
158 158
159 Member<InspectorSession> m_session; 159 Member<InspectorSession> m_session;
160 bool m_includeViewAgents; 160 bool m_includeViewAgents;
161 int m_layerTreeId; 161 int m_layerTreeId;
162 }; 162 };
163 163
164 } // namespace blink 164 } // namespace blink
165 165
166 #endif 166 #endif
OLDNEW
« no previous file with comments | « content/shell/browser/shell_devtools_frontend.cc ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698