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

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

Issue 2900012: Hookup pepper v2 zoom interface. (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 52332)
+++ webkit/glue/plugins/pepper_plugin_instance.h (working copy)
@@ -16,13 +16,14 @@
#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/ppapi/c/ppb_find.h"
-#include "third_party/ppapi/c/ppp_find.h"
#include "third_party/WebKit/WebKit/chromium/public/WebCanvas.h"
typedef struct _pp_Var PP_Var;
typedef struct _ppb_Instance PPB_Instance;
+typedef struct _ppb_Find PPB_Find;
+typedef struct _ppp_Find PPP_Find;
typedef struct _ppp_Instance PPP_Instance;
+typedef struct _ppp_Zoom PPP_Zoom;
namespace gfx {
class Rect;
@@ -115,6 +116,7 @@
private:
bool LoadFindInterface();
+ bool LoadZoomInterface();
PluginDelegate* delegate_;
scoped_refptr<PluginModule> module_;
@@ -143,8 +145,9 @@
// The id of the current find operation, or -1 if none is in process.
int find_identifier_;
- // The plugin find interface.
+ // The plugin find and zoom interfaces.
const PPP_Find* plugin_find_interface_;
+ const PPP_Zoom* plugin_zoom_interface_;
// Containes the cursor if it's set by the plugin.
scoped_ptr<WebKit::WebCursorInfo> cursor_;
« 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