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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 11234008: Enable texture readback support for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 2 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 | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 23cdc6663f4101c4136e792520d931121bd0fbb8..bbfc68f25a6d8080f354074c7cde946e2756c975 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -50,6 +50,7 @@ class ContentViewCoreImpl : public ContentViewCore,
virtual void OnWebPreferencesUpdated() OVERRIDE;
virtual jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj) OVERRIDE;
virtual void ShowPastePopup(int x, int y) OVERRIDE;
+ virtual unsigned int GetScaledContentTexture(const gfx::Size& size) OVERRIDE;
// --------------------------------------------------------------------------
// Methods called from Java via JNI
@@ -173,6 +174,9 @@ class ContentViewCoreImpl : public ContentViewCore,
int GetNavigationHistory(JNIEnv* env, jobject obj, jobject context);
void UpdateVSyncParameters(JNIEnv* env, jobject obj, jlong timebase_micros,
jlong interval_micros);
+ jboolean PopulateBitmapFromCompositor(JNIEnv* env,
+ jobject obj,
+ jobject jbitmap);
// --------------------------------------------------------------------------
// Public methods that call to Java via JNI
@@ -238,6 +242,9 @@ class ContentViewCoreImpl : public ContentViewCore,
float DpiScale() const;
WebKit::WebGestureEvent MakeGestureEvent(WebKit::WebInputEvent::Type type,
long time_ms, int x, int y) const;
+
+ void DeleteScaledSnapshotTexture();
+
struct JavaObject;
JavaObject* java_object_;
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698