Lines Matching refs:GuestViewBase
22 // A GuestViewBase is the base class browser-side API implementation for a
23 // <*view> tag. GuestViewBase maintains an association between a guest
25 // the guest and relays them to the embedder. GuestViewBase tracks the lifetime
29 class GuestViewBase : public content::BrowserPluginGuestDelegate,
57 typedef base::Callback<GuestViewBase*(
62 static GuestViewBase* Create(content::BrowserContext* browser_context,
66 static GuestViewBase* FromWebContents(content::WebContents* web_contents);
68 static GuestViewBase* From(int embedder_process_id, int instance_id);
81 // This method is called after this GuestViewBase has been initiated.
151 // task prefix to show for a task produced by this GuestViewBase's derived
156 // initialization parameters, a concrete subclass of GuestViewBase can
157 // create a specialized WebContents that it returns back to GuestViewBase.
167 // This creates a WebContents and initializes |this| GuestViewBase to use the
188 base::WeakPtr<GuestViewBase> AsWeakPtr();
206 // Returns the instance ID of this GuestViewBase.
223 GuestViewBase* GetOpener() const {
229 void SetOpener(GuestViewBase* opener);
254 GuestViewBase(content::BrowserContext* browser_context,
257 virtual ~GuestViewBase();
313 base::WeakPtr<GuestViewBase> opener_;
343 base::WeakPtrFactory<GuestViewBase> weak_ptr_factory_;
345 DISALLOW_COPY_AND_ASSIGN(GuestViewBase);