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

Unified Diff: content/public/browser/android/content_view_core.h

Issue 173023005: Adds support for capturing a sub rect of the compositing surface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: content/public/browser/android/content_view_core.h
diff --git a/content/public/browser/android/content_view_core.h b/content/public/browser/android/content_view_core.h
index b980b7d296767512c0cda6cebbe61be61f09b460..f8cb28dc7bbe633a0ec07491918b5c9e3c342029 100644
--- a/content/public/browser/android/content_view_core.h
+++ b/content/public/browser/android/content_view_core.h
@@ -57,6 +57,7 @@ class CONTENT_EXPORT ContentViewCore {
// |out_size| is returned with the size of the content.
virtual void GetScaledContentBitmap(
float scale,
+ gfx::Rect src_rect,
gfx::Size* out_size,
const base::Callback<void(bool, const SkBitmap&)>& result_callback) = 0;
virtual float GetDpiScale() const = 0;

Powered by Google App Engine
This is Rietveld 408576698