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

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

Issue 7206016: Convert most remaining resources to use the API/thunk system. The significant (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_widget_impl.cc ('k') | webkit/plugins/ppapi/resource_creation_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/resource.h
===================================================================
--- webkit/plugins/ppapi/resource.h (revision 89672)
+++ webkit/plugins/ppapi/resource.h (working copy)
@@ -14,35 +14,11 @@
namespace webkit {
namespace ppapi {
-// If you inherit from resource, make sure you add the class name here.
+// Support the old way of doing resource casts for those resources that have
+// not been converted to the new system.
#define FOR_ALL_RESOURCES(F) \
F(MockResource) \
- F(PPB_AudioConfig_Impl) \
- F(PPB_Audio_Impl) \
- F(PPB_Broker_Impl) \
- F(PPB_Buffer_Impl) \
- F(PPB_Context3D_Impl) \
- F(PPB_DirectoryReader_Impl) \
- F(PPB_FileChooser_Impl) \
- F(PPB_FileIO_Impl) \
- F(PPB_FileRef_Impl) \
- F(PPB_FileSystem_Impl) \
- F(PPB_Flash_Menu_Impl) \
- F(PPB_Flash_NetConnector_Impl) \
- F(PPB_Font_Impl) \
- F(PPB_Graphics2D_Impl) \
- F(PPB_Graphics3D_Impl) \
- F(PPB_ImageData_Impl) \
- F(PPB_LayerCompositor_Impl) \
- F(PPB_Scrollbar_Impl) \
- F(PPB_Surface3D_Impl) \
- F(PPB_Transport_Impl) \
- F(PPB_URLLoader_Impl) \
- F(PPB_URLRequestInfo_Impl) \
- F(PPB_URLResponseInfo_Impl) \
- F(PPB_VideoDecoder_Impl) \
- F(PPB_VideoLayer_Impl) \
- F(PPB_Widget_Impl)
+ F(PPB_Scrollbar_Impl)
// Forward declaration of Resource classes.
#define DECLARE_RESOURCE_CLASS(RESOURCE) class RESOURCE;
« no previous file with comments | « webkit/plugins/ppapi/ppb_widget_impl.cc ('k') | webkit/plugins/ppapi/resource_creation_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698