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

Side by Side Diff: content/browser/devtools/render_frame_devtools_agent_host.h

Issue 2874613003: [DevTools] Support multiple clients in DevToolsAgentHost (Closed)
Patch Set: Created 3 years, 7 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 void DispatchBufferedProtocolMessagesIfNecessary(); 133 void DispatchBufferedProtocolMessagesIfNecessary();
134 134
135 void SetPending(RenderFrameHostImpl* host); 135 void SetPending(RenderFrameHostImpl* host);
136 void CommitPending(); 136 void CommitPending();
137 void DiscardPending(); 137 void DiscardPending();
138 void UpdateProtocolHandlers(RenderFrameHostImpl* host); 138 void UpdateProtocolHandlers(RenderFrameHostImpl* host);
139 139
140 bool IsChildFrame(); 140 bool IsChildFrame();
141 141
142 void OnClientAttached(); 142 void OnClientsAttached();
143 void OnClientDetached(); 143 void OnClientsDetached();
144 144
145 void RenderFrameCrashed(); 145 void RenderFrameCrashed();
146 void OnSwapCompositorFrame(const IPC::Message& message); 146 void OnSwapCompositorFrame(const IPC::Message& message);
147 void OnDispatchOnInspectorFrontend( 147 void OnDispatchOnInspectorFrontend(
148 RenderFrameHost* sender, 148 RenderFrameHost* sender,
149 const DevToolsMessageChunk& message); 149 const DevToolsMessageChunk& message);
150 void OnRequestNewWindow(RenderFrameHost* sender, int new_routing_id); 150 void OnRequestNewWindow(RenderFrameHost* sender, int new_routing_id);
151 void DestroyOnRenderFrameGone(); 151 void DestroyOnRenderFrameGone();
152 152
153 bool CheckConsistency(); 153 bool CheckConsistency();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 // The FrameTreeNode associated with this agent. 193 // The FrameTreeNode associated with this agent.
194 FrameTreeNode* frame_tree_node_; 194 FrameTreeNode* frame_tree_node_;
195 195
196 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); 196 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost);
197 }; 197 };
198 198
199 } // namespace content 199 } // namespace content
200 200
201 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 201 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/forwarding_agent_host.cc ('k') | content/browser/devtools/render_frame_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698