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

Unified Diff: ppapi/proxy/ppb_graphics_2d_proxy.cc

Issue 11053003: Migrate Graphics2D to new design. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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: ppapi/proxy/ppb_graphics_2d_proxy.cc
diff --git a/ppapi/proxy/ppb_graphics_2d_proxy.cc b/ppapi/proxy/ppb_graphics_2d_proxy.cc
index 47abef9689aa0630548eebe32ad852ef96fa5af3..d75d0d0db4cc98f74b9f8f52f6765a4627db5c73 100644
--- a/ppapi/proxy/ppb_graphics_2d_proxy.cc
+++ b/ppapi/proxy/ppb_graphics_2d_proxy.cc
@@ -49,6 +49,10 @@ class Graphics2D : public Resource, public thunk::PPB_Graphics2D_API {
float GetScale();
int32_t Flush(scoped_refptr<TrackedCallback> callback,
PP_Resource* old_image_data);
+ // Test only
+ bool ReadImageData(PP_Resource image, const PP_Point* top_left) {
+ return false;
+ }
// Notification that the host has sent an ACK for a pending Flush.
void FlushACK(int32_t result_code);

Powered by Google App Engine
This is Rietveld 408576698