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

Unified Diff: webkit/glue/plugins/pepper_cursor_control.cc

Issue 3255003: Pull new PPAPI, rename non-P0 interfaces to Dev, rename DeviceContext2D to Gr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | « webkit/glue/plugins/pepper_cursor_control.h ('k') | webkit/glue/plugins/pepper_device_context_2d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_cursor_control.cc
===================================================================
--- webkit/glue/plugins/pepper_cursor_control.cc (revision 57791)
+++ webkit/glue/plugins/pepper_cursor_control.cc (working copy)
@@ -6,10 +6,10 @@
#include "base/logging.h"
#include "base/ref_counted.h"
-#include "third_party/ppapi/c/pp_cursor_type.h"
+#include "third_party/ppapi/c/dev/pp_cursor_type_dev.h"
+#include "third_party/ppapi/c/dev/ppb_cursor_control_dev.h"
#include "third_party/ppapi/c/pp_point.h"
#include "third_party/ppapi/c/pp_resource.h"
-#include "third_party/ppapi/c/ppb_cursor_control.h"
#include "webkit/glue/plugins/pepper_image_data.h"
#include "webkit/glue/plugins/pepper_plugin_instance.h"
#include "webkit/glue/plugins/pepper_resource.h"
@@ -19,7 +19,7 @@
namespace {
bool SetCursor(PP_Instance instance_id,
- PP_CursorType type,
+ PP_CursorType_Dev type,
PP_Resource custom_image_id,
const PP_Point* hot_spot) {
PluginInstance* instance = PluginInstance::FromPPInstance(instance_id);
@@ -73,7 +73,7 @@
return false;
}
-const PPB_CursorControl cursor_control_interface = {
+const PPB_CursorControl_Dev cursor_control_interface = {
&SetCursor,
&LockCursor,
&UnlockCursor,
@@ -83,7 +83,7 @@
} // namespace
-const PPB_CursorControl* GetCursorControlInterface() {
+const PPB_CursorControl_Dev* GetCursorControlInterface() {
return &cursor_control_interface;
}
« no previous file with comments | « webkit/glue/plugins/pepper_cursor_control.h ('k') | webkit/glue/plugins/pepper_device_context_2d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698