Implement listing tests to a JSON file for iOS gtest test launcher
[chromium-blink-merge.git] / ppapi / c / dev / ppp_selection_dev.h
blob15ca657d5cef4d3d158cc8c32f363b7affb53ecf
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_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
20 /**
21 * @file
22 * This file defines the PPP_Selection_Dev interface.
26 /**
27 * @addtogroup Interfaces
28 * @{
30 struct PPP_Selection_Dev_0_3 {
31 /**
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
34 * void string.
36 struct PP_Var (*GetSelectedText)(PP_Instance instance, PP_Bool html);
39 typedef struct PPP_Selection_Dev_0_3 PPP_Selection_Dev;
40 /**
41 * @}
44 #endif /* PPAPI_C_DEV_PPP_SELECTION_DEV_H_ */