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

Unified Diff: content/public/browser/devtools_manager.h

Issue 251653003: Introduces DevToolsManagerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Register OpenDevToolsWindowForWorkerCallback to DevToolsManager 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/devtools/devtools_manager_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/devtools_manager.h
diff --git a/content/public/browser/devtools_manager.h b/content/public/browser/devtools_manager.h
index 32082ea8bc55a24c1ffea5d1e2e8dcc0b5718352..b43dc9bb5bb3afe874c92dbf8a4e2a25d346c710 100644
--- a/content/public/browser/devtools_manager.h
+++ b/content/public/browser/devtools_manager.h
@@ -16,6 +16,7 @@ class Message;
namespace content {
+class BrowserContext;
class DevToolsAgentHost;
class DevToolsClientHost;
@@ -58,6 +59,12 @@ class CONTENT_EXPORT DevToolsManager {
virtual void AddAgentStateCallback(const Callback& callback) = 0;
virtual void RemoveAgentStateCallback(const Callback& callback) = 0;
+
+ typedef base::Callback<void(BrowserContext*, DevToolsAgentHost*)>
+ WindowOpenCallback;
+
+ virtual void RegisterOpenDevToolsWindowForWorkerCallback(
pfeldman 2014/05/07 16:01:30 It does not look too pretty. John, do you think we
jam 2014/05/08 16:27:17 just to make sure I understand, do you mean conten
+ const WindowOpenCallback& window_open_callback) = 0;
};
} // namespace content
« no previous file with comments | « content/browser/devtools/devtools_manager_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698