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

Unified Diff: content/browser/web_contents/web_contents_view_guest.h

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
Index: content/browser/web_contents/web_contents_view_guest.h
diff --git a/content/browser/web_contents/web_contents_view_guest.h b/content/browser/web_contents/web_contents_view_guest.h
index 9a54375de4326f44aff5c946e0a0fc17538372e6..c8b662a681503ef6cf59799eb46338ad211be2f8 100644
--- a/content/browser/web_contents/web_contents_view_guest.h
+++ b/content/browser/web_contents/web_contents_view_guest.h
@@ -35,7 +35,9 @@ class WebContentsViewGuest : public WebContentsView,
WebContents* web_contents();
- void OnGuestInitialized(WebContentsView* parent_view);
+ void OnGuestAttached(WebContentsView* parent_view);
+
+ void OnGuestDetached(WebContentsView* old_parent_view);
// Converts the guest specific coordinates in |params| to embedder specific
// ones.
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/browser/web_contents/web_contents_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698