/third_party/cef/libcef/browser/osr/ |
D | browser_platform_delegate_osr.cc | 44 content::WebContents* web_contents, in WebContentsCreated() argument 46 CefBrowserPlatformDelegateAlloy::WebContentsCreated(web_contents, owned); in WebContentsCreated() 49 DCHECK(!view_osr_->web_contents()); in WebContentsCreated() 52 view_osr_->WebContentsCreated(web_contents); in WebContentsCreated() 218 content::WebContentsImpl* web_contents = in WasHidden() local 220 if (web_contents) { in WasHidden() 222 web_contents->WasHidden(); in WasHidden() 224 web_contents->WasShown(); in WasHidden() 290 content::WebContentsImpl* web_contents = in DragTargetDragEnter() local 292 if (!web_contents) in DragTargetDragEnter() [all …]
|
/third_party/cef/libcef/browser/chrome/extensions/ |
D | chrome_mime_handler_view_guest_delegate_cef.cc | 23 content::WebContents* web_contents = guest_->web_contents(); in OnGuestAttached() local 24 DCHECK(web_contents); in OnGuestAttached() 31 owner_browser->browser_info()->MaybeCreateFrame(web_contents->GetMainFrame(), in OnGuestAttached() 36 content::WebContents* web_contents = guest_->web_contents(); in OnGuestDetached() local 37 DCHECK(web_contents); in OnGuestDetached() 44 owner_browser->browser_info()->RemoveFrame(web_contents->GetMainFrame()); in OnGuestDetached()
|
/third_party/cef/libcef/browser/chrome/ |
D | chrome_browser_delegate.cc | 45 void ChromeBrowserDelegate::SetAsDelegate(content::WebContents* web_contents, in SetAsDelegate() argument 47 DCHECK(web_contents); in SetAsDelegate() 49 ChromeBrowserHostImpl::GetBrowserForContents(web_contents); in SetAsDelegate() 70 CreateBrowser(web_contents, create_params_.settings, create_params_.client, in SetAsDelegate() 182 content::WebContents* web_contents) { in DidNavigatePrimaryMainFramePostCommit() argument 183 if (auto delegate = GetDelegateForWebContents(web_contents)) { in DidNavigatePrimaryMainFramePostCommit() 184 delegate->DidNavigatePrimaryMainFramePostCommit(web_contents); in DidNavigatePrimaryMainFramePostCommit() 191 auto web_contents = in EnterFullscreenModeForTab() local 193 if (!web_contents) in EnterFullscreenModeForTab() 196 if (auto delegate = GetDelegateForWebContents(web_contents)) { in EnterFullscreenModeForTab() [all …]
|
D | browser_platform_delegate_chrome.cc | 19 content::WebContents* web_contents, in WebContentsCreated() argument 21 CefBrowserPlatformDelegate::WebContentsCreated(web_contents, owned); in WebContentsCreated() 22 native_delegate_->WebContentsCreated(web_contents, /*owned=*/false); in WebContentsCreated() 26 content::WebContents* web_contents) { in WebContentsDestroyed() argument 27 CefBrowserPlatformDelegate::WebContentsDestroyed(web_contents); in WebContentsDestroyed() 28 native_delegate_->WebContentsDestroyed(web_contents); in WebContentsDestroyed()
|
D | chrome_browser_delegate.h | 52 void SetAsDelegate(content::WebContents* web_contents, 81 content::WebContents* web_contents) override; 85 void ExitFullscreenModeForTab(content::WebContents* web_contents) override; 97 content::WebContents* web_contents, 106 content::WebContents* web_contents);
|
D | chrome_browser_host_impl.cc | 51 auto web_contents = browser->tab_strip_model()->GetActiveWebContents(); in Create() local 52 CHECK(web_contents); in Create() 56 ChromeBrowserHostImpl::GetBrowserForContents(web_contents); in Create() 123 content::WebContents* web_contents) { in OnWebContentsDestroyed() argument 124 platform_delegate_->WebContentsDestroyed(web_contents); in OnWebContentsDestroyed() 483 void ChromeBrowserHostImpl::Attach(content::WebContents* web_contents, in Attach() argument 485 DCHECK(web_contents); in Attach() 491 settings_, client_, web_contents, platform_delegate_.get(), in Attach() 495 platform_delegate_->WebContentsCreated(web_contents, in Attach() 497 contents_delegate_->ObserveWebContents(web_contents); in Attach()
|
/third_party/cef/libcef/browser/ |
D | browser_host_base.cc | 44 const content::WebContents* web_contents) { in Get() argument 47 web_contents->GetUserData(UserDataKey())); in Get() 56 auto web_contents = browser->GetWebContents(); in WebContentsUserDataAdapter() local 57 DCHECK(web_contents); in WebContentsUserDataAdapter() 58 web_contents->SetUserData(UserDataKey(), base::WrapUnique(this)); in WebContentsUserDataAdapter() 78 content::WebContents* web_contents = content::WebContents::FromRenderViewHost( in GetBrowserForHost() local 80 if (web_contents) in GetBrowserForHost() 81 return GetBrowserForContents(web_contents); in GetBrowserForHost() 90 content::WebContents* web_contents = in GetBrowserForHost() local 93 if (web_contents) in GetBrowserForHost() [all …]
|
D | web_contents_dialog_helper.cc | 17 content::WebContents* web_contents, in CefWebContentsDialogHelper() argument 20 web_modal::WebContentsModalDialogManager::CreateForWebContents(web_contents); in CefWebContentsDialogHelper() 21 web_modal::WebContentsModalDialogManager::FromWebContents(web_contents) in CefWebContentsDialogHelper() 31 content::WebContents* web_contents) { in IsWebContentsVisible() argument 32 return platform_util::IsVisible(web_contents->GetNativeView()); in IsWebContentsVisible()
|
D | menu_manager.cc | 96 : content::WebContentsObserver(browser->web_contents()), in CefMenuManager() 101 DCHECK(web_contents()); in CefMenuManager() 118 if (!web_contents()) in IsShowingContextMenu() 120 return web_contents()->IsShowingContextMenu(); in IsShowingContextMenu() 239 if (!web_contents()) in MenuWillShow() 247 web_contents()->SetShowingContextMenu(true); in MenuWillShow() 255 if (!web_contents()) in MenuClosed() 270 web_contents()->SetShowingContextMenu(false); in MenuClosed() 271 web_contents()->NotifyContextMenuClosed(params_.link_followed); in MenuClosed() 381 if (web_contents()) { in ExecuteDefaultCommand() [all …]
|
/third_party/cef/libcef/browser/extensions/ |
D | mime_handler_view_guest_delegate.cc | 41 content::WebContents* web_contents = guest_->web_contents(); in OnGuestAttached() local 42 DCHECK(web_contents); in OnGuestAttached() 49 owner_browser->browser_info()->MaybeCreateFrame(web_contents->GetMainFrame(), in OnGuestAttached() 54 content::WebContents* web_contents = guest_->web_contents(); in OnGuestDetached() local 55 DCHECK(web_contents); in OnGuestDetached() 62 owner_browser->browser_info()->RemoveFrame(web_contents->GetMainFrame()); in OnGuestDetached()
|
D | extension_web_contents_observer.cc | 17 content::WebContents* web_contents) in CefExtensionWebContentsObserver() argument 18 : ExtensionWebContentsObserver(web_contents), in CefExtensionWebContentsObserver() 20 *web_contents), in CefExtensionWebContentsObserver() 21 script_executor_(new ScriptExecutor(web_contents)) {} in CefExtensionWebContentsObserver() 27 content::WebContents* web_contents) { in CreateForWebContents() argument 29 CefExtensionWebContentsObserver>::CreateForWebContents(web_contents); in CreateForWebContents() 32 FromWebContents(web_contents)->Initialize(); in CreateForWebContents()
|
D | extensions_api_client.cc | 52 content::WebContents* web_contents) const { in AttachWebContentsHelpers() 53 PrefsTabHelper::CreateForWebContents(web_contents); in AttachWebContentsHelpers() 54 printing::CefPrintViewManager::CreateForWebContents(web_contents); in AttachWebContentsHelpers() 58 web_contents, std::unique_ptr<pdf::PDFWebContentsHelperClient>( in AttachWebContentsHelpers() 62 zoom::ZoomController::CreateForWebContents(web_contents); in AttachWebContentsHelpers()
|
D | extension_host_delegate.cc | 21 content::WebContents* web_contents) {} in OnExtensionHostCreated() argument 34 std::unique_ptr<content::WebContents> web_contents, in CreateTab() argument 44 content::WebContents* web_contents, in ProcessMediaAccessRequest() argument 63 content::WebContents* web_contents, in EnterPictureInPicture() argument
|
D | extension_host_delegate.h | 24 void OnExtensionHostCreated(content::WebContents* web_contents) override; 27 void CreateTab(std::unique_ptr<content::WebContents> web_contents, 32 void ProcessMediaAccessRequest(content::WebContents* web_contents, 41 content::WebContents* web_contents,
|
D | extension_function_details.cc | 151 content::WebContents* web_contents = function_->GetSenderWebContents(); in GetSenderBrowser() local 152 if (web_contents) in GetSenderBrowser() 153 return AlloyBrowserHostImpl::GetBrowserForContents(web_contents); in GetSenderBrowser() 228 if (!browser || !browser->web_contents() || !CanAccessBrowser(browser)) { in GetBrowserForTabIdFirstTime() 238 if (!browser || !browser->web_contents()) { in GetBrowserForTabIdFirstTime() 259 if (!browser || !browser->web_contents()) { in GetBrowserForTabIdAgain() 395 auto web_contents = new_browser->web_contents(); in OpenTab() local 399 web_contents); in OpenTab() 400 ExtensionTabUtil::ScrubTabForExtension(extension, web_contents, result.get(), in OpenTab() 410 content::WebContents* contents = new_browser->web_contents(); in CreateTabObject()
|
D | extensions_browser_client.cc | 51 auto* web_contents = content::WebContents::FromRenderFrameHost(frame_host); in BindMimeHandlerService() local 52 if (!web_contents) in BindMimeHandlerService() 56 extensions::MimeHandlerViewGuest::FromWebContents(web_contents); in BindMimeHandlerService() 67 auto* web_contents = content::WebContents::FromRenderFrameHost(frame_host); in BindBeforeUnloadControl() local 68 if (!web_contents) in BindBeforeUnloadControl() 72 extensions::MimeHandlerViewGuest::FromWebContents(web_contents); in BindBeforeUnloadControl() 365 content::WebContents* web_contents) { in GetExtensionWebContentsObserver() argument 366 return CefExtensionWebContentsObserver::FromWebContents(web_contents); in GetExtensionWebContentsObserver()
|
/third_party/cef/libcef/browser/alloy/ |
D | alloy_browser_host_impl.cc | 155 auto web_contents = in Create() local 172 create_params.settings, create_params.client, web_contents, in Create() 200 content::WebContents* web_contents, in CreateInternal() argument 209 DCHECK(web_contents); in CreateInternal() 221 delete web_contents; in CreateInternal() 228 settings, client, web_contents, platform_delegate.get(), in CreateInternal() 233 platform_delegate->WebContentsCreated(web_contents, own_web_contents); in CreateInternal() 236 settings, client, web_contents, browser_info, opener, request_context, in CreateInternal() 323 content::WebContents* contents = web_contents(); in CloseBrowser() 393 if (web_contents()) in GetZoomLevel() [all …]
|
D | alloy_browser_host_impl.h | 189 bool HandleContextMenu(content::WebContents* web_contents, 240 content::WebContents* web_contents, 253 content::WebContents* web_contents) override; 262 void ExitFullscreenModeForTab(content::WebContents* web_contents) override; 264 const content::WebContents* web_contents) override; 266 const content::WebContents* web_contents) override; 267 void FindReply(content::WebContents* web_contents, 278 content::WebContents* web_contents, 284 bool IsNeverComposited(content::WebContents* web_contents) override; 286 content::WebContents* web_contents, [all …]
|
D | browser_platform_delegate_alloy.cc | 37 content::WebContents* web_contents) { in GetPrintViewManager() argument 38 return printing::CefPrintViewManager::FromWebContents(web_contents); in GetPrintViewManager() 104 auto web_contents = content::WebContents::Create(wc_create_params); in CreateWebContents() local 105 CHECK(web_contents); in CreateWebContents() 108 return web_contents.release(); in CreateWebContents() 112 content::WebContents* web_contents, in WebContentsCreated() argument 114 CefBrowserPlatformDelegate::WebContentsCreated(web_contents, owned); in WebContentsCreated() 115 find_in_page::FindTabHelper::CreateForWebContents(web_contents); in WebContentsCreated() 118 SetOwnedWebContents(web_contents); in WebContentsCreated() 284 content::WebContents* web_contents) { in IsNeverComposited() argument [all …]
|
/third_party/cef/libcef/browser/extensions/api/tabs/ |
D | tabs_api.cc | 117 return browser->web_contents(); in GetWebContents() 126 content::WebContents* web_contents = GetWebContents(tab_id_); in Run() local 127 if (!web_contents) in Run() 130 web_contents_ = web_contents; in Run() 314 ExtensionApiFrameIdMap::GetRenderFrameHostById(browser->web_contents(), in CanExecuteScriptOnPage() 367 browser->web_contents()) in GetScriptExecutor() 420 content::WebContents* web_contents = GetWebContents(tab_id); in Run() local 421 if (!web_contents) in Run() 424 GURL url(web_contents->GetVisibleURL()); in Run() 429 ZoomController::FromWebContents(web_contents); in Run() [all …]
|
/third_party/cef/patch/patches/ |
D | web_contents_1257_1565.patch | 1 diff --git content/browser/web_contents/web_contents_impl.cc content/browser/web_contents/web_conte… 3 --- content/browser/web_contents/web_contents_impl.cc 4 +++ content/browser/web_contents/web_contents_impl.cc 52 diff --git content/public/browser/web_contents.h content/public/browser/web_contents.h 54 --- content/public/browser/web_contents.h 55 +++ content/public/browser/web_contents.h 102 + WebContents* web_contents,
|
D | mime_handler_view_guest_1565_2727.patch | 1 diff --git content/browser/web_contents/web_contents_view.h content/browser/web_contents/web_conten… 3 --- content/browser/web_contents/web_contents_view.h 4 +++ content/browser/web_contents/web_contents_view.h 36 web_contents()->GetController().LoadURL( 78 +#include "content/public/browser/web_contents.h"
|
D | chrome_browser_browser.patch | 96 + auto web_contents = cef_browser_delegate_->OpenURLFromTab(source, params); 97 + if (!web_contents) 169 void Browser::DidNavigatePrimaryMainFramePostCommit(WebContents* web_contents) { 170 if (web_contents == tab_strip_model_->GetActiveWebContents()) 173 + CALL_CEF_DELEGATE(DidNavigatePrimaryMainFramePostCommit, web_contents); 185 void Browser::ExitFullscreenModeForTab(WebContents* web_contents) { 187 web_contents); 189 + CALL_CEF_DELEGATE(ExitFullscreenModeForTab, web_contents); 192 bool Browser::IsFullscreenForTabOrPending(const WebContents* web_contents) { 193 @@ -2737,6 +2818,8 @@ void Browser::SetAsDelegate(WebContents* web_contents, bool set_delegate) { [all …]
|
/third_party/cef/libcef/browser/views/ |
D | browser_platform_delegate_views.cc | 71 content::WebContents* web_contents, in WebContentsCreated() argument 73 CefBrowserPlatformDelegateAlloy::WebContentsCreated(web_contents, owned); in WebContentsCreated() 74 native_delegate_->WebContentsCreated(web_contents, /*owned=*/false); in WebContentsCreated() 75 browser_view_->WebContentsCreated(web_contents); in WebContentsCreated() 79 content::WebContents* web_contents) { in WebContentsDestroyed() argument 80 CefBrowserPlatformDelegateAlloy::WebContentsDestroyed(web_contents); in WebContentsDestroyed() 81 native_delegate_->WebContentsDestroyed(web_contents); in WebContentsDestroyed()
|
/third_party/cef/libcef/browser/printing/ |
D | print_view_manager.cc | 178 CefPrintViewManager::CefPrintViewManager(content::WebContents* web_contents) in CefPrintViewManager() argument 179 : PrintViewManager(web_contents) {} in CefPrintViewManager() 189 auto* web_contents = content::WebContents::FromRenderFrameHost(rfh); in BindPrintManagerHost() local 190 if (!web_contents) in BindPrintManagerHost() 192 auto* print_manager = CefPrintViewManager::FromWebContents(web_contents); in BindPrintManagerHost() 209 if (!web_contents() || web_contents()->IsCrashed() || !rfh->IsRenderFrameLive()) { in PrintToPDF() 236 auto browser = CefBrowserHostBase::GetBrowserForContents(web_contents()); in GetDefaultPrintSettings()
|