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

Unified Diff: webkit/plugins/ppapi/ppb_image_data_impl.h

Issue 7149026: Implement flash menu and net connector resources using the API/thunk model. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | « webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc ('k') | webkit/plugins/ppapi/ppb_image_data_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_image_data_impl.h
===================================================================
--- webkit/plugins/ppapi/ppb_image_data_impl.h (revision 89119)
+++ webkit/plugins/ppapi/ppb_image_data_impl.h (working copy)
@@ -48,24 +48,17 @@
return platform_image_.get();
}
- // Returns a pointer to the interface implementing PPB_ImageData that is
- // exposed to the plugin.
- static const PPB_ImageData* GetInterface();
- static const PPB_ImageDataTrusted* GetTrustedInterface();
+ virtual ::ppapi::thunk::PPB_ImageData_API* AsPPB_ImageData_API() OVERRIDE;
- virtual ::ppapi::thunk::PPB_ImageData_API* AsPPB_ImageData_API();
-
// Resource overrides.
- virtual PPB_ImageData_Impl* AsPPB_ImageData_Impl();
+ virtual PPB_ImageData_Impl* AsPPB_ImageData_Impl() OVERRIDE;
// PPB_ImageData_API implementation.
- virtual PP_Bool Describe(PP_ImageDataDesc* desc);
- virtual void* Map();
- virtual void Unmap();
+ virtual PP_Bool Describe(PP_ImageDataDesc* desc) OVERRIDE;
+ virtual void* Map() OVERRIDE;
+ virtual void Unmap() OVERRIDE;
+ virtual int32_t GetSharedMemory(int* handle, uint32_t* byte_count) OVERRIDE;
- // PPB_ImageDataTrusted implementation.
- int GetSharedMemoryHandle(uint32* byte_count) const;
-
// The mapped bitmap and canvas will be NULL if the image is not mapped.
skia::PlatformCanvas* mapped_canvas() const { return mapped_canvas_.get(); }
const SkBitmap* GetMappedBitmap() const;
« no previous file with comments | « webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc ('k') | webkit/plugins/ppapi/ppb_image_data_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698