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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.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/renderer/pepper/pepper_plugin_instance_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h
index f28cd44fa1a3de0ae985bc1d270cc3f61b4442be..71acf52652b7d251437eea30af2c7cf281bba9f6 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
@@ -345,6 +345,7 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
// PluginInstance implementation
virtual RenderView* GetRenderView() OVERRIDE;
virtual WebKit::WebPluginContainer* GetContainer() OVERRIDE;
+ virtual v8::Isolate* GetIsolate() const OVERRIDE;
virtual ppapi::VarTracker* GetVarTracker() OVERRIDE;
virtual const GURL& GetPluginURL() OVERRIDE;
virtual base::FilePath GetModulePath() OVERRIDE;
@@ -493,10 +494,6 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
// itself when making NPObject scripting calls to WebBindings.
struct _NPP* instanceNPP();
- // Returns the v8::Isolate that was current when this Instance was created.
- // This is not inlined so as to avoid an unnecessary header include of v8.h.
- v8::Isolate* GetIsolate() const;
-
// cc::TextureLayerClient implementation.
virtual unsigned PrepareTexture() OVERRIDE;
virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698