diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-27 05:50:36 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-27 05:50:36 +0000 |
commit | e5ea93b54f4159a75df435115e9962d8c6c50314 (patch) | |
tree | b75cfa3f79ca2f3a4c980189fa3ba5db16b9c2a3 /content/shell | |
parent | b2202f7071663297884b4397825c2f987ba5c63d (diff) | |
download | chromium_src-e5ea93b54f4159a75df435115e9962d8c6c50314.zip chromium_src-e5ea93b54f4159a75df435115e9962d8c6c50314.tar.gz chromium_src-e5ea93b54f4159a75df435115e9962d8c6c50314.tar.bz2 |
DevTools: request page thumbnails from the devtools handler delegate, do not redirect to chrome://thumb.
Review URL: https://chromiumcodereview.appspot.com/10985041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell')
-rw-r--r-- | content/shell/shell_devtools_delegate.cc | 5 | ||||
-rw-r--r-- | content/shell/shell_devtools_delegate.h | 1 | ||||
-rw-r--r-- | content/shell/shell_devtools_delegate_android.cc | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/content/shell/shell_devtools_delegate.cc b/content/shell/shell_devtools_delegate.cc index 1c79ea1..2c20720 100644 --- a/content/shell/shell_devtools_delegate.cc +++ b/content/shell/shell_devtools_delegate.cc @@ -46,4 +46,9 @@ std::string ShellDevToolsDelegate::GetFrontendResourcesBaseURL() { return ""; } + +std::string ShellDevToolsDelegate::GetPageThumbnailData(const GURL& url) { + return ""; +} + } // namespace content diff --git a/content/shell/shell_devtools_delegate.h b/content/shell/shell_devtools_delegate.h index d3d6319..1638247 100644 --- a/content/shell/shell_devtools_delegate.h +++ b/content/shell/shell_devtools_delegate.h @@ -31,6 +31,7 @@ class ShellDevToolsDelegate : public DevToolsHttpHandlerDelegate { virtual std::string GetDiscoveryPageHTML() OVERRIDE; virtual bool BundlesFrontendResources() OVERRIDE; virtual std::string GetFrontendResourcesBaseURL() OVERRIDE; + virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; DevToolsHttpHandler* devtools_http_handler() { return devtools_http_handler_; diff --git a/content/shell/shell_devtools_delegate_android.cc b/content/shell/shell_devtools_delegate_android.cc index fd87fb3..38df1b4 100644 --- a/content/shell/shell_devtools_delegate_android.cc +++ b/content/shell/shell_devtools_delegate_android.cc @@ -62,4 +62,8 @@ std::string ShellDevToolsDelegate::GetFrontendResourcesBaseURL() { return ""; } +std::string ShellDevToolsDelegate::GetPageThumbnailData(const GURL& url) { + return ""; +} + } // namespace content |