summaryrefslogtreecommitdiffstats
path: root/ppapi/c/dev/ppb_scrollbar_dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/c/dev/ppb_scrollbar_dev.h')
-rw-r--r--ppapi/c/dev/ppb_scrollbar_dev.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/ppapi/c/dev/ppb_scrollbar_dev.h b/ppapi/c/dev/ppb_scrollbar_dev.h
index 4b365bb..1252673 100644
--- a/ppapi/c/dev/ppb_scrollbar_dev.h
+++ b/ppapi/c/dev/ppb_scrollbar_dev.h
@@ -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 @@ typedef enum {
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)();