Index: ppapi/thunk/ppb_instance_api.h |
diff --git a/ppapi/thunk/ppb_instance_api.h b/ppapi/thunk/ppb_instance_api.h |
index 21187c44ef3b0f02de6b2d738a8e1d3d45d6be5a..678903c2dfd710c8cbc56bd9f0e984f6c5bad56a 100644 |
--- a/ppapi/thunk/ppb_instance_api.h |
+++ b/ppapi/thunk/ppb_instance_api.h |
@@ -19,6 +19,9 @@ |
#endif |
namespace ppapi { |
+ |
+struct ViewData; |
+ |
namespace thunk { |
class PPB_Instance_FunctionAPI { |
@@ -27,6 +30,10 @@ class PPB_Instance_FunctionAPI { |
virtual PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) = 0; |
virtual PP_Bool IsFullFrame(PP_Instance instance) = 0; |
+ virtual PP_Resource GetView(PP_Instance instance) = 0; |
dmichael (off chromium)
2011/12/20 19:01:34
Pretty sure now you're not using this one. Please
|
+ |
+ // Not an exposed PPAPI function, this returns the internal view data struct. |
+ virtual const ViewData* GetViewData(PP_Instance instance) = 0; |
// InstancePrivate. |
virtual PP_Var GetWindowObject(PP_Instance instance) = 0; |
@@ -55,7 +62,6 @@ class PPB_Instance_FunctionAPI { |
int32_t index) = 0; |
// Fullscreen. |
- virtual PP_Bool IsFullscreen(PP_Instance instance) = 0; |
virtual PP_Bool SetFullscreen(PP_Instance instance, |
PP_Bool fullscreen) = 0; |
virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) = 0; |