/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/search/ |
H A D | search_ipc_router_policy_impl.cc | 13 : web_contents_(web_contents), is_incognito_(true) { in SearchIPCRouterPolicyImpl() 29 return !is_incognito_ && search::IsInstantNTP(web_contents_); in ShouldProcessDeleteMostVisitedItem() 33 return !is_incognito_ && search::IsInstantNTP(web_contents_); in ShouldProcessUndoMostVisitedDeletion() 37 return !is_incognito_ && search::IsInstantNTP(web_contents_); in ShouldProcessUndoAllMostVisitedDeletions() 41 return !is_incognito_ && search::IsInstantNTP(web_contents_); in ShouldProcessAddCustomLink() 45 return !is_incognito_ && search::IsInstantNTP(web_contents_); in ShouldProcessUpdateCustomLink() 49 return !is_incognito_ && search::IsInstantNTP(web_contents_); in ShouldProcessReorderCustomLink() 53 return !is_incognito_ && search::IsInstantNTP(web_contents_); in ShouldProcessDeleteCustomLink() 57 return !is_incognito_ && search::IsInstantNTP(web_contents_); in ShouldProcessUndoCustomLinkAction() 61 return !is_incognito_ && search::IsInstantNTP(web_contents_); in ShouldProcessResetCustomLinks() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/ash/keyboard/ |
H A D | keyboard_end_to_end_browsertest.cc | 86 ASSERT_TRUE(web_contents_); in SetUpOnMainThread() 98 content::WebContents* web_contents_; member in KeyboardEndToEndTest 179 content::EvalJs(web_contents_, in IN_PROC_BROWSER_TEST_F() 193 content::EvalJs(web_contents_, in IN_PROC_BROWSER_TEST_F() 206 content::EvalJs(web_contents_, in IN_PROC_BROWSER_TEST_F() 218 ASSERT_TRUE(content::EvalJs(web_contents_, in IN_PROC_BROWSER_TEST_F() 232 ASSERT_TRUE(content::EvalJs(web_contents_, in IN_PROC_BROWSER_TEST_F() 244 ASSERT_TRUE(content::EvalJs(web_contents_, in IN_PROC_BROWSER_TEST_F() 273 ClickElementWithId(web_contents_, "sync"); in IN_PROC_BROWSER_TEST_F() 292 ClickElementWithId(web_contents_, "text"); in IN_PROC_BROWSER_TEST_F() [all …]
|
H A D | chrome_keyboard_web_contents.cc | 152 web_contents_.get()); in ChromeKeyboardWebContents() 153 Observe(web_contents_.get()); in ChromeKeyboardWebContents() 161 web_contents_->GetMainFrame()->GetView(); in ChromeKeyboardWebContents() 179 if (web_contents_) { in ~ChromeKeyboardWebContents() 180 web_contents_->ClosePage(); in ~ChromeKeyboardWebContents() 181 web_contents_->GetNativeView()->RemoveObserver(this); in ~ChromeKeyboardWebContents() 182 web_contents_.reset(); in ~ChromeKeyboardWebContents() 187 GURL old_url = web_contents_->GetURL(); in SetKeyboardUrl() 198 web_contents_->ClosePage(); in SetKeyboardUrl() 209 web_contents_->GetNativeView()->SetBounds(bounds); in SetInitialContentsSize() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/sync/ |
H A D | tab_contents_synced_tab_delegate.cc | 47 : web_contents_(nullptr) {} in TabContentsSyncedTabDelegate() 52 return web_contents_->IsBeingDestroyed(); in IsBeingDestroyed() 76 DCHECK(web_contents_); in GetVirtualURLAtIndex() 82 DCHECK(web_contents_); in GetFaviconURLAtIndex() 90 DCHECK(web_contents_); in GetTransitionAtIndex() 100 DCHECK(web_contents_); in GetPageLanguageAtIndex() 110 DCHECK(web_contents_); in GetSerializedNavigationAtIndex() 197 return web_contents_; in web_contents() 201 return web_contents_; in web_contents() 206 web_contents_ = web_contents; in SetWebContents() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/public/browser/ |
H A D | web_contents_observer.cc | 13 : web_contents_(nullptr) { in WebContentsObserver() 18 : web_contents_(nullptr) { in WebContentsObserver() 22 if (web_contents_) in ~WebContentsObserver() 23 web_contents_->RemoveObserver(this); in ~WebContentsObserver() 27 return web_contents_; in web_contents() 31 if (web_contents == web_contents_) { in Observe() 35 if (web_contents_) in Observe() 38 if (web_contents_) { in Observe() 39 web_contents_->AddObserver(this); in Observe() 54 web_contents_->RemoveObserver(this); in ResetWebContents() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/web_contents/ |
H A D | web_contents_android.cc | 197 : web_contents_(web_contents), in WebContentsAndroid() 300 return web_contents_->IsLoading(); in IsLoading() 316 web_contents_->Stop(); in Stop() 320 web_contents_->Cut(); in Cut() 324 web_contents_->Copy(); in Copy() 328 web_contents_->Paste(); in Paste() 346 web_contents_->SelectAll(); in SelectAll() 351 web_contents_->CollapseSelection(); in CollapseSelection() 429 web_contents_->WasHidden(); in OnHide() 433 web_contents_->WasShown(); in OnShow() [all …]
|
H A D | web_contents_view_android.cc | 93 : web_contents_(web_contents), in WebContentsViewAndroid() 121 if (web_contents_->ShowingInterstitialPage()) { in SetOverscrollRefreshHandler() 122 rwhv = web_contents_->GetInterstitialPage() in SetOverscrollRefreshHandler() 157 rwhv = web_contents_->GetInterstitialPage() in GetRenderWidgetHostViewAndroid() 197 web_contents_->SetFocusToLocationBar(); in SetInitialFocus() 271 web_contents_->OnScreenOrientationChange(); in RenderViewReady() 480 web_contents_->Focus(); in OnPerformDrop() 520 if (web_contents_->GetDelegate() && in TakeFocus() 521 web_contents_->GetDelegate()->TakeFocus(web_contents_, reverse)) in TakeFocus() 613 web_contents_->SendScreenRects(); in OnSizeChanged() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/web_contents/ |
H A D | web_contents_android.cc | 195 : web_contents_(web_contents), in WebContentsAndroid() 309 return web_contents_->IsLoading(); in IsLoading() 325 web_contents_->Stop(); in Stop() 329 web_contents_->Cut(); in Cut() 333 web_contents_->Copy(); in Copy() 337 web_contents_->Paste(); in Paste() 355 web_contents_->SelectAll(); in SelectAll() 360 web_contents_->CollapseSelection(); in CollapseSelection() 431 web_contents_->WasHidden(); in OnHide() 435 web_contents_->WasShown(); in OnShow() [all …]
|
H A D | web_contents_view_android.cc | 93 : web_contents_(web_contents), in WebContentsViewAndroid() 166 if (web_contents_->FocusLocationBarByDefault()) in SetInitialFocus() 167 web_contents_->SetFocusToLocationBar(); in SetInitialFocus() 230 web_contents_->OnScreenOrientationChange(); in RenderViewReady() 267 web_contents_->GetRenderWidgetHostView()); in ShowContextMenu() 438 web_contents_->Focus(); in OnPerformDrop() 478 if (web_contents_->GetDelegate() && in TakeFocus() 479 web_contents_->GetDelegate()->TakeFocus(web_contents_, reverse)) in TakeFocus() 576 web_contents_->SendScreenRects(); in OnSizeChanged() 584 if (web_contents_->GetRenderWidgetHostView()) in OnPhysicalBackingSizeChanged() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/public/browser/ |
H A D | web_contents_observer.cc | 13 : web_contents_(nullptr) { in WebContentsObserver() 18 : web_contents_(nullptr) { in WebContentsObserver() 22 if (web_contents_) in ~WebContentsObserver() 23 web_contents_->RemoveObserver(this); in ~WebContentsObserver() 27 return web_contents_; in web_contents() 31 if (web_contents == web_contents_) { in Observe() 35 if (web_contents_) in Observe() 38 if (web_contents_) { in Observe() 39 web_contents_->AddObserver(this); in Observe() 67 web_contents_->RemoveObserver(this); in ResetWebContents() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/ui/webui/ |
H A D | constrained_web_dialog_delegate_base.cc | 38 web_contents_ = web_contents_holder_.get(); in ConstrainedWebDialogDelegateBase() 39 WebContentsObserver::Observe(web_contents_); in ConstrainedWebDialogDelegateBase() 40 zoom::ZoomController::CreateForWebContents(web_contents_); in ConstrainedWebDialogDelegateBase() 45 web_contents_->SetDelegate(this); in ConstrainedWebDialogDelegateBase() 48 web_contents_->GetMutableRendererPrefs(); in ConstrainedWebDialogDelegateBase() 52 web_contents_->SyncRendererPrefs(); in ConstrainedWebDialogDelegateBase() 57 web_contents_->GetController().LoadURL( in ConstrainedWebDialogDelegateBase() 63 if (web_contents_) { in ~ConstrainedWebDialogDelegateBase() 83 CloseContents(web_contents_); in OnDialogCloseFromWebUI() 101 return web_contents_; in GetWebContents() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/resource_coordinator/ |
H A D | tab_lifecycle_unit_unittest.cc | 120 web_contents_ = test_web_contents.get(); in SetUp() 126 GURL("https://www.example.com"), web_contents_); in SetUp() 133 web_contents_->WasHidden(); in SetUp() 218 web_contents_->WasShown(); in TEST_F() 225 web_contents_->WasHidden(); in TEST_F() 376 FormInteractionTabHelper::FromWebContents(web_contents_) in TEST_F() 469 content::WebContentsTester::For(web_contents_) in TEST_F() 485 web_contents_->WasShown(); in TEST_F() 490 web_contents_->WasHidden(); in TEST_F() 495 web_contents_->WasShown(); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/find_bar/ |
H A D | find_bar_controller.cc | 35 DCHECK(!web_contents_); in ~FindBarController() 40 find_in_page::FindTabHelper::FromWebContents(web_contents_); in Show() 88 if (web_contents_) { in EndFindSession() 106 if (web_contents_) { in ChangeWebContents() 118 web_contents_ = contents; in ChangeWebContents() 120 web_contents_ in ChangeWebContents() 133 if (!web_contents_) in ChangeWebContents() 170 if (!web_contents_) in SetText() 199 if (source_controller == &web_contents_->GetController()) { in Observe() 212 DCHECK_EQ(web_contents, web_contents_); in OnFindEmptyText() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/ash/assistant/ |
H A D | assistant_web_view_impl.cc | 30 web_contents_->SetDelegate(nullptr); in ~AssistantWebViewImpl() 38 return web_contents_->GetNativeView(); in GetNativeView() 60 web_contents_->GetController().GoBack(); in GoBack() 107 DCHECK_EQ(web_contents_.get(), web_contents); in ResizeDueToAutoResize() 113 DCHECK_EQ(web_contents_.get(), web_contents); in TakeFocus() 123 DCHECK_EQ(web_contents_.get(), web_contents); in NavigationStateChanged() 164 web_contents_ = in InitWebContents() 168 web_contents_->SetDelegate(this); in InitWebContents() 169 Observe(web_contents_.get()); in InitWebContents() 177 web_contents_->GetMutableRendererPrefs() in InitWebContents() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/weblayer/browser/ |
H A D | tab_impl.cc | 171 if (web_contents_) { in TabImpl() 191 web_contents_->SetDelegate(this); in TabImpl() 192 Observe(web_contents_.get()); in TabImpl() 200 web_contents_.get(), in TabImpl() 205 web_contents_.get()); in TabImpl() 209 web_contents_.get(), in TabImpl() 211 web_contents_.get())); in TabImpl() 216 web_contents_.get(), in TabImpl() 235 web_contents_->SetDelegate(nullptr); in ~TabImpl() 236 web_contents_.reset(); in ~TabImpl() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/javascript_dialogs/ |
H A D | javascript_tab_modal_dialog_manager_delegate_desktop.cc | 30 : web_contents_(web_contents) {} in JavaScriptTabModalDialogManagerDelegateDesktop() 45 web_contents_); in WillRunDialog() 57 Browser* browser = chrome::FindBrowserWithWebContents(web_contents_); in SetTabNeedsAttention() 67 tab_strip_model->GetIndexOfWebContents(web_contents_)); in SetTabNeedsAttention() 79 return browser->tab_strip_model()->GetActiveWebContents() == web_contents_; in IsWebContentsForemost() 83 Browser* browser = chrome::FindBrowserWithWebContents(web_contents_); in IsApp() 89 javascript_dialogs::TabModalDialogManager::FromWebContents(web_contents_) in OnBrowserSetLastActive() 99 if (replace->old_contents == web_contents_) { in OnTabStripModelChanged() 105 javascript_dialogs::TabModalDialogManager::FromWebContents(web_contents_) in OnTabStripModelChanged() 111 if (contents.contents == web_contents_) { in OnTabStripModelChanged() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/weblayer/browser/ |
H A D | tab_impl.cc | 290 DCHECK(web_contents_); in TabImpl() 310 Observe(web_contents_.get()); in TabImpl() 320 web_contents_.get(), in TabImpl() 324 web_contents_.get()); in TabImpl() 326 web_contents_.get(), in TabImpl() 328 web_contents_.get())); in TabImpl() 330 web_contents_.get()); in TabImpl() 343 web_contents_.get(), in TabImpl() 356 web_contents_.get(), in TabImpl() 394 web_contents_.reset(); in ~TabImpl() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/ |
H A D | content_service_delegate_impl.cc | 47 WebContentsObserver::Observe(web_contents_.get()); in NavigableContentsDelegateImpl() 48 web_contents_->SetDelegate(this); in NavigableContentsDelegateImpl() 51 web_contents_->GetMutableRendererPrefs(); in NavigableContentsDelegateImpl() 55 web_contents_->SyncRendererPrefs(); in NavigableContentsDelegateImpl() 69 auto* rfh = web_contents_->GetMainFrame(); in NotifyAXTreeChange() 78 return web_contents_->GetNativeView(); in GetNativeView() 101 void Focus() override { web_contents_->Focus(); } in Focus() 104 web_contents_->FocusThroughTabTraversal(reverse); in FocusThroughTabTraversal() 131 DCHECK_EQ(web_contents, web_contents_.get()); in ResizeDueToAutoResize() 143 web_contents_->GetRenderViewHost() in RenderViewReady() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/test/ |
H A D | test_web_contents_factory.cc | 23 web_contents_.clear(); in ~TestWebContentsFactory() 33 web_contents_.push_back( in CreateWebContents() 35 DCHECK(web_contents_.back()); in CreateWebContents() 36 return web_contents_.back().get(); in CreateWebContents() 40 auto it = web_contents_.begin(); in DestroyWebContents() 41 for (; it != web_contents_.end(); ++it) { in DestroyWebContents() 45 if (it == web_contents_.end()) in DestroyWebContents() 47 web_contents_.erase(it); in DestroyWebContents()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/media_router/ |
H A D | presentation_receiver_window_controller.cc | 51 DCHECK(!web_contents_); in ~PresentationReceiverWindowController() 64 DCHECK(web_contents_); in Start() 67 web_contents_.get(), presentation_id); in Start() 78 if (web_contents_) { in Terminate() 79 web_contents_->ClosePage(); in Terminate() 108 return web_contents_.get(); in web_contents() 126 web_contents_->SetDelegate(this); in PresentationReceiverWindowController() 137 web_contents_.reset(); in OnProfileWillBeDestroyed() 163 web_contents_.reset(); in CloseContents() 169 DCHECK_EQ(web_contents_.get(), source); in ShouldSuppressDialogs() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/security_interstitials/content/ |
H A D | security_interstitial_controller_client.cc | 28 web_contents_(web_contents), in SecurityInterstitialControllerClient() 44 return web_contents_->GetController().CanGoBack(); in CanGoBack() 51 if (web_contents_->GetController().CanGoBack()) { in GoBackAfterNavigationCommitted() 52 web_contents_->GetController().GoBack(); in GoBackAfterNavigationCommitted() 54 web_contents_->GetController().LoadURL( in GoBackAfterNavigationCommitted() 68 web_contents_->GetController().Reload(content::ReloadType::NORMAL, true); in Reload() 76 web_contents_->OpenURL(params); in OpenUrlInCurrentTab() 84 web_contents_->OpenURL(params); in OpenUrlInNewForegroundTab() 88 settings_page_helper_->OpenEnhancedProtectionSettings(web_contents_); in OpenEnhancedProtectionSettings() 118 return web_contents_->GetController().GetEntryCount() > 0; in CanGoBackBeforeNavigation()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromecast/browser/ |
H A D | cast_web_contents_impl.cc | 143 DCHECK(web_contents_); in CastWebContentsImpl() 188 return web_contents_; in web_contents() 200 if (!web_contents_ || !web_contents_->GetMainFrame()) { in GetMainFrameRenderProcessPid() 220 if (!web_contents_) { in LoadUrl() 243 web_contents_->ClosePage(); in ClosePage() 272 if (!web_contents_) in SetWebVisibilityAndPaint() 275 web_contents_->WasShown(); in SetWebVisibilityAndPaint() 755 if (!web_contents_) { in UpdatePageState() 795 if (!web_contents_) in MainFrameWasResized() 806 if (!web_contents_ || render_frame_host != web_contents_->GetMainFrame()) in ResourceLoadComplete() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/bluetooth/ |
H A D | web_bluetooth_browsertest.cc | 406 content::WebContents* web_contents_ = nullptr; member in __anon358ce3f40111::WebBluetoothTest 416 web_contents_, in IN_PROC_BROWSER_TEST_F() 438 web_contents_, in IN_PROC_BROWSER_TEST_F() 460 web_contents_, in IN_PROC_BROWSER_TEST_F() 497 web_contents_, in IN_PROC_BROWSER_TEST_F() 514 web_contents_, in IN_PROC_BROWSER_TEST_F() 602 ASSERT_TRUE(content::ExecJs(web_contents_, R"( in IN_PROC_BROWSER_TEST_F() 609 ASSERT_TRUE(content::ExecJs(web_contents_, R"( in IN_PROC_BROWSER_TEST_F() 633 ASSERT_TRUE(content::ExecJs(web_contents_, R"( in IN_PROC_BROWSER_TEST_F() 640 ASSERT_TRUE(content::ExecJs(web_contents_, R"( in IN_PROC_BROWSER_TEST_F() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/browser/app_window/ |
H A D | app_window_contents.cc | 37 web_contents_ = content::WebContents::Create(create_params); in Initialize() 39 Observe(web_contents_.get()); in Initialize() 40 web_contents_->GetMutableRendererPrefs()-> in Initialize() 42 web_contents_->SyncRendererPrefs(); in Initialize() 48 if (web_contents_->GetMainFrame()->GetProcess()->GetID() != in LoadContents() 51 << web_contents_->GetMainFrame()->GetProcess()->GetID() in LoadContents() 54 web_contents_->GetController().LoadURL( in LoadContents() 67 content::RenderFrameHost* rfh = web_contents_->GetMainFrame(); in NativeWindowChanged() 74 content::RenderFrameHost* rfh = web_contents_->GetMainFrame(); in NativeWindowClosed() 80 return web_contents_.get(); in GetWebContents()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/browser/app_window/ |
H A D | app_window_contents.cc | 37 web_contents_ = content::WebContents::Create(create_params); in Initialize() 39 Observe(web_contents_.get()); in Initialize() 40 web_contents_->GetMutableRendererPrefs()-> in Initialize() 42 web_contents_->SyncRendererPrefs(); in Initialize() 48 if (web_contents_->GetMainFrame()->GetProcess()->GetID() != in LoadContents() 51 << web_contents_->GetMainFrame()->GetProcess()->GetID() in LoadContents() 54 web_contents_->GetController().LoadURL( in LoadContents() 67 content::RenderFrameHost* rfh = web_contents_->GetMainFrame(); in NativeWindowChanged() 74 content::RenderFrameHost* rfh = web_contents_->GetMainFrame(); in NativeWindowClosed() 80 return web_contents_.get(); in GetWebContents()
|