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

Unified Diff: content/shell/browser/shell_devtools_delegate.h

Issue 24995003: DevTools: Extract target discovery and manipulation from DevToolsHttpHandlerImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added Android implementations Created 7 years, 3 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/browser/shell_devtools_delegate.h
diff --git a/content/shell/browser/shell_devtools_delegate.h b/content/shell/browser/shell_devtools_delegate.h
index ad694c515e0219063c12780e477a2d3f528bf2d6..9fa62dd1e102f082225506dac33d0741ecc59033 100644
--- a/content/shell/browser/shell_devtools_delegate.h
+++ b/content/shell/browser/shell_devtools_delegate.h
@@ -26,10 +26,14 @@ class ShellDevToolsDelegate : public DevToolsHttpHandlerDelegate {
virtual std::string GetDiscoveryPageHTML() OVERRIDE;
virtual bool BundlesFrontendResources() OVERRIDE;
virtual base::FilePath GetDebugFrontendDir() OVERRIDE;
- virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE;
- virtual RenderViewHost* CreateNewTarget() OVERRIDE;
- virtual TargetType GetTargetType(RenderViewHost*) OVERRIDE;
- virtual std::string GetViewDescription(content::RenderViewHost*) OVERRIDE;
+ virtual bool SupportsPageThumbnails() OVERRIDE;
+ virtual std::string GetPageThumbnailData(const std::string& id) OVERRIDE;
+ virtual Target* CreateNewTarget() OVERRIDE;
+ virtual bool ActivateTarget(const std::string& id) OVERRIDE;
+ virtual bool CloseTarget(const std::string& id) OVERRIDE;
+ virtual scoped_refptr<content::DevToolsAgentHost> GetAgentHost(
+ const std::string& id) OVERRIDE;
+ virtual void RequestTargets(TargetCallback callback) OVERRIDE;
virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering(
net::StreamListenSocket::Delegate* delegate,
std::string* name) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698