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

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

Issue 11033046: DevTools: [remote debugging] introduce json/new and json/close for creating and closing the tabs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Used constants for about:blank Created 8 years, 2 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/debugger/devtools_http_handler_impl.cc ('k') | content/shell/shell_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/devtools_http_handler_delegate.h
diff --git a/content/public/browser/devtools_http_handler_delegate.h b/content/public/browser/devtools_http_handler_delegate.h
index 593c37cb52c83c3e9ab27231be4ad4abdb1cc53f..077b6139564718bd50ef94b203b7c5ab8c372b2d 100644
--- a/content/public/browser/devtools_http_handler_delegate.h
+++ b/content/public/browser/devtools_http_handler_delegate.h
@@ -14,7 +14,7 @@ class GURL;
namespace content {
-class WebContents;
+class RenderViewHost;
class DevToolsHttpHandlerDelegate {
public:
@@ -33,6 +33,9 @@ class DevToolsHttpHandlerDelegate {
// Get a thumbnail for a given page. Returns non-empty string iff we have the
// thumbnail.
virtual std::string GetPageThumbnailData(const GURL& url) = 0;
+
+ // Creates new inspectable target and returns its render view host.
+ virtual RenderViewHost* CreateNewTarget() = 0;
};
} // namespace content
« no previous file with comments | « content/browser/debugger/devtools_http_handler_impl.cc ('k') | content/shell/shell_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698