| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 | 5 |
| 6 /* From private/ppb_flash_clipboard.idl modified Mon Oct 29 12:51:16 2012. */ | 6 /* From private/ppb_flash_clipboard.idl modified Thu Mar 28 10:23:59 2013. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_ | 8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_ |
| 9 #define PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_ | 9 #define PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| 12 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
| 13 #include "ppapi/c/pp_macros.h" | 13 #include "ppapi/c/pp_macros.h" |
| 14 #include "ppapi/c/pp_stdint.h" | 14 #include "ppapi/c/pp_stdint.h" |
| 15 #include "ppapi/c/pp_var.h" | 15 #include "ppapi/c/pp_var.h" |
| 16 | 16 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 35 */ | 35 */ |
| 36 typedef enum { | 36 typedef enum { |
| 37 /** The standard clipboard. */ | 37 /** The standard clipboard. */ |
| 38 PP_FLASH_CLIPBOARD_TYPE_STANDARD = 0, | 38 PP_FLASH_CLIPBOARD_TYPE_STANDARD = 0, |
| 39 /** The selection clipboard (e.g., on Linux). */ | 39 /** The selection clipboard (e.g., on Linux). */ |
| 40 PP_FLASH_CLIPBOARD_TYPE_SELECTION = 1 | 40 PP_FLASH_CLIPBOARD_TYPE_SELECTION = 1 |
| 41 } PP_Flash_Clipboard_Type; | 41 } PP_Flash_Clipboard_Type; |
| 42 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Flash_Clipboard_Type, 4); | 42 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Flash_Clipboard_Type, 4); |
| 43 | 43 |
| 44 /** | 44 /** |
| 45 * This enumeration contains the predfined clipboard data formats. | 45 * This enumeration contains the predefined clipboard data formats. |
| 46 */ | 46 */ |
| 47 typedef enum { | 47 typedef enum { |
| 48 /** Indicates an invalid or unsupported clipboard data format. */ | 48 /** Indicates an invalid or unsupported clipboard data format. */ |
| 49 PP_FLASH_CLIPBOARD_FORMAT_INVALID = 0, | 49 PP_FLASH_CLIPBOARD_FORMAT_INVALID = 0, |
| 50 /** | 50 /** |
| 51 * Indicates plaintext clipboard data. The format expected/returned is a | 51 * Indicates plaintext clipboard data. The format expected/returned is a |
| 52 * <code>PP_VARTYPE_STRING</code>. | 52 * <code>PP_VARTYPE_STRING</code>. |
| 53 */ | 53 */ |
| 54 PP_FLASH_CLIPBOARD_FORMAT_PLAINTEXT = 1, | 54 PP_FLASH_CLIPBOARD_FORMAT_PLAINTEXT = 1, |
| 55 /** | 55 /** |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 uint32_t data_item_count, | 145 uint32_t data_item_count, |
| 146 const PP_Flash_Clipboard_Format formats[], | 146 const PP_Flash_Clipboard_Format formats[], |
| 147 const struct PP_Var data_items[]); | 147 const struct PP_Var data_items[]); |
| 148 }; | 148 }; |
| 149 /** | 149 /** |
| 150 * @} | 150 * @} |
| 151 */ | 151 */ |
| 152 | 152 |
| 153 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_ */ | 153 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_ */ |
| 154 | 154 |
| OLD | NEW |