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

Unified Diff: content/shell/shell_devtools_delegate_android.cc

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_android.cc
diff --git a/content/shell/shell_devtools_delegate_android.cc b/content/shell/shell_devtools_delegate_android.cc
index 59098f9b7fca53d0f5212a90ee7bde086e66a965..1ec1f31c489c16857ff20fc4a4055b139c92146e 100644
--- a/content/shell/shell_devtools_delegate_android.cc
+++ b/content/shell/shell_devtools_delegate_android.cc
@@ -13,6 +13,7 @@
#include "ui/base/layout.h"
#include "ui/base/resource/resource_bundle.h"
yurys 2012/10/05 14:29:49 Revert this line.
pfeldman 2012/10/05 14:36:47 Done.
+
namespace {
// TODO(mnaganov): This hardcoded version should be replaced with the webkit
@@ -27,7 +28,9 @@ const char kFrontEndURL[] =
namespace content {
-ShellDevToolsDelegate::ShellDevToolsDelegate(int port) {
+ShellDevToolsDelegate::ShellDevToolsDelegate(BrowserContext* browser_context,
+ int port)
+ : browser_context_(browser_context) {
devtools_http_handler_ = DevToolsHttpHandler::Start(
new net::UnixDomainSocketWithAbstractNamespaceFactory(
kSocketName,
@@ -62,4 +65,8 @@ std::string ShellDevToolsDelegate::GetPageThumbnailData(const GURL& url) {
return "";
}
+RenderViewHost* ShellDevToolsDelegate::CreateNewTarget() {
+ return NULL;
+}
+
} // namespace content
« content/shell/shell_devtools_delegate.h ('K') | « content/shell/shell_devtools_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698