Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: ppapi/c/private/ppb_flash_clipboard.h

Issue 9921018: Added RTF support to pepper API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/api/private/ppb_flash_clipboard.idl ('k') | ppapi/proxy/ppb_flash_clipboard_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 Thu Feb 23 23:15:40 2012. */ 6 /* From private/ppb_flash_clipboard.idl modified Wed Mar 28 16:49:38 2012. */
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 29 matching lines...) Expand all
46 PP_FLASH_CLIPBOARD_TYPE_SELECTION = 1 46 PP_FLASH_CLIPBOARD_TYPE_SELECTION = 1
47 } PP_Flash_Clipboard_Type; 47 } PP_Flash_Clipboard_Type;
48 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Flash_Clipboard_Type, 4); 48 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Flash_Clipboard_Type, 4);
49 49
50 /** 50 /**
51 * This enumeration contains the supported clipboard data formats. 51 * This enumeration contains the supported clipboard data formats.
52 */ 52 */
53 typedef enum { 53 typedef enum {
54 /** Indicates an invalid or unsupported clipboard data format. */ 54 /** Indicates an invalid or unsupported clipboard data format. */
55 PP_FLASH_CLIPBOARD_FORMAT_INVALID = 0, 55 PP_FLASH_CLIPBOARD_FORMAT_INVALID = 0,
56 /** Indicates plain text clipboard data. */ 56 /**
57 * Indicates plaintext clipboard data. The format expected/returned is a
58 * <code>PP_VARTYPE_STRING</code>.
59 */
57 PP_FLASH_CLIPBOARD_FORMAT_PLAINTEXT = 1, 60 PP_FLASH_CLIPBOARD_FORMAT_PLAINTEXT = 1,
58 /** Indicates HTML clipboard data. */ 61 /**
59 PP_FLASH_CLIPBOARD_FORMAT_HTML = 2 62 * Indicates HTML clipboard data. The format expected/returned is a
63 * <code>PP_VARTYPE_STRING</code>.
64 */
65 PP_FLASH_CLIPBOARD_FORMAT_HTML = 2,
66 /**
67 * Indicates RTF clipboard data. The format expected/returned is a
68 * <code>PP_VARTYPE_ARRAY_BUFFER</code>.
69 */
70 PP_FLASH_CLIPBOARD_FORMAT_RTF = 3
60 } PP_Flash_Clipboard_Format; 71 } PP_Flash_Clipboard_Format;
61 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Flash_Clipboard_Format, 4); 72 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Flash_Clipboard_Format, 4);
62 /** 73 /**
63 * @} 74 * @}
64 */ 75 */
65 76
66 /** 77 /**
67 * @addtogroup Interfaces 78 * @addtogroup Interfaces
68 * @{ 79 * @{
69 */ 80 */
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 int32_t (*WritePlainText)(PP_Instance instance_id, 132 int32_t (*WritePlainText)(PP_Instance instance_id,
122 PP_Flash_Clipboard_Type clipboard_type, 133 PP_Flash_Clipboard_Type clipboard_type,
123 struct PP_Var text); 134 struct PP_Var text);
124 }; 135 };
125 /** 136 /**
126 * @} 137 * @}
127 */ 138 */
128 139
129 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_ */ 140 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_ */
130 141
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_flash_clipboard.idl ('k') | ppapi/proxy/ppb_flash_clipboard_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698