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

Unified Diff: content/browser/android/content_view_core_impl.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: Rebase to reland 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/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 1e635211427d776cdb627d5a417473676b49af3c..595f4188d6d12bca33cee1a78d93e0cf1ba1f2e4 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -60,6 +60,7 @@ class ContentViewCoreImpl : public ContentViewCore,
virtual void GetScaledContentBitmap(
float scale,
jobject bitmap_config,
+ gfx::Rect src_subrect,
const base::Callback<void(bool, const SkBitmap&)>& result_callback)
OVERRIDE;
virtual float GetDpiScale() const OVERRIDE;
@@ -198,9 +199,6 @@ class ContentViewCoreImpl : public ContentViewCore,
jlong interval_micros);
void OnVSync(JNIEnv* env, jobject /* obj */, jlong frame_time_micros);
jboolean OnAnimate(JNIEnv* env, jobject /* obj */, jlong frame_time_micros);
- jboolean PopulateBitmapFromCompositor(JNIEnv* env,
- jobject obj,
- jobject jbitmap);
void WasResized(JNIEnv* env, jobject obj);
jboolean IsRenderWidgetHostViewReady(JNIEnv* env, jobject obj);
void ExitFullscreen(JNIEnv* env, jobject obj);
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/NativePage.java ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698