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

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

Issue 255061: Re-land http://codereview.chromium.org/211031 with a bug opened... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/plugin_host.cc ('k') | webkit/glue/plugins/plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/plugin_instance.h
===================================================================
--- webkit/glue/plugins/plugin_instance.h (revision 28818)
+++ webkit/glue/plugins/plugin_instance.h (working copy)
@@ -100,6 +100,14 @@
NPAPI::PluginLib* plugin_lib() { return plugin_; }
+#if defined(OS_MACOSX)
+ // Get/Set the Mac NPAPI drawing and event models
+ int drawing_model() { return drawing_model_; }
+ void set_drawing_model(int value) { drawing_model_ = value; }
+ int event_model() { return event_model_; }
+ void set_event_model(int value) { event_model_ = value; }
+#endif
+
#if defined(PEPPER_APIS_ENABLED)
NPError InitializeRenderContext(NPRenderType type,
NPRenderContext* context);
@@ -230,6 +238,10 @@
GURL get_url_;
intptr_t get_notify_data_;
bool use_mozilla_user_agent_;
+#if defined(OS_MACOSX)
+ int drawing_model_;
+ int event_model_;
+#endif
MessageLoop* message_loop_;
scoped_refptr<PluginStreamUrl> plugin_data_stream_;
« no previous file with comments | « webkit/glue/plugins/plugin_host.cc ('k') | webkit/glue/plugins/plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698