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

Unified Diff: content/shell/shell_devtools_delegate.h

Issue 10837177: Add a menu item to content_shell to open devtools to make it more discoverable. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix android compile, and add gtk support Created 8 years, 4 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
===================================================================
--- content/shell/shell_devtools_delegate.h (revision 150609)
+++ content/shell/shell_devtools_delegate.h (working copy)
@@ -21,7 +21,7 @@
class ShellDevToolsDelegate : public DevToolsHttpHandlerDelegate {
public:
- ShellDevToolsDelegate(int port, net::URLRequestContextGetter* context_getter);
+ explicit ShellDevToolsDelegate(net::URLRequestContextGetter* context_getter);
virtual ~ShellDevToolsDelegate();
// Stops http server.
@@ -32,6 +32,10 @@
virtual bool BundlesFrontendResources() OVERRIDE;
virtual std::string GetFrontendResourcesBaseURL() OVERRIDE;
+ DevToolsHttpHandler* devtools_http_handler() {
+ return devtools_http_handler_;
+ }
+
private:
net::URLRequestContextGetter* context_getter_;
DevToolsHttpHandler* devtools_http_handler_;

Powered by Google App Engine
This is Rietveld 408576698