Index: webkit/plugins/ppapi/ppb_flash_menu_impl.h |
=================================================================== |
--- webkit/plugins/ppapi/ppb_flash_menu_impl.h (revision 89119) |
+++ webkit/plugins/ppapi/ppb_flash_menu_impl.h (working copy) |
@@ -11,6 +11,7 @@ |
#include "base/memory/ref_counted.h" |
#include "ppapi/c/pp_point.h" |
#include "ppapi/c/private/ppb_flash_menu.h" |
+#include "ppapi/thunk/ppb_flash_menu_api.h" |
#include "webkit/plugins/ppapi/callbacks.h" |
#include "webkit/plugins/ppapi/resource.h" |
@@ -19,17 +20,19 @@ |
namespace webkit { |
namespace ppapi { |
-class PPB_Flash_Menu_Impl : public Resource { |
+class PPB_Flash_Menu_Impl : public Resource, |
+ public ::ppapi::thunk::PPB_Flash_Menu_API { |
public: |
explicit PPB_Flash_Menu_Impl(PluginInstance* instance); |
virtual ~PPB_Flash_Menu_Impl(); |
- static const PPB_Flash_Menu* GetInterface(); |
+ static PP_Resource Create(PP_Instance instance, |
+ const PP_Flash_Menu* menu_data); |
bool Init(const PP_Flash_Menu* menu_data); |
- // Resource override. |
- virtual PPB_Flash_Menu_Impl* AsPPB_Flash_Menu_Impl(); |
+ // ResourceObjectBase. |
+ virtual ::ppapi::thunk::PPB_Flash_Menu_API* AsPPB_Flash_Menu_API() OVERRIDE; |
// PPB_Flash_Menu implementation. |
int32_t Show(const PP_Point* location, |