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

Unified Diff: webkit/glue/plugins/pepper_plugin_instance.h

Issue 2942001: Bring in the latest PPAPI. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 | « DEPS ('k') | webkit/glue/plugins/pepper_plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_plugin_instance.h
===================================================================
--- webkit/glue/plugins/pepper_plugin_instance.h (revision 51861)
+++ webkit/glue/plugins/pepper_plugin_instance.h (working copy)
@@ -10,7 +10,9 @@
#include "base/basictypes.h"
#include "base/ref_counted.h"
+#include "base/scoped_ptr.h"
#include "gfx/rect.h"
+#include "third_party/ppapi/c/pp_cursor_type.h"
#include "third_party/ppapi/c/pp_instance.h"
#include "third_party/ppapi/c/pp_resource.h"
#include "third_party/WebKit/WebKit/chromium/public/WebCanvas.h"
@@ -74,6 +76,7 @@
PP_Var GetOwnerElementObject();
bool BindGraphicsDeviceContext(PP_Resource device_id);
bool full_frame() const { return full_frame_; }
+ bool SetCursor(PP_CursorType type);
// PPP_Instance pass-through.
void Delete();
@@ -118,6 +121,9 @@
// The current device context for painting in 2D.
scoped_refptr<DeviceContext2D> device_context_2d_;
+ // Containes the cursor if it's set by the plugin.
+ scoped_ptr<WebKit::WebCursorInfo> cursor_;
+
DISALLOW_COPY_AND_ASSIGN(PluginInstance);
};
« no previous file with comments | « DEPS ('k') | webkit/glue/plugins/pepper_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698