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

Unified Diff: extensions/renderer/resources/web_view_events.js

Issue 618823002: GuestView: Move lifetime management out of content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comment Created 6 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 | « extensions/renderer/resources/web_view.js ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/resources/web_view_events.js
diff --git a/extensions/renderer/resources/web_view_events.js b/extensions/renderer/resources/web_view_events.js
index f02069bd52bbde4b6ac1e40f92ea9ce26f3fdc5e..c73a1f61fd20041d8f92b8226219bc3b3ea76ef7 100644
--- a/extensions/renderer/resources/web_view_events.js
+++ b/extensions/renderer/resources/web_view_events.js
@@ -184,7 +184,6 @@ function WebViewEvents(webViewInternal, viewInstanceId) {
// Sets up events.
WebViewEvents.prototype.setup = function() {
this.setupFrameNameChangedEvent();
- this.setupPluginDestroyedEvent();
this.setupWebRequestEvents();
this.webViewInternal.setupExperimentalContextMenus();
@@ -200,12 +199,6 @@ WebViewEvents.prototype.setupFrameNameChangedEvent = function() {
}.bind(this), {instanceId: this.viewInstanceId});
};
-WebViewEvents.prototype.setupPluginDestroyedEvent = function() {
- PluginDestroyedEvent.addListener(function(e) {
- this.webViewInternal.onPluginDestroyed();
- }.bind(this), {instanceId: this.viewInstanceId});
-};
-
WebViewEvents.prototype.setupWebRequestEvents = function() {
var request = {};
var createWebRequestEvent = function(webRequestEvent) {
« no previous file with comments | « extensions/renderer/resources/web_view.js ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698