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

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

Issue 11234008: Enable texture readback support for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments 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
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 fdb98c388b70d048e59f324f606c22f503dbab39..bce865f8515a5afd9a95d968c035a7279069d8d7 100644
--- a/content/public/browser/android/content_view_core.h
+++ b/content/public/browser/android/content_view_core.h
@@ -10,6 +10,10 @@
#include "content/public/browser/navigation_controller.h"
+namespace gfx {
+class Size;
+}
+
namespace ui {
class WindowAndroid;
}
@@ -33,6 +37,7 @@ class ContentViewCore {
virtual void OnWebPreferencesUpdated() = 0;
virtual jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj) = 0;
virtual void ShowPastePopup(int x, int y) = 0;
+ virtual unsigned int GetScaledContentTexture(const gfx::Size& size) = 0;
protected:
virtual ~ContentViewCore() {};
« content/public/browser/android/compositor.h ('K') | « content/public/browser/android/compositor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698