summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_plugin_instance.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 18:11:08 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 18:11:08 +0000
commit366e3005fbea54d2a7da5403c9c11a286b5cbd55 (patch)
tree033996dc8bd39e1fab8ece5bfd5a162188046442 /webkit/glue/plugins/pepper_plugin_instance.h
parentf1d9428ecf3a598fb8bc86c9e1f8707dc6bd73cb (diff)
downloadchromium_src-366e3005fbea54d2a7da5403c9c11a286b5cbd55.zip
chromium_src-366e3005fbea54d2a7da5403c9c11a286b5cbd55.tar.gz
chromium_src-366e3005fbea54d2a7da5403c9c11a286b5cbd55.tar.bz2
Hookup pepper v2 zoom interface.
Review URL: http://codereview.chromium.org/2900012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52347 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_plugin_instance.h')
-rw-r--r--webkit/glue/plugins/pepper_plugin_instance.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/webkit/glue/plugins/pepper_plugin_instance.h b/webkit/glue/plugins/pepper_plugin_instance.h
index 4ffce28..0ed2603 100644
--- a/webkit/glue/plugins/pepper_plugin_instance.h
+++ b/webkit/glue/plugins/pepper_plugin_instance.h
@@ -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 @@ class PluginInstance : public base::RefCounted<PluginInstance> {
private:
bool LoadFindInterface();
+ bool LoadZoomInterface();
PluginDelegate* delegate_;
scoped_refptr<PluginModule> module_;
@@ -143,8 +145,9 @@ class PluginInstance : public base::RefCounted<PluginInstance> {
// 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_;