summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 21:29:36 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 21:29:36 +0000
commit11e04ce0c6a47c3fc6561816c01656875292622d (patch)
treeda0826ec7e19ce06c42e1d65cd4b5166627ae8aa /ppapi
parent4f6e87b9b51b050d45eb2f1175f80de94dd5892b (diff)
downloadchromium_src-11e04ce0c6a47c3fc6561816c01656875292622d.zip
chromium_src-11e04ce0c6a47c3fc6561816c01656875292622d.tar.gz
chromium_src-11e04ce0c6a47c3fc6561816c01656875292622d.tar.bz2
Implement the grab/grabbing cursors (for Mac/GTK).
BUG=73356 TEST=comment 12 on the bug has a test page; ensure the last two cursors (grab and grabbing) show open and closed hand cursors (respectively) and don't crash Review URL: http://codereview.chromium.org/6591105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/c/dev/pp_cursor_type_dev.h4
-rw-r--r--ppapi/c/dev/ppb_cursor_control_dev.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/ppapi/c/dev/pp_cursor_type_dev.h b/ppapi/c/dev/pp_cursor_type_dev.h
index c305797..191df9f 100644
--- a/ppapi/c/dev/pp_cursor_type_dev.h
+++ b/ppapi/c/dev/pp_cursor_type_dev.h
@@ -49,7 +49,9 @@ enum PP_CursorType_Dev {
PP_CURSORTYPE_NONE = 37,
PP_CURSORTYPE_NOTALLOWED = 38,
PP_CURSORTYPE_ZOOMIN = 39,
- PP_CURSORTYPE_ZOOMOUT = 40
+ PP_CURSORTYPE_ZOOMOUT = 40,
+ PP_CURSORTYPE_GRAB = 41,
+ PP_CURSORTYPE_GRABBING = 42
};
PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(PP_CursorType_Dev, 4);
diff --git a/ppapi/c/dev/ppb_cursor_control_dev.h b/ppapi/c/dev/ppb_cursor_control_dev.h
index 8a51ac5..67e558d 100644
--- a/ppapi/c/dev/ppb_cursor_control_dev.h
+++ b/ppapi/c/dev/ppb_cursor_control_dev.h
@@ -11,7 +11,7 @@
#include "ppapi/c/pp_point.h"
#include "ppapi/c/pp_resource.h"
-#define PPB_CURSOR_CONTROL_DEV_INTERFACE "PPB_CursorControl(Dev);0.3"
+#define PPB_CURSOR_CONTROL_DEV_INTERFACE "PPB_CursorControl(Dev);0.4"
struct PPB_CursorControl_Dev {
// Set a cursor. If "type" is PP_CURSORTYPE_CUSTOM, then "custom_image"