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

Unified Diff: content/public/renderer/pepper_plugin_instance.h

Issue 14588009: PPAPI/NaCl: Move event dispatching from the plugin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use the right Context and Isolate. Created 7 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
Index: content/public/renderer/pepper_plugin_instance.h
diff --git a/content/public/renderer/pepper_plugin_instance.h b/content/public/renderer/pepper_plugin_instance.h
index b52b943869f1982e4e6ce28bff78003b94f1d361..50e3523d9fd848e08e4279859bbcff4c6164df64 100644
--- a/content/public/renderer/pepper_plugin_instance.h
+++ b/content/public/renderer/pepper_plugin_instance.h
@@ -36,6 +36,10 @@ namespace WebKit {
class WebPluginContainer;
}
+namespace v8 {
+class Isolate;
+}
+
namespace content {
class RenderView;
@@ -49,6 +53,8 @@ class PepperPluginInstance {
virtual WebKit::WebPluginContainer* GetContainer() = 0;
+ virtual v8::Isolate* GetIsolate() const = 0;
+
virtual ppapi::VarTracker* GetVarTracker() = 0;
virtual const GURL& GetPluginURL() = 0;

Powered by Google App Engine
This is Rietveld 408576698