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

Unified Diff: extensions/browser/api/web_contents_capture_client.h

Issue 2702093002: Consistent CopyFromSurface() API, consolidated to RWHV (Closed)
Patch Set: REBASE Created 3 years, 10 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: extensions/browser/api/web_contents_capture_client.h
diff --git a/extensions/browser/api/web_contents_capture_client.h b/extensions/browser/api/web_contents_capture_client.h
index 653535448fd9a77e966d000d2608fa65c3b5b329..d27ed6e3da83b201b890545f10b0376d7e36a495 100644
--- a/extensions/browser/api/web_contents_capture_client.h
+++ b/extensions/browser/api/web_contents_capture_client.h
@@ -41,8 +41,8 @@ class WebContentsCaptureClient {
bool EncodeBitmap(const SkBitmap& bitmap, std::string* base64_result);
virtual void OnCaptureFailure(FailureReason reason) = 0;
virtual void OnCaptureSuccess(const SkBitmap& bitmap) = 0;
- void CopyFromBackingStoreComplete(const SkBitmap& bitmap,
- content::ReadbackResponse response);
+ void CopyFromSurfaceComplete(const SkBitmap& bitmap,
+ content::ReadbackResponse response);
private:
// The format (JPEG vs PNG) of the resulting image. Set in RunAsync().

Powered by Google App Engine
This is Rietveld 408576698