OLD | NEW |
(Empty) | |
| 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 |
| 3 * found in the LICENSE file. |
| 4 */ |
| 5 #ifndef PPAPI_C_DEV_PPP_RESIZE_DEV_H_ |
| 6 #define PPAPI_C_DEV_PPP_RESIZE_DEV_H_ |
| 7 |
| 8 #include "ppapi/c/pp_instance.h" |
| 9 #include "ppapi/c/pp_resource.h" |
| 10 |
| 11 // Interface for a full-frame plugin to implement when it wants to know when |
| 12 // frame resizing starts and stops. |
| 13 #define PPP_RESIZE_DEV_INTERFACE "PPP_Resize(Dev);0.1" |
| 14 |
| 15 struct PPP_Resize_Dev { |
| 16 // Notification that the resizing for this full frame plugin has started. |
| 17 void (*WillStartLiveResize)(PP_Instance instance); |
| 18 |
| 19 // Notification that the resizing for this full frame plugin has stopped. |
| 20 void (*WillEndLiveResize)(PP_Instance instance); |
| 21 }; |
| 22 |
| 23 #endif /* PPAPI_C_DEV_PPP_RESIZE_DEV_H_ */ |
OLD | NEW |