Get the WebViewManager from embedder WebContents

This make our lives easier when we have multiple BrowserContext support.
This commit is contained in:
Cheng Zhao 2015-02-04 15:52:59 -08:00
parent 209840871c
commit 7c8bed7bfc
4 changed files with 38 additions and 18 deletions

View file

@ -41,7 +41,7 @@ class WebViewManager : public content::BrowserPluginGuestManager {
int element_instance_id,
content::WebContents* embedder,
content::WebContents* web_contents,
WebViewInfo info);
const WebViewInfo& info);
void RemoveGuest(int guest_instance_id);
// Looks up the information for the embedder <webview> for a given render