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

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

Issue 2417693002: Allow MimeHandlerViewGuest be embedded inside OOPIFs (Closed)
Patch Set: Added a NOTREACHED Created 4 years, 2 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/guest_host.h
diff --git a/content/public/browser/guest_host.h b/content/public/browser/guest_host.h
index a1b429f535b9251e5121b254053eab2d2580f96c..f2baf8f01ed3ba69a7f0d6d01521da7ce2fc5861 100644
--- a/content/public/browser/guest_host.h
+++ b/content/public/browser/guest_host.h
@@ -9,6 +9,8 @@
namespace content {
+class WebContents;
+
// A GuestHost is the content API for a guest WebContents.
// Guests are top-level frames that can be embedded within other pages.
// The content module manages routing of input events and compositing, but all
@@ -33,6 +35,10 @@ class GuestHost {
// Called when the GuestHost is about to be destroyed.
virtual void WillDestroy() = 0;
+
+ // Registers the |process_id| and |routing_id| of the embedder frame for this
+ // guest and returns the WebContents associated with the frame.
+ virtual WebContents* RegisterEmbedderID(int process_id, int routing_id) = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698