mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
🎨
This commit is contained in:
@@ -72,7 +72,8 @@ bool WebViewManager::ForEachGuest(content::WebContents* embedder_web_contents,
|
||||
}
|
||||
|
||||
// static
|
||||
WebViewManager* WebViewManager::GetWebViewManager(content::WebContents* web_contents) {
|
||||
WebViewManager* WebViewManager::GetWebViewManager(
|
||||
content::WebContents* web_contents) {
|
||||
auto context = web_contents->GetBrowserContext();
|
||||
if (context) {
|
||||
auto manager = context->GetGuestManager();
|
||||
|
||||
@@ -22,7 +22,6 @@ class WebViewManager : public content::BrowserPluginGuestManager {
|
||||
content::WebContents* embedder,
|
||||
content::WebContents* web_contents);
|
||||
void RemoveGuest(int guest_instance_id);
|
||||
|
||||
content::WebContents* GetEmbedder(int guest_instance_id);
|
||||
|
||||
static WebViewManager* GetWebViewManager(content::WebContents* web_contents);
|
||||
|
||||
Reference in New Issue
Block a user