Home
last modified time | relevance | path

Searched refs:GetMainFrame (Results 1 – 25 of 61) sorted by relevance

123

/third_party/cef/libcef/browser/chrome/extensions/
Dchrome_mime_handler_view_guest_delegate_cef.cc31 owner_browser->browser_info()->MaybeCreateFrame(web_contents->GetMainFrame(), in OnGuestAttached()
44 owner_browser->browser_info()->RemoveFrame(web_contents->GetMainFrame()); in OnGuestDetached()
/third_party/cef/tests/cefclient/browser/
Dtest_runner.cc56 browser->GetMainFrame()->LoadURL(kTestOrigin + page); in LoadStringResourcePage()
95 browser->GetMainFrame()->GetSource(new Visitor(browser)); in RunGetSourceTest()
116 browser->GetMainFrame()->GetText(new Visitor(browser)); in RunGetTextTest()
123 if (browser->GetMainFrame()->GetURL().ToString().find("http://tests/") != 0) { in RunRequestTest()
151 browser->GetMainFrame()->LoadRequest(request); in RunRequestTest()
163 browser->GetMainFrame()->ExecuteJavaScript( in RunPopupWindowTest()
288 browser->GetMainFrame()->ExecuteJavaScript( in Prompt()
289 code, browser->GetMainFrame()->GetURL(), 0); in Prompt()
428 browser_->GetMainFrame()->GetURL(); in PrintToPDF()
455 browser->GetMainFrame()->LoadURL("http://tests/other_tests"); in RunOtherTests()
[all …]
/third_party/cef/libcef/browser/extensions/
Dmime_handler_view_guest_delegate.cc49 owner_browser->browser_info()->MaybeCreateFrame(web_contents->GetMainFrame(), in OnGuestAttached()
62 owner_browser->browser_info()->RemoveFrame(web_contents->GetMainFrame()); in OnGuestDetached()
/third_party/cef/tests/ceftests/
Ddisplay_unittest.cc106 browser->GetMainFrame()->LoadURL(kTitleUrl2); in NextIfReady()
115 browser->GetMainFrame()->ExecuteJavaScript("setTitle()", kTitleUrl2, 0); in NextIfReady()
187 browser->GetMainFrame()->ExecuteJavaScript( in OnAutoResize()
200 browser->GetMainFrame()->ExecuteJavaScript( in OnAutoResize()
294 browser->GetMainFrame()->ExecuteJavaScript("printMessage()", config_.source, in OnLoadingStateChange()
Dnavigation_unittest.cc87 const std::string& url = browser->GetMainFrame()->GetURL(); in OnLoadingStateChange()
103 SendTestResultsIfDone(browser, browser->GetMainFrame()); in OnLoadingStateChange()
317 browser->GetMainFrame()->LoadURL(item.target); in RunNav()
456 std::string url1 = browser->GetMainFrame()->GetURL(); in OnLoadStart()
478 std::string url1 = browser->GetMainFrame()->GetURL(); in OnLoadEnd()
627 browser->GetMainFrame()->LoadURL(kDynIfrNav1); in RunNav()
629 browser->GetMainFrame()->LoadURL(kDynIfrNav2); in RunNav()
657 CefString url = browser->GetMainFrame()->GetURL(); in OnLoadEnd()
1194 SendTestResults(browser_main_, browser_main_->GetMainFrame(), in OnBrowserDestroyed()
1238 SendTestResultsIfDone(browser, browser->GetMainFrame()); in OnLoadingStateChange()
[all …]
Dwebui_unittest.cc58 GetBrowser()->GetMainFrame()->LoadURL(url); in LoadURL()
67 NextNavIfDone(browser->GetMainFrame()->GetURL()); in OnLoadingStateChange()
Dthread_unittest.cc328 browser->GetMainFrame()->SendProcessMessage(PID_RENDERER, msg); in OnLoadingStateChange()
416 browser_->GetMainFrame()->SendProcessMessage(PID_BROWSER, return_msg); in DestroyTest()
Dosr_display_unittest.cc141 GetBrowser()->GetMainFrame()->LoadURL(kTestUrl2); in OnStart()
269 browser->GetMainFrame()->LoadURL("javascript:window.open('about:blank')"); in OnLoadingStateChange()
Ddom_unittest.cc226 browser_->GetMainFrame()->SendProcessMessage(PID_BROWSER, return_msg); in DestroyTest()
249 browser->GetMainFrame()->VisitDOM( in OnProcessMessageReceived()
Dframe_handler_unittest.cc257 auto frame = browser->GetMainFrame(); in OnAfterCreated()
271 auto frame = browser->GetMainFrame(); in OnBeforeClose()
427 auto main_frame = browser->GetMainFrame(); in VerifyBrowser()
732 GetBrowser()->GetMainFrame()->LoadURL(next_url); in MaybeDestroyTest()
1496 if (temp_main_frame_ && temp_main_frame_->IsSame(browser->GetMainFrame())) { in OnAfterCreated()
1648 browser->GetMainFrame()->ExecuteJavaScript( in OnAfterCreated()
Dosr_accessibility_unittest.cc233 browser->GetMainFrame()->ExecuteJavaScript( in HideEditBox()
243 browser->GetMainFrame()->ExecuteJavaScript( in SetFocusOnEditBox()
Ddraggable_regions_unittest.cc168 CefRefPtr<CefFrame> frame(browser->GetMainFrame()); in NextTest()
Dframe_unittest.cc413 browser->GetMainFrame()->LoadURL(expectations_->GetMainURL()); in RunNextNav()
550 SignalCompleteIfDone(browser, browser->GetMainFrame()); in OnLoadingStateChange()
657 SignalCompleteIfDone(browser, browser->GetMainFrame()); in OnLoadingStateChange()
865 CefRefPtr<CefFrame> main_frame = browser->GetMainFrame(); in VerifySingleBrowserFrames()
1057 SignalCompleteIfDone(browser, browser->GetMainFrame()); in OnLoadingStateChange()
1112 SignalCompleteIfDone(browser, browser->GetMainFrame()); in OnLoadingStateChange()
2030 origin_ = GetOriginFromMultiNavURL(browser->GetMainFrame()->GetURL()); in OnLoadStart()
/third_party/cef/libcef/browser/net/
Dthrottle_handler.cc45 source->GetMainFrame(), open_params, browser)) { in NavigationOnUIThread()
57 frame = browser->GetMainFrame(); in NavigationOnUIThread()
/third_party/cef/libcef/browser/
Dbrowser_contents_delegate.cc53 browser_info_->MaybeCreateFrame(new_contents->GetMainFrame(), in ObserveWebContents()
80 frame = browser()->GetMainFrame(); in OpenURLFromTab()
323 previous_frame = browser_info_->GetMainFrame(); in OnFrameFocused()
393 frame = browser_info->GetMainFrame(); in DidFinishNavigation()
560 handler->OnAddressChange(browser(), browser_info_->GetMainFrame(), in OnAddressChange()
Dbrowser_host_base.cc606 CefRefPtr<CefFrame> CefBrowserHostBase::GetMainFrame() { in GetMainFrame() function in CefBrowserHostBase
618 return browser_info_->GetMainFrame(); in GetFrame()
623 return browser_info_->GetMainFrame(); in GetFrame()
/third_party/cef/libcef/browser/devtools/
Ddevtools_frontend.cc275 frontend_browser->GetMainFrame()->LoadURL(GetFrontendURL()); in Show()
399 web_contents()->GetMainFrame()->ExecuteJavaScriptForTests( in HandleMessageFromDevToolsFrontend()
508 web_contents()->GetMainFrame()->ExecuteJavaScriptForTests( in HandleMessageFromDevToolsFrontend()
594 web_contents()->GetMainFrame()->AllowInjectingJavaScript(); in CallClientFunction()
606 web_contents()->GetMainFrame()->ExecuteJavaScriptMethod( in CallClientFunction()
/third_party/cef/tests/ceftests/extensions/
Dchrome_alarms_unittest.cc77 const std::string& url = browser->GetMainFrame()->GetURL(); in OnLoadingStateChange()
199 extension_browser_->GetMainFrame()->ExecuteJavaScript("triggerAlarmsApi();", in TriggerAlarmsApiJSFunction()
Dchrome_storage_unittest.cc77 const std::string& url = browser->GetMainFrame()->GetURL(); in OnLoadingStateChange()
199 extension_browser_->GetMainFrame()->ExecuteJavaScript( in TriggerStorageApiJSFunction()
Dchrome_tabs_unittest.cc120 const std::string& url = browser->GetMainFrame()->GetURL(); in OnLoadingStateChange()
328 extension_browser_->GetMainFrame()->ExecuteJavaScript("triggerTabsApi();", in TriggerTabsApiJSFunction()
422 const std::string& url = browser->GetMainFrame()->GetURL(); in OnLoadingStateChange()
1075 extension_browser()->GetMainFrame()->ExecuteJavaScript( in TriggerDestroyTest()
/third_party/cef/libcef_dll/ctocpp/
Dbrowser_ctocpp.h53 CefRefPtr<CefFrame> GetMainFrame() override;
/third_party/cef/patch/patches/
Dprinting_pdf_3047.patch15 return contents->GetMainFrame();
Dset_resize_background_color.patch6 MaybeEnableAutoResize(web_contents()->GetMainFrame());
Dextensions_1947.patch79 main_frame_host_ = host_contents_->GetMainFrame();
111 + main_frame_host_ = host_contents_->GetMainFrame();
/third_party/cef/libcef/renderer/
Dbrowser_impl.h61 CefRefPtr<CefFrame> GetMainFrame() override;

123