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

Unified Diff: ppapi/c/dev/ppb_fullscreen_dev.h

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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_font_dev.h ('k') | ppapi/c/dev/ppb_graphics_3d_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_fullscreen_dev.h
===================================================================
--- ppapi/c/dev/ppb_fullscreen_dev.h (revision 65116)
+++ ppapi/c/dev/ppb_fullscreen_dev.h (working copy)
@@ -5,23 +5,24 @@
#ifndef PPAPI_C_DEV_PPB_FULLSCREEN_DEV_H_
#define PPAPI_C_DEV_PPB_FULLSCREEN_DEV_H_
+#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_stdint.h"
-#define PPB_FULLSCREEN_DEV_INTERFACE "PPB_Fullscreen(Dev);0.1"
+#define PPB_FULLSCREEN_DEV_INTERFACE "PPB_Fullscreen(Dev);0.2"
// Use this interface to change a plugin instance to fullscreen mode.
struct PPB_Fullscreen_Dev {
// Checks whether the plugin instance is currently in fullscreen mode.
- bool (*IsFullscreen)(PP_Instance instance);
+ PP_Bool (*IsFullscreen)(PP_Instance instance);
- // Switches the plugin instance to/from fullscreen mode. Returns true on
- // success, false on failure.
+ // Switches the plugin instance to/from fullscreen mode. Returns PP_TRUE on
+ // success, PP_FALSE on failure.
// When in fullscreen mode, the plugin will be transparently scaled to the
// size of the screen. It will not receive a ViewChanged event, and doesn't
// need to rebind the graphics context. The pending flushes will execute
// normally, to the new fullscreen window.
- bool (*SetFullscreen)(PP_Instance instance, bool fullscreen);
+ PP_Bool (*SetFullscreen)(PP_Instance instance, PP_Bool fullscreen);
};
#endif // PPAPI_C_DEV_PPB_FULLSCREEN_DEV_H_
« no previous file with comments | « ppapi/c/dev/ppb_font_dev.h ('k') | ppapi/c/dev/ppb_graphics_3d_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698