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

Unified Diff: Source/web/WebPluginContainerImpl.h

Issue 230813002: Make it possible to have <object>'s scriptableObject as a v8 object instead of NPObject. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed broken layout tests. Created 6 years, 4 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 | « Source/core/plugins/PluginView.h ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPluginContainerImpl.h
diff --git a/Source/web/WebPluginContainerImpl.h b/Source/web/WebPluginContainerImpl.h
index 54e4d2869d94fcd4d2b538efb0236fac1160e998..e6996a41b453979bb83bc2d47a4819d57b9bafa2 100644
--- a/Source/web/WebPluginContainerImpl.h
+++ b/Source/web/WebPluginContainerImpl.h
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2009 Google Inc. All rights reserved.
+ * Copyright (C) 2014 Opera Software ASA. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -75,7 +76,7 @@ public:
// PluginView methods
virtual WebLayer* platformLayer() const OVERRIDE;
- virtual NPObject* scriptableObject() OVERRIDE;
+ virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) OVERRIDE;
virtual bool getFormValue(String&) OVERRIDE;
virtual bool supportsKeyboardFocus() const OVERRIDE;
virtual bool supportsInputMethod() const OVERRIDE;
@@ -107,6 +108,7 @@ public:
virtual void allowScriptObjects() OVERRIDE;
virtual void clearScriptObjects() OVERRIDE;
virtual NPObject* scriptableObjectForElement() OVERRIDE;
+ virtual v8::Local<v8::Object> v8ObjectForElement() OVERRIDE;
virtual WebString executeScriptURL(const WebURL&, bool popupsAllowed) OVERRIDE;
virtual void loadFrameRequest(const WebURLRequest&, const WebString& target, bool notifyNeeded, void* notifyData) OVERRIDE;
virtual void zoomLevelChanged(double zoomLevel) OVERRIDE;
« no previous file with comments | « Source/core/plugins/PluginView.h ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698