Pepper_31_C_interfaces
Main Page
Modules
Classes
Files
File List
File Members
dev
ppp_selection_dev.h
Go to the documentation of this file.
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
*/
5
6
/* From dev/ppp_selection_dev.idl modified Fri Nov 9 12:50:33 2012. */
7
8
#ifndef PPAPI_C_DEV_PPP_SELECTION_DEV_H_
9
#define PPAPI_C_DEV_PPP_SELECTION_DEV_H_
10
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"
16
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
19
20
/**
21
* @file
22
* This file defines the PPP_Selection_Dev interface.
23
*/
24
25
26
/**
27
* @addtogroup Interfaces
28
* @{
29
*/
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.
35
*/
36
struct
PP_Var
(*
GetSelectedText
)(
PP_Instance
instance,
PP_Bool
html);
37
};
38
39
typedef
struct
PPP_Selection_Dev_0_3
PPP_Selection_Dev
;
40
/**
41
* @}
42
*/
43
44
#endif
/* PPAPI_C_DEV_PPP_SELECTION_DEV_H_ */
45
PPP_Selection_Dev_0_3::GetSelectedText
struct PP_Var(* GetSelectedText)(PP_Instance instance, PP_Bool html)
Definition:
ppp_selection_dev.h:36
PPP_Selection_Dev_0_3
Definition:
ppp_selection_dev.h:30
PP_Var
Definition:
pp_var.h:155
PP_Instance
int32_t PP_Instance
Definition:
pp_instance.h:34
PP_Bool
PP_Bool
Definition:
pp_bool.h:30
Generated on Wed May 4 2016 11:31:13 for Pepper_31_C_interfaces by
1.8.6