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

Unified Diff: content/shell/shell_devtools_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: Fixing anroid_dbg 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
Index: content/shell/shell_devtools_delegate.h
diff --git a/content/shell/shell_devtools_delegate.h b/content/shell/shell_devtools_delegate.h
index 19557c1fdd71ef59c4fe9510775ab6daad2d16c2..571bbbc708d5fb721af3d5aabcece7123800b89b 100644
--- a/content/shell/shell_devtools_delegate.h
+++ b/content/shell/shell_devtools_delegate.h
@@ -13,11 +13,12 @@
namespace content {
+class BrowserContext;
class DevToolsHttpHandler;
class ShellDevToolsDelegate : public DevToolsHttpHandlerDelegate {
public:
- explicit ShellDevToolsDelegate(int port);
+ explicit ShellDevToolsDelegate(BrowserContext* browser_context, int port);
yurys 2012/10/05 14:29:49 No need for explicit.
pfeldman 2012/10/05 14:36:47 Done.
virtual ~ShellDevToolsDelegate();
// Stops http server.
@@ -28,12 +29,14 @@ class ShellDevToolsDelegate : public DevToolsHttpHandlerDelegate {
virtual bool BundlesFrontendResources() OVERRIDE;
virtual FilePath GetDebugFrontendDir() OVERRIDE;
virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE;
+ virtual RenderViewHost* CreateNewTarget() OVERRIDE;
DevToolsHttpHandler* devtools_http_handler() {
return devtools_http_handler_;
}
private:
+ BrowserContext* browser_context_;
DevToolsHttpHandler* devtools_http_handler_;
DISALLOW_COPY_AND_ASSIGN(ShellDevToolsDelegate);

Powered by Google App Engine
This is Rietveld 408576698