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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
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_PUBLIC_BROWSER_DEVTOOLS_CLIENT_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_CLIENT_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_CLIENT_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_CLIENT_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 24 matching lines...) Expand all
35 // is closing. 35 // is closing.
36 virtual void InspectedContentsClosing() = 0; 36 virtual void InspectedContentsClosing() = 0;
37 37
38 // This method is called when the contents inspected by this devtools client 38 // This method is called when the contents inspected by this devtools client
39 // is navigating to |url|. 39 // is navigating to |url|.
40 virtual void FrameNavigating(const std::string& url) = 0; 40 virtual void FrameNavigating(const std::string& url) = 0;
41 41
42 // Invoked when the contents are replaced by another contents. 42 // Invoked when the contents are replaced by another contents.
43 virtual void ContentsReplaced(WebContents* new_contents) = 0; 43 virtual void ContentsReplaced(WebContents* new_contents) = 0;
44 44
45 // Called to notify client that it has been kicked out by some other client
46 // with greater priority.
47 virtual void ReplacedWithAnotherClient() = 0;
48
45 // Creates a DevToolsClientHost for a WebContents containing the default 49 // Creates a DevToolsClientHost for a WebContents containing the default
46 // DevTools frontend implementation. 50 // DevTools frontend implementation.
47 static DevToolsClientHost* CreateDevToolsFrontendHost( 51 static DevToolsClientHost* CreateDevToolsFrontendHost(
48 WebContents* client_web_contents, 52 WebContents* client_web_contents,
49 DevToolsFrontendHostDelegate* delegate); 53 DevToolsFrontendHostDelegate* delegate);
50 54
51 // Sets up DevToolsClient on the corresponding RenderView. 55 // Sets up DevToolsClient on the corresponding RenderView.
52 static void SetupDevToolsFrontendClient(RenderViewHost* frontend_rvh); 56 static void SetupDevToolsFrontendClient(RenderViewHost* frontend_rvh);
53 }; 57 };
54 58
55 } // namespace content 59 } // namespace content
56 60
57 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_CLIENT_HOST_H_ 61 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_CLIENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698