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

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

Issue 11558039: Subrect snapshot support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added intersect of src_size to actual texture_size Created 8 years 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 7a3c342ea8a500332ebd47abd108f5036d20683e..6772981c6fb8e2427ddbc3403180515069eaae6f 100644
--- a/content/public/browser/android/content_view_core.h
+++ b/content/public/browser/android/content_view_core.h
@@ -15,6 +15,7 @@ class Layer;
}
namespace gfx {
+class Rect;
class Size;
}
@@ -45,6 +46,8 @@ class ContentViewCore {
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;
+ virtual unsigned int GetScaledContentTexture(const gfx::Size& size,
+ const gfx::Rect& src_rect) = 0;
protected:
virtual ~ContentViewCore() {};
« content/browser/android/content_view_core_impl.cc ('K') | « content/common/gpu/client/gl_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698