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

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

Issue 11361034: DevTools: [remote debugging] emit Inspector.detached protocol message upon connectin termination. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comment addressed Created 8 years, 1 month 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
Index: content/public/browser/devtools_client_host.h
diff --git a/content/public/browser/devtools_client_host.h b/content/public/browser/devtools_client_host.h
index 310627ee00cc0661c5e13ef82522c2b9891351b1..98a62a59acfd6e05514013f5c52536cbda4cc851 100644
--- a/content/public/browser/devtools_client_host.h
+++ b/content/public/browser/devtools_client_host.h
@@ -42,6 +42,10 @@ class CONTENT_EXPORT DevToolsClientHost {
// Invoked when the contents are replaced by another contents.
virtual void ContentsReplaced(WebContents* new_contents) = 0;
+ // Called to notify client that it has been kicked out by some other client
+ // with greater priority.
+ virtual void ReplacedWithAnotherClient() = 0;
+
// Creates a DevToolsClientHost for a WebContents containing the default
// DevTools frontend implementation.
static DevToolsClientHost* CreateDevToolsFrontendHost(

Powered by Google App Engine
This is Rietveld 408576698