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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 12189018: <webview>: Implement WebRequest API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Diff from latest patch Created 7 years, 10 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/browser/browser_plugin/browser_plugin_guest.cc
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
index 0ad619d834c8a99fdfe5b948dd18c0a9e3a77d3c..471db526614ea6c82e09f7692b5ed158fb0f85fc 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -122,6 +122,11 @@ BrowserPluginGuest* BrowserPluginGuest::Create(
return new BrowserPluginGuest(instance_id, web_contents,params);
}
+void BrowserPluginGuest::Destroy() {
+ GetContentClient()->browser()->GuestWebContentsDestroyed(
+ web_contents(), embedder_web_contents_);
+}
+
void BrowserPluginGuest::UpdateVisibility() {
OnSetVisibility(instance_id_, visible());
}

Powered by Google App Engine
This is Rietveld 408576698