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

Unified Diff: ppapi/c/private/ppb_flash.h

Issue 6542064: Add some files to the C compilation test, and fix some stuff that wasn't C com... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/dev/ppb_context_3d_trusted_dev.h ('k') | ppapi/c/private/ppb_flash_menu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_flash.h
===================================================================
--- ppapi/c/private/ppb_flash.h (revision 75765)
+++ ppapi/c/private/ppb_flash.h (working copy)
@@ -40,7 +40,7 @@
struct PP_DirContents_Dev {
int32_t count;
- PP_DirEntry_Dev* entries;
+ struct PP_DirEntry_Dev* entries;
};
struct PPB_Flash {
@@ -51,18 +51,18 @@
PP_Bool (*DrawGlyphs)(PP_Instance instance,
PP_Resource pp_image_data,
- const PP_FontDescription_Dev* font_desc,
+ const struct PP_FontDescription_Dev* font_desc,
uint32_t color,
- PP_Point position,
- PP_Rect clip,
+ struct PP_Point position,
+ struct PP_Rect clip,
const float transformation[3][3],
uint32_t glyph_count,
const uint16_t glyph_indices[],
- const PP_Point glyph_advances[]);
+ const struct PP_Point glyph_advances[]);
// Retrieves the proxy that will be used for the given URL. The result will
// be a string in PAC format, or an undefined var on error.
- PP_Var (*GetProxyForURL)(PP_Instance instance, const char* url);
+ struct PP_Var (*GetProxyForURL)(PP_Instance instance, const char* url);
// Opens a module-local file, returning a file descriptor (posix) or a HANDLE
// (win32) into file. Module-local file paths (here and below) are
@@ -96,7 +96,7 @@
// ppapi error, PP_OK if success, one of the PP_ERROR_* in case of failure.
int32_t (*QueryModuleLocalFile)(PP_Instance instance,
const char* path,
- PP_FileInfo_Dev* info);
+ struct PP_FileInfo_Dev* info);
// Gets the list of files contained in a module-local directory. The return
// value is the ppapi error, PP_OK if success, one of the PP_ERROR_* in case
@@ -104,11 +104,11 @@
// FreeModuleLocalDirContents.
int32_t (*GetModuleLocalDirContents)(PP_Instance instance,
const char* path,
- PP_DirContents_Dev** contents);
+ struct PP_DirContents_Dev** contents);
// Frees the data allocated by GetModuleLocalDirContents.
void (*FreeModuleLocalDirContents)(PP_Instance instance,
- PP_DirContents_Dev* contents);
+ struct PP_DirContents_Dev* contents);
// Navigate to URL. May open a new tab if target is not "_self". Return true
// if success. This differs from javascript:window.open() in that it bypasses
@@ -152,7 +152,7 @@
PP_FileHandle* socket_out,
struct PP_Flash_NetAddress* local_addr_out,
struct PP_Flash_NetAddress* remote_addr_out,
- PP_CompletionCallback callback);
+ struct PP_CompletionCallback callback);
// Same as |ConnectTcp()|, but connecting to the address given by |addr|. A
// typical use-case would be for reconnections.
@@ -161,7 +161,7 @@
PP_FileHandle* socket_out,
struct PP_Flash_NetAddress* local_addr_out,
struct PP_Flash_NetAddress* remote_addr_out,
- PP_CompletionCallback callback);
+ struct PP_CompletionCallback callback);
};
#endif // PPAPI_C_PRIVATE_PPB_FLASH_H_
« no previous file with comments | « ppapi/c/dev/ppb_context_3d_trusted_dev.h ('k') | ppapi/c/private/ppb_flash_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698