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

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

Issue 12950002: Introduce DevToolsExternalAgentProxy interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_IPC_DEVTOOLS_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_BROWSER_IPC_DEVTOOLS_DEVTOOLS_AGENT_HOST_H_
7
8 #include "content/browser/devtools/devtools_agent_host_impl.h"
9
10 namespace IPC {
11 class Message;
12 }
13
14 namespace content {
15
16 class CONTENT_EXPORT IPCDevToolsAgentHost : public DevToolsAgentHostImpl {
17 public:
18 // DevToolsAgentHostImpl implementation.
19 virtual void Attach() OVERRIDE;
20 virtual void Detach() OVERRIDE;
21 virtual void DispatchOnInspectorBackend(const std::string& message) OVERRIDE;
22 virtual void InspectElement(int x, int y) OVERRIDE;
23
24 protected:
25 void Reattach(const std::string& saved_agent_state);
26
27 virtual void SendMessageToAgent(IPC::Message* msg) = 0;
28 virtual void NotifyClientAttaching() = 0;
29 virtual void NotifyClientDetaching() = 0;
30 };
31
32 } // namespace content
33
34 #endif // CONTENT_BROWSER_IPC_DEVTOOLS_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698