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

Unified Diff: chrome/browser/extensions/api/capture_web_contents_function.h

Issue 259523008: Remove RenderWidgetHost::GetSnapshotFromRenderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: getsnapshotfromrenderer: rm Created 6 years, 8 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 | « no previous file | chrome/browser/extensions/api/capture_web_contents_function.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/capture_web_contents_function.h
diff --git a/chrome/browser/extensions/api/capture_web_contents_function.h b/chrome/browser/extensions/api/capture_web_contents_function.h
index 5df31b85a286366eb7ba59e4e2d6a151e077a19f..1e3a85f2fa208720d1c90cd96627e5f687179351 100644
--- a/chrome/browser/extensions/api/capture_web_contents_function.h
+++ b/chrome/browser/extensions/api/capture_web_contents_function.h
@@ -34,7 +34,6 @@ class CaptureWebContentsFunction : public ChromeAsyncExtensionFunction {
enum FailureReason {
FAILURE_REASON_UNKNOWN,
- FAILURE_REASON_CONTENT_NOT_FOUND,
FAILURE_REASON_ENCODING_FAILED,
FAILURE_REASON_VIEW_INVISIBLE
};
@@ -44,7 +43,6 @@ class CaptureWebContentsFunction : public ChromeAsyncExtensionFunction {
typedef api::types::ImageDetails ImageDetails;
void CopyFromBackingStoreComplete(bool succeed, const SkBitmap& bitmap);
- void GetSnapshotFromRendererComplete(bool succeeded, const SkBitmap& bitmap);
void OnCaptureSuccess(const SkBitmap& bitmap);
// |context_id_| is the ID used to find the relevant WebContents. In the
« no previous file with comments | « no previous file | chrome/browser/extensions/api/capture_web_contents_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698