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

Unified Diff: ppapi/thunk/ppb_image_data_api.h

Issue 9192038: Relanding this with fixes to the mac dbg builder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 | « ppapi/thunk/ppb_font_api.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_image_data_api.h
===================================================================
--- ppapi/thunk/ppb_image_data_api.h (revision 118405)
+++ ppapi/thunk/ppb_image_data_api.h (working copy)
@@ -8,6 +8,10 @@
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/ppb_image_data.h"
+namespace skia {
+class PlatformCanvas;
+}
+
namespace ppapi {
namespace thunk {
@@ -21,6 +25,9 @@
// Trusted inteface.
virtual int32_t GetSharedMemory(int* handle, uint32_t* byte_count) = 0;
+
+ // The canvas will be NULL if the image is not mapped.
+ virtual skia::PlatformCanvas* GetPlatformCanvas() = 0;
};
} // namespace thunk
« no previous file with comments | « ppapi/thunk/ppb_font_api.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698