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

Unified Diff: ppapi/thunk/ppb_instance_api.h

Issue 8951014: Change the DidChangeView update to take a new ViewChanged resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New patch Created 9 years 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
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;

Powered by Google App Engine
This is Rietveld 408576698