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.
6 /* From dev/ppp_selection_dev.idl modified Fri Nov 9 12:50:33 2012. */
8 #ifndef PPAPI_C_DEV_PPP_SELECTION_DEV_H_
9 #define PPAPI_C_DEV_PPP_SELECTION_DEV_H_
11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_stdint.h"
15 #include "ppapi/c/pp_var.h"
17 #define PPP_SELECTION_DEV_INTERFACE_0_3 "PPP_Selection(Dev);0.3"
18 #define PPP_SELECTION_DEV_INTERFACE PPP_SELECTION_DEV_INTERFACE_0_3
22 * This file defines the PPP_Selection_Dev interface.
27 * @addtogroup Interfaces
30 struct PPP_Selection_Dev_0_3
{
32 * Returns the selection, either as plain text or as html depending on "html".
33 * If nothing is selected, or if the given format is unavailable, return a
36 struct PP_Var (*GetSelectedText
)(PP_Instance instance
, PP_Bool html
);
39 typedef struct PPP_Selection_Dev_0_3 PPP_Selection_Dev
;
44 #endif /* PPAPI_C_DEV_PPP_SELECTION_DEV_H_ */