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

Side by Side Diff: content/public/browser/devtools_manager_delegate.h

Issue 290873002: DevTools: allow embedder handling remote debugger commands. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary include Created 6 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
« no previous file with comments | « content/browser/devtools/render_view_devtools_agent_host.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_
7 7
8 namespace base {
9 class DictionaryValue;
10 }
11
8 namespace content { 12 namespace content {
9 13
10 class BrowserContext; 14 class BrowserContext;
11 class DevToolsAgentHost; 15 class DevToolsAgentHost;
12 16
13 class DevToolsManagerDelegate { 17 class DevToolsManagerDelegate {
14 public: 18 public:
15 virtual ~DevToolsManagerDelegate() {} 19 virtual ~DevToolsManagerDelegate() {}
16 20
17 // Opens the inspector for |agent_host|. 21 // Opens the inspector for |agent_host|.
18 virtual void Inspect(BrowserContext* browser_context, 22 virtual void Inspect(BrowserContext* browser_context,
19 DevToolsAgentHost* agent_host) = 0; 23 DevToolsAgentHost* agent_host) = 0;
24
25 // Result ownership is passed to the caller.
26 virtual base::DictionaryValue* HandleCommand(
27 DevToolsAgentHost* agent_host,
28 base::DictionaryValue* command) = 0;
20 }; 29 };
21 30
22 } // namespace content 31 } // namespace content
23 32
24 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ 33 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/render_view_devtools_agent_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698