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

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

Issue 10985041: DevTools: request page thumbnails from the devtools handler delegate, do not redirect to chrome://t… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Android delegate updated. Created 8 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
« no previous file with comments | « content/browser/debugger/devtools_http_handler_impl.cc ('k') | content/shell/shell_devtools_delegate.h » ('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 4ff7058f03f23d33db56172bcbb56dfe6fdc8be6..36c3b07f086c3e00e8d2b02c5bc6a6bfbb7eb74d 100644
--- a/content/public/browser/devtools_http_handler_delegate.h
+++ b/content/public/browser/devtools_http_handler_delegate.h
@@ -8,6 +8,8 @@
#include <string>
#include <vector>
+class GURL;
+
namespace content {
class WebContents;
@@ -26,6 +28,10 @@ class DevToolsHttpHandlerDelegate {
// Returns URL that front-end files are available at, empty string if
// no internal server is available.
virtual std::string GetFrontendResourcesBaseURL() = 0;
+
+ // Get a thumbnail for a given page. Returns non-empty string iff we have the
+ // thumbnail.
+ virtual std::string GetPageThumbnailData(const GURL& url) = 0;
};
} // namespace content
« no previous file with comments | « content/browser/debugger/devtools_http_handler_impl.cc ('k') | content/shell/shell_devtools_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698