| OLD | NEW |
| 1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 #ifndef PPAPI_C_DEV_PPP_SELECTION_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPP_SELECTION_DEV_H_ |
| 6 #define PPAPI_C_DEV_PPP_SELECTION_DEV_H_ | 6 #define PPAPI_C_DEV_PPP_SELECTION_DEV_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
| 10 #include "ppapi/c/pp_var.h" | 10 #include "ppapi/c/pp_var.h" |
| 11 | 11 |
| 12 #define PPP_SELECTION_DEV_INTERFACE "PPP_Selection(Dev);0.2" | 12 #define PPP_SELECTION_DEV_INTERFACE "PPP_Selection(Dev);0.3" |
| 13 | 13 |
| 14 struct PPP_Selection_Dev { | 14 struct PPP_Selection_Dev { |
| 15 /** | 15 /** |
| 16 * Returns the selection, either as plain text or as html depending on "html". | 16 * Returns the selection, either as plain text or as html depending on "html". |
| 17 * If nothing is selected, or if the given format is unavailable, return a | 17 * If nothing is selected, or if the given format is unavailable, return a |
| 18 * void string. | 18 * void string. |
| 19 */ | 19 */ |
| 20 struct PP_Var (*GetSelectedText)(PP_Instance instance, | 20 struct PP_Var (*GetSelectedText)(PP_Instance instance, |
| 21 PP_Bool html); | 21 PP_Bool html); |
| 22 }; | 22 }; |
| 23 | 23 |
| 24 #endif /* PPAPI_C_DEV_PPP_SELECTION_DEV_H_ */ | 24 #endif /* PPAPI_C_DEV_PPP_SELECTION_DEV_H_ */ |
| 25 | 25 |
| OLD | NEW |