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

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

Issue 10173029: Add a PPB_Flash_Print interface and implement in Chrome. (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_print.idl ('k') | ppapi/c/private/ppb_flash_print.h » ('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.idl modified Tue Apr 10 15:38:45 2012. */ 6 /* From private/ppb_flash.idl modified Tue Apr 24 16:54:09 2012. */
7 7
8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_ 8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_
9 #define PPAPI_C_PRIVATE_PPB_FLASH_H_ 9 #define PPAPI_C_PRIVATE_PPB_FLASH_H_
10 10
11 #include "ppapi/c/dev/ppb_font_dev.h" 11 #include "ppapi/c/dev/ppb_font_dev.h"
12 #include "ppapi/c/pp_bool.h" 12 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_module.h" 15 #include "ppapi/c/pp_module.h"
16 #include "ppapi/c/pp_point.h" 16 #include "ppapi/c/pp_point.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 * 108 *
109 * On non-Windows platforms, this function does nothing. 109 * On non-Windows platforms, this function does nothing.
110 */ 110 */
111 void (*PreloadFontWin)(const void* logfontw); 111 void (*PreloadFontWin)(const void* logfontw);
112 /** 112 /**
113 * Returns whether the given rectangle (in the plugin) is topmost, i.e., above 113 * Returns whether the given rectangle (in the plugin) is topmost, i.e., above
114 * all other web content. 114 * all other web content.
115 */ 115 */
116 PP_Bool (*IsRectTopmost)(PP_Instance instance, const struct PP_Rect* rect); 116 PP_Bool (*IsRectTopmost)(PP_Instance instance, const struct PP_Rect* rect);
117 /** 117 /**
118 * Invokes printing for the given instance. 118 * Does nothing, deprecated. See PPB_Flash_Print.
119 */ 119 */
120 int32_t (*InvokePrinting)(PP_Instance instance); 120 int32_t (*InvokePrinting)(PP_Instance instance);
121 /** 121 /**
122 * Indicates that there's activity and, e.g., the screensaver shouldn't kick 122 * Indicates that there's activity and, e.g., the screensaver shouldn't kick
123 * in. 123 * in.
124 */ 124 */
125 void (*UpdateActivity)(PP_Instance instance); 125 void (*UpdateActivity)(PP_Instance instance);
126 /** 126 /**
127 * Returns the device ID as a string. Returns a PP_VARTYPE_UNDEFINED on error. 127 * Returns the device ID as a string. Returns a PP_VARTYPE_UNDEFINED on error.
128 */ 128 */
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 int32_t (*Navigate)(PP_Resource request_info, 206 int32_t (*Navigate)(PP_Resource request_info,
207 const char* target, 207 const char* target,
208 bool from_user_action); 208 bool from_user_action);
209 void (*RunMessageLoop)(PP_Instance instance); 209 void (*RunMessageLoop)(PP_Instance instance);
210 void (*QuitMessageLoop)(PP_Instance instance); 210 void (*QuitMessageLoop)(PP_Instance instance);
211 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); 211 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t);
212 struct PP_Var (*GetCommandLineArgs)(PP_Module module); 212 struct PP_Var (*GetCommandLineArgs)(PP_Module module);
213 }; 213 };
214 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ 214 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */
215 215
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_flash_print.idl ('k') | ppapi/c/private/ppb_flash_print.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698