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

Side by Side Diff: webkit/plugins/ppapi/resource.h

Issue 6253017: Pepper/Flapper: First pass at context menu implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make brettw happier Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/ppapi/ppb_flash_menu_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_PLUGINS_PPAPI_RESOURCE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_RESOURCE_H_
6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "ppapi/c/pp_resource.h" 10 #include "ppapi/c/pp_resource.h"
11 #include "webkit/plugins/ppapi/resource_tracker.h" 11 #include "webkit/plugins/ppapi/resource_tracker.h"
12 12
13 namespace webkit { 13 namespace webkit {
14 namespace ppapi { 14 namespace ppapi {
15 15
16 // If you inherit from resource, make sure you add the class name here. 16 // If you inherit from resource, make sure you add the class name here.
17 #define FOR_ALL_RESOURCES(F) \ 17 #define FOR_ALL_RESOURCES(F) \
18 F(MockResource) \ 18 F(MockResource) \
19 F(PPB_AudioConfig_Impl) \ 19 F(PPB_AudioConfig_Impl) \
20 F(PPB_Audio_Impl) \ 20 F(PPB_Audio_Impl) \
21 F(PPB_Buffer_Impl) \ 21 F(PPB_Buffer_Impl) \
22 F(PPB_Context3D_Impl) \ 22 F(PPB_Context3D_Impl) \
23 F(PPB_DirectoryReader_Impl) \ 23 F(PPB_DirectoryReader_Impl) \
24 F(PPB_FileChooser_Impl) \ 24 F(PPB_FileChooser_Impl) \
25 F(PPB_FileIO_Impl) \ 25 F(PPB_FileIO_Impl) \
26 F(PPB_FileRef_Impl) \ 26 F(PPB_FileRef_Impl) \
27 F(PPB_FileSystem_Impl) \ 27 F(PPB_FileSystem_Impl) \
28 F(PPB_Flash_Menu_Impl) \
28 F(PPB_Flash_NetConnector_Impl) \ 29 F(PPB_Flash_NetConnector_Impl) \
29 F(PPB_Font_Impl) \ 30 F(PPB_Font_Impl) \
30 F(PPB_Graphics2D_Impl) \ 31 F(PPB_Graphics2D_Impl) \
31 F(PPB_Graphics3D_Impl) \ 32 F(PPB_Graphics3D_Impl) \
32 F(PPB_ImageData_Impl) \ 33 F(PPB_ImageData_Impl) \
33 F(PPB_Scrollbar_Impl) \ 34 F(PPB_Scrollbar_Impl) \
34 F(PPB_Surface3D_Impl) \ 35 F(PPB_Surface3D_Impl) \
35 F(PPB_Transport_Impl) \ 36 F(PPB_Transport_Impl) \
36 F(PPB_URLLoader_Impl) \ 37 F(PPB_URLLoader_Impl) \
37 F(PPB_URLRequestInfo_Impl) \ 38 F(PPB_URLRequestInfo_Impl) \
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 return As##Type(); \ 146 return As##Type(); \
146 } 147 }
147 148
148 FOR_ALL_RESOURCES(DEFINE_RESOURCE_CAST) 149 FOR_ALL_RESOURCES(DEFINE_RESOURCE_CAST)
149 #undef DEFINE_RESOURCE_CAST 150 #undef DEFINE_RESOURCE_CAST
150 151
151 } // namespace ppapi 152 } // namespace ppapi
152 } // namespace webkit 153 } // namespace webkit
153 154
154 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_H_ 155 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_flash_menu_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698