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

Unified Diff: chrome/renderer/resources/extensions/web_view.js

Issue 23702032: Prepare Webview's browser plugin for coming Custom Elements API change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/extensions/web_view.js
diff --git a/chrome/renderer/resources/extensions/web_view.js b/chrome/renderer/resources/extensions/web_view.js
index 7954261e68bc070439401a51e69f8772a52f4507..a09ce4242c49d53bdc084d0d42d33b09841d5e37 100644
--- a/chrome/renderer/resources/extensions/web_view.js
+++ b/chrome/renderer/resources/extensions/web_view.js
@@ -835,7 +835,8 @@ function registerBrowserPluginElement() {
};
WebViewInternal.BrowserPlugin =
- DocumentNatives.RegisterElement('browser-plugin', {prototype: proto});
+ DocumentNatives.RegisterElement('browser-plugin', {extends: 'object',
+ prototype: proto});
delete proto.createdCallback;
delete proto.enteredDocumentCallback;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698