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

Unified Diff: content/public/browser/browser_plugin_guest_delegate.h

Issue 23514016: <webview>: Cleanup WebRequest event listeners when embedder destroyed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More fixes Created 7 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
Index: content/public/browser/browser_plugin_guest_delegate.h
diff --git a/content/public/browser/browser_plugin_guest_delegate.h b/content/public/browser/browser_plugin_guest_delegate.h
index 52ebc304a0dec49d635580776348023d2581ebc1..2acaff20c51998e6cf84f7654194b3544e500c20 100644
--- a/content/public/browser/browser_plugin_guest_delegate.h
+++ b/content/public/browser/browser_plugin_guest_delegate.h
@@ -39,6 +39,9 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate {
// gracefully.
virtual void GuestProcessGone(base::TerminationStatus status) {}
+ // Informs the delegate that the embedder has been destroyed.
+ virtual void EmbedderDestroyed() {}
+
virtual bool HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
// Notification that a load in the guest resulted in abort. Note that |url|

Powered by Google App Engine
This is Rietveld 408576698