Index: ppapi/c/dev/ppp_resize_dev.h |
=================================================================== |
--- ppapi/c/dev/ppp_resize_dev.h (revision 0) |
+++ ppapi/c/dev/ppp_resize_dev.h (revision 0) |
@@ -0,0 +1,23 @@ |
+/* Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+#ifndef PPAPI_C_DEV_PPP_RESIZE_DEV_H_ |
+#define PPAPI_C_DEV_PPP_RESIZE_DEV_H_ |
+ |
+#include "ppapi/c/pp_instance.h" |
+#include "ppapi/c/pp_resource.h" |
+ |
+// Interface for a full-frame plugin to implement when it wants to know when |
+// frame resizing starts and stops. |
+#define PPP_RESIZE_DEV_INTERFACE "PPP_Resize(Dev);0.1" |
+ |
+struct PPP_Resize_Dev { |
+ // Notification that the resizing for this full frame plugin has started. |
+ void (*WillStartLiveResize)(PP_Instance instance); |
+ |
+ // Notification that the resizing for this full frame plugin has stopped. |
+ void (*WillEndLiveResize)(PP_Instance instance); |
+}; |
+ |
+#endif /* PPAPI_C_DEV_PPP_RESIZE_DEV_H_ */ |
Property changes on: ppapi\c\dev\ppp_resize_dev.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |