/third_party/cef/libcef/browser/ |
D | menu_manager.cc | 97 browser_(browser), in CefMenuManager() 145 CefRefPtr<CefClient> client = browser_->GetClient(); in CreateContextMenu() 151 CefRefPtr<CefFrame> frame = browser_->GetFocusedFrame(); in CreateContextMenu() 153 handler->OnBeforeContextMenu(browser_, frame, paramsPtr.get(), in CreateContextMenu() 168 if (handler->RunContextMenu(browser_, frame, paramsPtr.get(), in CreateContextMenu() 194 return runner_->RunContextMenu(browser_, model_.get(), params_); in CreateContextMenu() 210 CefRefPtr<CefClient> client = browser_->GetClient(); in ExecuteCommand() 218 browser_, browser_->GetFocusedFrame(), paramsPtr.get(), command_id, in ExecuteCommand() 261 CefRefPtr<CefClient> client = browser_->GetClient(); in MenuClosed() 265 handler->OnContextMenuDismissed(browser_, browser_->GetFocusedFrame()); in MenuClosed() [all …]
|
D | javascript_dialog_manager.cc | 68 : browser_(browser), in CefJavaScriptDialogManager() 91 CefRefPtr<CefClient> client = browser_->GetClient(); in RunJavaScriptDialog() 102 browser_, origin_url.spec(), in RunJavaScriptDialog() 136 browser_, message_type, display_url, message_text, default_prompt_text, in RunJavaScriptDialog() 146 if (browser_->destruction_state() >= in RunBeforeUnloadDialog() 156 CefRefPtr<CefClient> client = browser_->GetClient(); in RunBeforeUnloadDialog() 165 browser_, message_text, is_reload, callbackPtr.get()); in RunBeforeUnloadDialog() 189 browser_, content::JAVASCRIPT_DIALOG_TYPE_CONFIRM, in RunBeforeUnloadDialog() 200 CefRefPtr<CefClient> client = browser_->GetClient(); in CancelDialogs() 205 handler->OnResetDialogState(browser_); in CancelDialogs() [all …]
|
D | audio_capturer.cc | 58 browser_(browser), in CefAudioCapturer() 71 DCHECK(browser_); in CefAudioCapturer() 73 DCHECK(browser_->web_contents()); in CefAudioCapturer() 78 &StreamCreatorHelper, base::Unretained(browser_->web_contents()), in CefAudioCapturer() 92 audio_handler_->OnAudioStreamStarted(browser_, params_, channels_); in OnCaptureStarted() 109 audio_handler_->OnAudioStreamPacket(browser_, data.data(), source->frames(), in Capture() 116 audio_handler_->OnAudioStreamError(browser_, message); in OnCaptureError() 124 audio_handler_->OnAudioStreamStopped(browser_); in StopStream()
|
D | browser_info.cc | 45 return browser_; in browser() 53 DCHECK(!browser_); in SetBrowser() 60 DCHECK(browser_); in SetBrowser() 63 auto old_browser = browser_; in SetBrowser() 64 browser_ = browser; in SetBrowser() 66 if (!browser_) { in SetBrowser() 102 DCHECK(browser_); in MaybeCreateFrame() 119 SetMainFrame(browser_, info->frame_); in MaybeCreateFrame() 139 SetMainFrame(browser_, frame_info->frame_); in MaybeCreateFrame() 150 browser_->request_context()->OnRenderFrameCreated(global_id, is_main_frame, in MaybeCreateFrame() [all …]
|
D | browser_platform_delegate.cc | 14 DCHECK(!browser_); in ~CefBrowserPlatformDelegate() 34 DCHECK(!browser_); in WebContentsCreated() 72 DCHECK(!browser_); in BrowserCreated() 74 browser_ = browser; in BrowserCreated() 98 DCHECK(browser_ && browser_ == browser); in BrowserDestroyed() 99 browser_ = nullptr; in BrowserDestroyed()
|
/third_party/cef/tests/cefclient/browser/ |
D | osr_window_win.cc | 166 DCHECK(browser_.get()); in ShowPopup() 175 render_handler_->SetBrowser(browser_); in ShowPopup() 179 browser_->GetHost()->WasResized(); in ShowPopup() 191 if (!browser_) in Show() 200 browser_->GetHost()->WasHidden(false); in Show() 205 browser_->GetHost()->SetFocus(true); in Show() 215 if (!browser_) in Hide() 219 browser_->GetHost()->SetFocus(false); in Hide() 223 browser_->GetHost()->WasHidden(true); in Hide() 268 if (browser_) { in SetDeviceScaleFactor() [all …]
|
D | browser_window_std_gtk.cc | 130 if (browser_) { in ShowPopup() 133 ::Window xwindow = browser_->GetHost()->GetWindowHandle(); in ShowPopup() 146 if (browser_) { in Show() 147 ::Window xwindow = browser_->GetHost()->GetWindowHandle(); in Show() 156 if (browser_) { in Hide() 157 ::Window xwindow = browser_->GetHost()->GetWindowHandle(); in Hide() 166 if (xdisplay_ && browser_) { in SetBounds() 167 ::Window xwindow = browser_->GetHost()->GetWindowHandle(); in SetBounds() 176 if (browser_) in SetFocus() 177 browser_->GetHost()->SetFocus(focus); in SetFocus()
|
D | browser_window.cc | 25 return browser_; in GetBrowser() 35 DCHECK(!browser_); in OnBrowserCreated() 36 browser_ = browser; in OnBrowserCreated() 43 DCHECK_EQ(browser->GetIdentifier(), browser_->GetIdentifier()); in OnBrowserClosing() 51 if (browser_.get()) { in OnBrowserClosed() 52 DCHECK_EQ(browser->GetIdentifier(), browser_->GetIdentifier()); in OnBrowserClosed() 53 browser_ = nullptr; in OnBrowserClosed()
|
D | browser_window_osr_gtk.cc | 1022 DCHECK(browser_.get()); in ShowPopup() 1029 browser_->GetHost()->WasResized(); in ShowPopup() 1039 browser_->GetHost()->WasHidden(false); in Show() 1044 browser_->GetHost()->SetFocus(true); in Show() 1050 if (!browser_) in Hide() 1054 browser_->GetHost()->SetFocus(false); in Hide() 1058 browser_->GetHost()->WasHidden(true); in Hide() 1089 if (browser_) { in SetDeviceScaleFactor() 1090 browser_->GetHost()->NotifyScreenInfoChanged(); in SetDeviceScaleFactor() 1091 browser_->GetHost()->WasResized(); in SetDeviceScaleFactor() [all …]
|
D | test_runner.cc | 80 explicit Visitor(CefRefPtr<CefBrowser> browser) : browser_(browser) {} in RunGetSourceTest() 87 LoadStringResourcePage(browser_, kTestGetSourcePage, ss.str()); in RunGetSourceTest() 91 CefRefPtr<CefBrowser> browser_; in RunGetSourceTest() member in client::test_runner::__anona1916cbc0111::RunGetSourceTest::Visitor 101 explicit Visitor(CefRefPtr<CefBrowser> browser) : browser_(browser) {} in RunGetTextTest() 108 LoadStringResourcePage(browser_, kTestGetTextPage, ss.str()); in RunGetTextTest() 112 CefRefPtr<CefBrowser> browser_; in RunGetTextTest() member in client::test_runner::__anona1916cbc0111::RunGetTextTest::Visitor 170 explicit Visitor(CefRefPtr<CefBrowser> browser) : browser_(browser) { in RunPluginInfoTest() 180 LoadStringResourcePage(browser_, kTestPluginInfoPage, html_); in RunPluginInfoTest() 195 CefRefPtr<CefBrowser> browser_; in RunPluginInfoTest() member in client::test_runner::__anona1916cbc0111::RunPluginInfoTest::Visitor 340 explicit Client(CefRefPtr<CefBrowser> browser) : browser_(browser) { in EndTracing() [all …]
|
D | osr_render_handler_win.cc | 30 browser_ = browser; in SetBrowser() 31 if (browser_ && settings_.external_begin_frame_enabled) { in SetBrowser() 76 if (settings_.external_begin_frame_enabled && browser_) { in TriggerBeginFrame() 79 browser_->GetHost()->SendExternalBeginFrame(); in TriggerBeginFrame()
|
D | text_input_client_osr_mac.mm | 72 browser_ = browser; 77 browser_ = nullptr; 113 browser_->GetHost()->ImeCommitText([im_text UTF8String], range, 0); 163 browser_->GetHost()->ImeSetComposition(markedText_, underlines_, 181 browser_->GetHost()->ImeFinishComposingText(false); 223 browser_->GetHost()->GetClient()->GetRenderHandler()->GetScreenPoint( 224 browser_, rect.origin.x, rect.origin.y, screenX, screenY); 282 browser_->GetHost()->SendKeyEvent(keyEvent); 292 browser_->GetHost()->SendKeyEvent(keyEvent); 300 browser_->GetHost()->ImeCommitText(textToBeInserted_, [all …]
|
D | browser_window_std_win.cc | 107 if (browser_) in SetFocus() 108 browser_->GetHost()->SetFocus(focus); in SetFocus() 114 if (browser_) in GetWindowHandle() 115 return browser_->GetHost()->GetWindowHandle(); in GetWindowHandle()
|
/third_party/cef/libcef/browser/devtools/ |
D | devtools_manager.cc | 43 DCHECK(!browser_ && !controller_); in Initialize() 44 browser_ = browser; in Initialize() 54 return observer_->OnDevToolsMessage(browser_, message.data(), in OnDevToolsMessage() 62 observer_->OnDevToolsMethodResult(browser_, message_id, success, in OnDevToolsMethodResult() 69 observer_->OnDevToolsEvent(browser_, std::string(method), params.data(), in OnDevToolsEvent() 75 observer_->OnDevToolsAgentAttached(browser_); in OnDevToolsAgentAttached() 80 observer_->OnDevToolsAgentDetached(browser_); in OnDevToolsAgentDetached() 85 browser_ = nullptr; in OnDevToolsControllerDestroyed() 91 CefBrowserHostBase* browser_ = nullptr; member in __anon516310a20111::CefDevToolsRegistrationImpl
|
/third_party/cef/libcef/browser/chrome/ |
D | chrome_browser_host_impl.cc | 99 DCHECK(!browser_); in AddNewContents() 138 if (browser_) { in OnSetFocus() 141 chrome::SelectNumberedTab(browser_, tab_index); in OnSetFocus() 200 if (browser_) { in Print() 204 browser_->profile()->GetPrefs()->GetBoolean( in Print() 373 if (browser_) { in Navigate() 384 NavigateParams nav_params(browser_, gurl, params.transition); in Navigate() 532 browser_ = browser; in SetBrowser() 540 if (browser_ && is_views_hosted_) { in WindowDestroyed() 542 static_cast<ChromeBrowserView*>(browser_->window()); in WindowDestroyed() [all …]
|
D | chrome_context_menu_handler.cc | 24 : context_menu_(context_menu), browser_(browser), handler_(handler) {} in CefContextMenuObserver() 38 handler_->OnBeforeContextMenu(browser_, GetFrame(), params_, model_); in InitMenu() 73 if (handler_->OnContextMenuCommand(browser_, GetFrame(), params_, in CommandWillBeExecuted() 91 handler_->OnContextMenuDismissed(browser_, GetFrame()); in OnMenuClosed() 96 browser_ = nullptr; in OnMenuClosed() 166 frame = browser_->GetFrameForHost(rfh); in GetFrame() 169 frame = browser_->GetMainFrame(); in GetFrame() 175 CefRefPtr<CefBrowserHostBase> browser_; member in context_menu::__anonbbfcdf190111::CefContextMenuObserver
|
D | chrome_browser_delegate.cc | 30 : browser_(browser), create_params_(create_params) { in ChromeBrowserDelegate() 31 DCHECK(browser_); in ChromeBrowserDelegate() 40 new_contents->SetDelegate(browser_); in OnWebContentsCreated() 56 browser_host->SetBrowser(set_delegate ? browser_ : nullptr); in SetAsDelegate() 131 chrome::AddWebContents(browser_, source_contents, std::move(new_contents), in AddNewContents() 142 source = browser_->tab_strip_model()->GetActiveWebContents(); in OpenURLFromTab() 258 CefBrowserContext::FromBrowserContext(browser_->create_params().profile); in CreateBrowser() 271 browser_host->SetBrowser(browser_); in CreateBrowser()
|
/third_party/cef/libcef/browser/views/ |
D | browser_view_impl.cc | 93 browser_ = browser; in BrowserCreated() 98 DCHECK_EQ(browser, browser_); in BrowserDestroyed() 99 browser_ = nullptr; in BrowserDestroyed() 136 return browser_; in GetBrowser() 175 if (browser_) { in Detach() 178 CefRefPtr<CefBrowserHostBase> browser = browser_; in Detach() 188 if (browser_) in GetDebugInfo() 189 info->SetString("url", browser_->GetMainFrame()->GetURL().ToString()); in GetDebugInfo() 193 if (!browser_ && pending_browser_create_params_) { in OnBrowserViewAdded() 199 DCHECK(browser_); in OnBrowserViewAdded()
|
/third_party/cef/patch/patches/ |
D | chrome_runtime_views.patch | 21 - return browser_->SupportsWindowFeature(Browser::FEATURE_TABSTRIP); 22 + return browser_->SupportsWindowFeature(Browser::FEATURE_TABSTRIP) || 23 + browser_->toolbar_overridden(); 27 - return browser_->SupportsWindowFeature(Browser::FEATURE_LOCATIONBAR); 28 + return browser_->SupportsWindowFeature(Browser::FEATURE_LOCATIONBAR) || 29 + browser_->toolbar_overridden(); 158 - browser_(std::move(browser)), 166 + DCHECK(!browser_); 167 + browser_ = std::move(browser); 171 SetShowIcon(::ShouldShowWindowIcon(browser_.get())); [all …]
|
/third_party/cef/libcef/browser/printing/ |
D | print_dialog_linux.cc | 152 browser_ = extensions::GetOwnerBrowserForGlobalId( in CefPrintDialogLinux() 156 DCHECK(browser_); in CefPrintDialogLinux() 193 if (!handler_->OnPrintDialog(browser_.get(), has_selection, in ShowDialog() 247 if (browser_ && browser_->GetClient()) { in SetHandler() 248 handler_ = browser_->GetClient()->GetPrintHandler(); in SetHandler() 254 handler_->OnPrintReset(browser_.get()); in ReleaseHandler() 270 handler_->OnPrintSettings(browser_.get(), settings_impl.get(), get_defaults); in UpdateSettings() 288 if (!handler_->OnPrintJob(browser_.get(), document_name, path_to_pdf_.value(), in SendDocumentToPrinter()
|
/third_party/cef/libcef/browser/native/ |
D | window_x11.cc | 74 : browser_(browser), in CefWindowX11() 228 if (browser_.get()) { in Focus() 280 if (browser_.get()) { in GetHost() 314 if (browser_.get()) in ContinueFocus() 315 browser_->SetFocus(true); in ContinueFocus() 344 if (browser_.get()) { in ProcessXEvent() 355 browser_->NotifyMoveOrResizeStarted(); in ProcessXEvent() 363 if (!browser_ || browser_->TryCloseBrowser()) { in ProcessXEvent() 368 if (browser_) { in ProcessXEvent() 371 static_cast<AlloyBrowserHostImpl*>(browser_.get()) in ProcessXEvent() [all …]
|
/third_party/cef/tests/ceftests/ |
D | audio_output_unittest.cc | 887 browser_ = browser; in OnAfterCreated() 908 EXPECT_TRUE(browser_->IsSame(browser)); in OnAudioStreamStarted() 921 EXPECT_TRUE(browser_->IsSame(browser)); in OnAudioStreamPacket() 929 EXPECT_TRUE(browser_->IsSame(browser)); in OnAudioStreamStopped() 944 browser_ = nullptr; in DestroyTest() 953 CefRefPtr<CefBrowser> browser_; member in __anone4af38050111::AudioTestHandler 1047 EXPECT_TRUE(browser_->IsSame(browser)); in OnAudioStreamStarted()
|
/third_party/cef/libcef/browser/net_service/ |
D | resource_request_handler_wrapper.cc | 262 browser_ = browser; in Initialize() 297 CefRefPtr<CefBrowserHostBase> browser_; member 387 if (init_state_->browser_) { in SetInitialized() 388 if (!init_state_->browser_->browser_info()->browser()) { in SetInitialized() 549 init_state_->browser_, init_state_->frame_, requestPtr.get()); in OnBeforeRequest() 618 init_state_->browser_, init_state_->frame_, in AllowCookieLoad() 687 init_state_->browser_, init_state_->frame_, in ShouldInterceptRequest() 759 init_state_->browser_, init_state_->frame_, in ContinueShouldInterceptRequest() 765 init_state_->browser_, init_state_->frame_, request->url.scheme(), in ContinueShouldInterceptRequest() 861 init_state_->browser_, init_state_->frame_, in HandleRedirect() [all …]
|
/third_party/cef/libcef/browser/chrome/views/ |
D | chrome_browser_view.cc | 18 DCHECK(!browser_); in InitBrowser() 21 browser_ = browser.get(); in InitBrowser() 22 DCHECK(browser_); in InitBrowser() 39 browser_ = nullptr; in Destroyed()
|
D | chrome_browser_frame.cc | 15 DCHECK(!browser_); in Init() 16 browser_ = browser.get(); in Init() 17 DCHECK(browser_); in Init()
|