Remove Observer methods in RTCVideoEncoderFactory.
[chromium-blink-merge.git] / ppapi / c / dev / ppp_widget_dev.h
blob883bc1efb564f7ea2ec39b75bec34837e65ea5ea
1 /* Copyright (c) 2012 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 */
6 /* From dev/ppp_widget_dev.idl modified Wed Oct 5 14:06:02 2011. */
8 #ifndef PPAPI_C_DEV_PPP_WIDGET_DEV_H_
9 #define PPAPI_C_DEV_PPP_WIDGET_DEV_H_
11 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/pp_point.h"
14 #include "ppapi/c/pp_rect.h"
15 #include "ppapi/c/pp_resource.h"
16 #include "ppapi/c/pp_size.h"
17 #include "ppapi/c/pp_stdint.h"
19 #define PPP_WIDGET_DEV_INTERFACE_0_2 "PPP_Widget(Dev);0.2"
20 #define PPP_WIDGET_DEV_INTERFACE PPP_WIDGET_DEV_INTERFACE_0_2
22 /**
23 * @file
24 * Implementation of the Widget interface.
28 /**
29 * @addtogroup Interfaces
30 * @{
32 /**
33 * The interface for reusing browser widgets.
35 struct PPP_Widget_Dev_0_2 {
36 /**
37 * Informs the instance that the given rectangle needs to be repainted.
39 void (*Invalidate)(PP_Instance instance,
40 PP_Resource widget,
41 const struct PP_Rect* dirty_rect);
44 typedef struct PPP_Widget_Dev_0_2 PPP_Widget_Dev;
45 /**
46 * @}
49 #endif /* PPAPI_C_DEV_PPP_WIDGET_DEV_H_ */