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

Unified Diff: ppapi/c/dev/ppb_scrollbar_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_graphics_3d_dev.h ('k') | ppapi/c/dev/ppb_testing_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_scrollbar_dev.h
===================================================================
--- ppapi/c/dev/ppb_scrollbar_dev.h (revision 65116)
+++ ppapi/c/dev/ppb_scrollbar_dev.h (working copy)
@@ -5,6 +5,7 @@
#ifndef PPAPI_C_DEV_PPB_SCROLLBAR_DEV_H_
#define PPAPI_C_DEV_PPB_SCROLLBAR_DEV_H_
+#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_stdint.h"
@@ -18,18 +19,18 @@
PP_SCROLLBY_DOCUMENT = 3
} PP_ScrollBy_Dev;
-#define PPB_SCROLLBAR_DEV_INTERFACE "PPB_Scrollbar(Dev);0.1"
+#define PPB_SCROLLBAR_DEV_INTERFACE "PPB_Scrollbar(Dev);0.2"
// The interface for a scrollbar. A scrollbar is a widget, so the functions
// in PPB_Widget can also be used with scrollbar objects.
struct PPB_Scrollbar_Dev {
// Create a new scrollbar. Returns 0 if the instance is invalid.
PP_Resource (*Create)(PP_Instance instance,
- bool vertical);
+ PP_Bool vertical);
- // Returns true if the given resource is a Scrollbar. Returns false if the
- // resource is invalid or some type other than a scrollbar.
- bool (*IsScrollbar)(PP_Resource resource);
+ // Returns PP_TRUE if the given resource is a Scrollbar. Returns PP_FALSE if
+ // the resource is invalid or some type other than a scrollbar.
+ PP_Bool (*IsScrollbar)(PP_Resource resource);
// Gets the thickness of a scrollbar.
uint32_t (*GetThickness)();
« no previous file with comments | « ppapi/c/dev/ppb_graphics_3d_dev.h ('k') | ppapi/c/dev/ppb_testing_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698