Home
last modified time | relevance | path

Searched refs:GetURL (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/cef/tests/ceftests/
Dresource_request_handler_unittest.cc642 request->SetURL(GetURL(RESULT_HTML)); in OnBeforeResourceLoad()
668 const std::string& url = request->GetURL(); in GetResourceHandler()
669 if (url == GetURL(RESULT_HTML) && mode_ == RESTART_RESOURCE_RESPONSE) { in GetResourceHandler()
679 } else if (url == GetURL(RESULT_HTML)) { in GetResourceHandler()
683 } else if (url == GetURL(REDIRECT_HTML) && in GetResourceHandler()
694 } else if (url == GetURL(REDIRECT_HTML) || url == GetURL(REDIRECT2_HTML)) { in GetResourceHandler()
698 EXPECT_STREQ(GetURL(REDIRECT_HTML), url.c_str()); in GetResourceHandler()
699 redirect_url = GetURL(RESULT_HTML); in GetResourceHandler()
701 EXPECT_STREQ(GetURL(REDIRECT2_HTML), url.c_str()); in GetResourceHandler()
702 redirect_url = GetURL(REDIRECT_HTML); in GetResourceHandler()
[all …]
Ddraggable_regions_unittest.cc77 AddResource(GetURL(kStepWithRegions), kTestHTMLWithRegions, "text/html"); in RunTest()
78 AddResource(GetURL(kStepWithChangingRegions), kTestHTMLWithChangingRegions, in RunTest()
80 AddResource(GetURL(kStepWithoutRegions), kTestHTMLWithoutRegions, in RunTest()
84 CreateBrowser(GetURL(kStepWithRegions)); in RunTest()
173 frame->LoadURL(GetURL(kStepWithChangingRegions)); in NextTest()
177 frame->LoadURL(GetURL(kStepWithoutRegions)); in NextTest()
200 std::string GetURL(Step step) const { in GetURL() function in __anon917a1fd40111::DraggableRegionsTestHandler
Dnavigation_unittest.cc87 const std::string& url = browser->GetMainFrame()->GetURL(); in OnLoadingStateChange()
114 const std::string& url = frame->GetURL(); in OnLoadStart()
130 const std::string& url = frame->GetURL(); in OnLoadEnd()
241 EXPECT_STREQ(expected_url.c_str(), entry->GetURL().ToString().c_str()); in Visit()
363 std::string url = request->GetURL(); in OnBeforeBrowse()
398 const std::string& url = request->GetURL(); in OnBeforeResourceLoad()
456 std::string url1 = browser->GetMainFrame()->GetURL(); in OnLoadStart()
457 std::string url2 = frame->GetURL(); in OnLoadStart()
478 std::string url1 = browser->GetMainFrame()->GetURL(); in OnLoadEnd()
479 std::string url2 = frame->GetURL(); in OnLoadEnd()
[all …]
Drequest_handler_unittest.cc103 const std::string& url = request->GetURL(); in OnBeforeResourceLoad()
123 const std::string& url = request->GetURL(); in GetResourceHandler()
145 const std::string& url = request->GetURL(); in OnResourceLoadComplete()
166 std::string url = request->GetURL(); in OnBeforeBrowse()
218 const std::string& url = frame->GetURL(); in OnLoadEnd()
420 const std::string& url = frame->GetURL(); in OnLoadEnd()
Dframe_unittest.cc426 const std::string& url = request->GetURL(); in GetResourceHandler()
448 expectations_->OnBeforeBrowse(browser, frame, request->GetURL())) in OnBeforeBrowse()
847 const std::string& frame_url = frame->GetURL(); in VerifySingleBrowserFrame()
1668 V_EXPECT_TRUE(frame0->GetURL() == frame0url) in VerifyBrowserIframe()
1670 << " actual: " << frame0->GetURL().ToString(); in VerifyBrowserIframe()
1672 V_EXPECT_TRUE(frame1->GetURL() == frame1url) in VerifyBrowserIframe()
1674 << " actual: " << frame1->GetURL().ToString(); in VerifyBrowserIframe()
1676 V_EXPECT_TRUE(frame2->GetURL() == frame2url) in VerifyBrowserIframe()
1678 << " actual: " << frame2->GetURL().ToString(); in VerifyBrowserIframe()
1680 V_EXPECT_TRUE(frame3->GetURL() == frame3url) in VerifyBrowserIframe()
[all …]
Dserver_unittest.cc255 << request->GetURL().ToString(); in OnHttpRequest()
283 << request->GetURL().ToString(); in OnWebSocketRequest()
356 const std::string& url = request->GetURL(); in VerifyRequest()
837 if (request->GetURL() == expected_request_->GetURL() && in HandleRequest()
854 std::string ToString() override { return expected_request_->GetURL(); } in ToString()
1018 std::string ToString() override { return request_->GetURL(); } in ToString()
1030 << "OnResponseComplete for " << request_->GetURL().ToString(); in OnResponseComplete()
1285 request->GetURL().ToString().c_str()); in HandleRequest()
Ddownload_unittest.cc46 std::string url = request->GetURL(); in Open()
256 const std::string& url = frame->GetURL().ToString(); in OnLoadEnd()
344 EXPECT_STREQ(kTestDownloadUrl, download_item->GetURL().ToString().c_str()); in OnBeforeDownload()
385 EXPECT_STREQ(kTestDownloadUrl, download_item->GetURL().ToString().c_str()); in OnDownloadUpdated()
Dpdf_viewer_unittest.cc92 const std::string& url = request->GetURL(); in GetResourceHandler()
110 const std::string& url = frame->GetURL(); in OnLoadEnd()
Dcookie_unittest.cc628 std::string url = frame->GetURL(); in OnLoadEnd()
725 std::string url = request->GetURL(); in Open()
812 std::string url = request->GetURL(); in Create()
902 std::string url = frame->GetURL(); in OnLoadEnd()
1213 const std::string& url = request->GetURL(); in Create()
1334 request->GetURL().ToString() + "\n"; in OnHttpRequest()
1354 const std::string& url = request->GetURL(); in HandleRequest()
1639 const std::string& url = request->GetURL(); in CanSendCookie()
1660 const std::string& url = request->GetURL(); in CanSaveCookie()
1676 const std::string& url = frame->GetURL(); in OnQuery()
[all …]
/third_party/cef/libcef/browser/
Dnavigation_entry_impl.cc28 CefString CefNavigationEntryImpl::GetURL() { in GetURL() function in CefNavigationEntryImpl
30 return mutable_value()->GetURL().spec(); in GetURL()
Ddownload_item_impl.cc86 CefString CefDownloadItemImpl::GetURL() { in GetURL() function in CefDownloadItemImpl
88 return const_value().GetURL().spec(); in GetURL()
Dnavigation_entry_impl.h27 CefString GetURL() override;
Ddownload_item_impl.h38 CefString GetURL() override;
/third_party/cef/patch/patches/
Dbrowser_security_policy_1081397.patch30 + if (!origin.GetURL().IsStandard()) {
45 + if (!unchecked_origin.GetURL().IsStandard()) {
/third_party/cef/tests/ceftests/extensions/
Dchrome_tabs_unittest.cc120 const std::string& url = browser->GetMainFrame()->GetURL(); in OnLoadingStateChange()
136 const std::string& url = request->GetURL(); in GetResourceHandler()
422 const std::string& url = browser->GetMainFrame()->GetURL(); in OnLoadingStateChange()
438 const std::string& url = request->GetURL(); in GetResourceHandler()
737 const std::string& url = request->GetURL(); in GetResourceHandler()
983 const std::string& url = request->GetURL(); in GetResourceHandler()
Dview_unittest.cc86 const std::string& url = browser->GetMainFrame()->GetURL(); in OnLoadingStateChange()
108 const std::string& url = request->GetURL(); in GetResourceHandler()
Dchrome_alarms_unittest.cc77 const std::string& url = browser->GetMainFrame()->GetURL(); in OnLoadingStateChange()
93 const std::string& url = request->GetURL(); in GetResourceHandler()
/third_party/cef/include/
Dcef_navigation_entry.h64 virtual CefString GetURL() = 0;
Dcef_download_item.h127 virtual CefString GetURL() = 0;
Dcef_response.h158 virtual CefString GetURL() = 0;
/third_party/cef/libcef/browser/net/
Ddevtools_scheme_handler.cc30 GURL url = GURL(request->GetURL().ToString()); in OnRequest()
/third_party/cef/libcef_dll/ctocpp/
Dnavigation_entry_ctocpp.h39 CefString GetURL() override;
Ddownload_item_ctocpp.h49 CefString GetURL() override;
/third_party/cef/tests/cefclient/browser/
Dbinding_test.cc33 const std::string& url = frame->GetURL(); in OnQuery()
Dtest_runner.cc123 if (browser->GetMainFrame()->GetURL().ToString().find("http://tests/") != 0) { in RunRequestTest()
289 code, browser->GetMainFrame()->GetURL(), 0); in Prompt()
428 browser_->GetMainFrame()->GetURL(); in PrintToPDF()
642 ss << "URL: " << std::string(request->GetURL()); in DumpRequestContents()
860 frame->ExecuteJavaScript("alert('" + msg + "');", frame->GetURL(), 0); in Alert()

1234