/external/chromium/chrome/browser/ui/views/ |
external_protocol_dialog.cc | 35 const GURL& url, int render_process_host_id, int routing_id) { 37 ExternalProtocolDialog::GetApplicationForProtocol(url); 46 new ExternalProtocolDialog(tab_contents, url, command); 119 const GURL& url, 122 url_(url), 128 ui::ElideString(ASCIIToUTF16(url.possibly_invalid_spec()), 134 ASCIIToUTF16(url.scheme() + ":"), 165 const GURL& url) { 170 std::wstring url_spec = ASCIIToWide(url.possibly_invalid_spec()); 172 ASCIIToWide(url.scheme() + "\\shell\\open\\command") [all...] |
/external/chromium/webkit/glue/ |
resource_fetcher_unittest.cc | 103 GURL url(test_server_.GetURL("files/test_shell/index.html")); 106 url, frame, WebURLRequest::TargetIsMainFrame, delegate->NewCallback())); 116 url = test_server_.GetURL("files/thisfiledoesntexist.html"); 118 fetcher.reset(new ResourceFetcher(url, frame, 136 GURL url("http://localhost:1339/doesnotexist"); 139 url, frame, WebURLRequest::TargetIsMainFrame, delegate->NewCallback())); 158 GURL url(test_server_.GetURL("slow?1")); 161 url, frame, WebURLRequest::TargetIsMainFrame, 199 GURL url(test_server_.GetURL("slow?1")); 202 url, frame, WebURLRequest::TargetIsMainFrame [all...] |
/external/webkit/Source/WebCore/platform/chromium/ |
PasteboardChromium.cpp | 87 KURL url = selectedRange->startContainer(ec)->document()->url(); local 94 PlatformBridge::clipboardWriteSelection(html, url, plainText, canSmartCopyOrDelete); 108 void Pasteboard::writeURL(const KURL& url, const String& titleStr, Frame* frame) 110 ASSERT(!url.isEmpty()); 114 title = url.lastPathComponent(); 116 title = url.host(); 119 PlatformBridge::clipboardWriteURL(url, title); 138 // If the image is wrapped in a link, |url| points to the target of the 139 // link. This isn't useful to us, so get the actual image URL 151 KURL url = urlString.isEmpty() ? KURL() : node->document()->completeURL(stripLeadingAndTrailingHTMLSpaces(urlString)); local [all...] |
/external/webkit/Tools/DumpRenderTree/win/ |
HistoryDelegate.cpp | 87 if (FAILED(navigationData->url(&urlBSTR))) 89 wstring url; 91 url = urlSuitableForTestResult(wstringFromBSTR(urlBSTR)); 141 printf("WebView navigated to url \"%S\" with title \"%S\" with HTTP equivalent method \"%S\". The navigation was %s and was %s%S.\n", 142 url.c_str(), 191 wstring url; 193 url = urlSuitableForTestResult(wstringFromBSTR(urlBSTR)); 199 printf("WebView updated the title for history URL \"%S\" to \"%S\".\n", url.c_str(), title.c_str()); 212 wstring url; [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BookmarkItem.java | 57 mUrlText = (TextView) findViewById(R.id.url); 122 * Set the new url for the bookmark item. 123 * @param url The new url for the bookmark item. 125 /* package */ void setUrl(String url) { 126 if (url == null) { 130 mUrl = url; 132 url = UrlUtils.stripUrl(url); 133 if (url.length() > MAX_TEXTVIEW_LEN) [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebBackForwardListTest.java | 75 private void checkBackForwardList(final String... url) { 83 if (list.getSize() != url.length) { 86 if (list.getCurrentIndex() != url.length - 1) { 89 for (int i = 0; i < url.length; i++) { 91 if (!url[i].equals(item.getUrl())) {
|
WebChromeClientTest.java | 67 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 68 mOnUiThread.loadUrlAndWaitForCompletion(url); 83 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 84 mOnUiThread.loadUrlAndWaitForCompletion(url); 114 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 115 mOnUiThread.loadUrlAndWaitForCompletion(url); 188 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_ALERT_URL); local 189 mOnUiThread.loadUrlAndWaitForCompletion(url); 210 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_CONFIRM_URL); local 211 mOnUiThread.loadUrlAndWaitForCompletion(url); 234 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_PROMPT_URL); local [all...] |
WebViewClientTest.java | 72 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 77 mOnUiThread.loadUrlAndWaitForCompletion(url); 120 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_FORM_URL); local 122 mOnUiThread.loadUrlAndWaitForCompletion(url); 125 // the URL should have changed when the form was posted 126 assertFalse(url.equals(mOnUiThread.getUrl())); 127 // reloading the current URL should trigger the callback 161 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.EMBEDDED_IMG_URL); local 162 mOnUiThread.loadUrlAndWaitForCompletion(url); 258 public void onPageStarted(WebView view, String url, Bitmap favicon) [all...] |
/external/chromium/chrome/common/net/ |
url_fetcher.h | 8 // URL and don't care about all the nitty-gritty details. 34 // To use this class, create an instance with the desired URL and a pointer to 35 // the object to be notified when the URL has been loaded: 50 // provided status and data for the URL. (You should copy these objects if you 72 // This will be called when the URL has been fetched, successfully or not. 74 // applicable. |url|, |status| and |data| are all valid until the 77 const GURL& url, 92 const GURL& url, 100 // |url| is the URL to send the request to [all...] |
/external/chromium/net/http/ |
http_auth_filter_unittest.cc | 31 GURL url; member in struct:net::__anon5020::UrlData 83 filter.IsValid(urls[i].url, urls[i].target)) 84 << " " << i << ": " << urls[i].url; 99 EXPECT_EQ(urls[i].matches, filter.IsValid(urls[i].url, urls[i].target)) 100 << " " << i << ": " << urls[i].url;
|
/external/webkit/Source/WebKit/win/ |
WebIconDatabase.cpp | 165 /* [in] */ BSTR url, 173 if (url) 174 icon = iconDatabase().synchronousIconForPageURL(String(url, SysStringLen(url)), intSize); 199 /* [in] */ BSTR url) 201 iconDatabase().retainIconForPageURL(String(url, SysStringLen(url))); 206 /* [in] */ BSTR url) 208 iconDatabase().releaseIconForPageURL(String(url, SysStringLen(url))); [all...] |
WebIconDatabase.h | 71 /* [in] */ BSTR url, 81 /* [in] */ BSTR url); 84 /* [in] */ BSTR url); 93 /* [in] */ BSTR url, 103 /* [in] */ BSTR url,
|
/libcore/luni/src/main/java/libcore/net/url/ |
FtpURLConnection.java | 18 package libcore.net.url; 35 import java.net.URL; 104 * @param url 106 protected FtpURLConnection(URL url) { 107 super(url); 108 hostName = url.getHost(); 109 String parse = url.getUserInfo(); 121 uri = url.toURI(); 130 * @param url [all...] |
/packages/screensavers/WebView/src/com/android/dreams/web/ |
Screensaver.java | 51 public boolean shouldOverrideUrlLoading(WebView view, String url) { 52 Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); 69 final String url = prefs.getString("url", "file:///android_asset/default.html"); local 73 url, interactive ? "interactive" : "noninteractive")); 82 webview.loadUrl(url);
|
/external/chromium/chrome/browser/autocomplete/ |
history_url_provider.cc | 39 // Returns true if |url| is just a host (e.g. "http://www.google.com/") and 41 bool IsHostOnly(const GURL& url) { 42 DCHECK(url.is_valid()); 43 return (!url.has_path() || (url.path() == "/")) && !url.has_query() && 44 !url.has_ref(); 49 // A URL that has been typed at all is better than one that has never been 66 const bool a_is_host_only = history::IsHostOnly(a.url_info.url()); 67 if (a_is_host_only != history::IsHostOnly(b.url_info.url())) 87 const GURL& url = match.url_info.url(); local 309 const GURL& url = input.canonicalized_url(); local 718 const GURL& url = (*matches)[source].url_info.url(); local [all...] |
/external/chromium/chrome/browser/renderer_host/ |
safe_browsing_resource_handler.cc | 18 // verify a URL. After this amount of time the outstanding check will be 19 // aborted, and the URL will be treated as if it were safe. 64 // We need to check the new URL before following the redirect. 70 // If the URL couldn't be verified synchronously, defer following the 98 const GURL& url, 100 // We need to check the new URL before starting the request. 101 if (CheckUrl(url)) 102 return next_handler_->OnWillStart(request_id, url, defer); 104 // If the URL couldn't be verified synchronously, defer starting the 108 deferred_url_ = url; 148 << " but got: " << url; local 281 GURL url = deferred_url_; local [all...] |
/external/chromium/chrome/common/extensions/ |
user_script.cc | 13 const GURL& url) { 16 if (pattern->MatchesUrl(url)) 24 const GURL& url) { 27 if (MatchPattern(url.spec(), *glob)) 44 bool UserScript::IsURLUserScript(const GURL& url, 46 return EndsWith(url.ExtractFileName(), kFileExtension, false) && 52 const GURL& url) 55 url_(url) { 74 bool UserScript::MatchesUrl(const GURL& url) const { 76 if (!UrlMatchesPatterns(&url_patterns_, url)) 101 std::string url; local [all...] |
/external/webkit/Tools/QtTestBrowser/ |
mainwindow.cpp | 129 void MainWindow::setAddressUrl(const QUrl& url) 131 setAddressUrl(url.toString(QUrl::RemoveUserInfo)); 134 void MainWindow::setAddressUrl(const QString& url) 137 if (!url.contains("about:")) 138 urlEdit->setText(url); 142 void MainWindow::addCompleterEntry(const QUrl& url) 148 QString s = url.toString(opts); 158 void MainWindow::load(const QString& url) 160 QUrl qurl = urlFromUserInput(url); 162 qurl = QUrl("http://" + url + "/") [all...] |
/external/chromium/net/proxy/ |
proxy_service_unittest.cc | 79 virtual int Fetch(const GURL& url, 85 pending_request_url_ = url; 123 GURL url("http://www.google.com/"); 128 int rv = service->ResolveProxy(url, &info, &callback, NULL, log.bound()); 157 GURL url("http://www.google.com/"); 163 int rv = service->ResolveProxy(url, &info, &callback, NULL, log.bound()); 167 resolver->pending_set_pac_script_request()->script_data()->url()); 171 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); 196 // Test that the proxy resolver does not see the URL's username/passwor [all...] |
/external/chromium/chrome/browser/search_engines/ |
template_url_parser.cc | 30 static const char kURLElement[] = "Url"; 64 // Removes the namespace from the specified |name|, ex: os:Url -> Url. 81 URL, 99 TemplateURL* url) 100 : url_(url), 131 // We only expect PARAM nodes under the Url node 133 elements_[1] == URL && elements_[2] == PARAM) 150 void SetImageURL(const GURL& url) { 152 current_image_->url = url [all...] |
template_url.h | 27 // suggestions_url or url for keyword/suggestion expansion: 28 // . suggestions_url describes a URL that is ideal for as you type suggestions. 30 // . url describes a URL that may be used as a shortcut. Returned results are 34 // To use either URL invoke the ReplaceSearchTerms method on the corresponding 38 // true if the URL could be parsed. 55 TemplateURLRef(const std::string& url, int index_offset, int page_offset); 59 // Returns true if this URL supports replacement. 67 // the url with the specified value. 89 // Returns the raw URL. None of the parameters will have been replaced 90 const std::string& url() const { return url_; } function in class:TemplateURLRef 282 GURL url; member in struct:TemplateURL::ImageRef 335 const TemplateURLRef* url() const { function in class:TemplateURL [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_webnavigation_api.cc | 27 // URL schemes for which we'll send events. 82 const GURL& url, 88 dict->SetString(keys::kUrlKey, url.spec()); 110 const GURL& url, 117 dict->SetString(keys::kUrlKey, url.spec()); 130 const GURL& url, 137 dict->SetString(keys::kUrlKey, url.spec()); 186 const std::string& scheme = frame_state->second.url.scheme(); 197 const GURL& url, 206 frame_state.url = url 333 tab_contents(), frame_id, is_main_frame, url, transition_type); local 438 url, local 443 url, local 446 url, local 450 url, local [all...] |
/external/webkit/Source/WebCore/page/ |
ContentSecurityPolicy.cpp | 115 bool matches(const KURL& url) const 117 if (!schemeMatches(url)) 121 return hostMatches(url) && portMatches(url); 125 bool schemeMatches(const KURL& url) const 127 return equalIgnoringCase(url.protocol(), m_scheme); 130 bool hostMatches(const KURL& url) const 135 return equalIgnoringCase(url.host(), m_host); 138 bool portMatches(const KURL& url) const 144 return url.port() == m_port [all...] |
/external/chromium/chrome/browser/ui/webui/ |
chrome_url_data_manager_backend.cc | 39 // Parse a URL into the components used to resolve its request. |source_name| 40 // is the hostname and |path| is the remaining portion of the URL. 41 void URLToRequest(const GURL& url, std::string* source_name, 43 DCHECK(url.SchemeIs(chrome::kChromeDevToolsScheme) || 44 url.SchemeIs(chrome::kChromeUIScheme)); 46 if (!url.is_valid()) { 52 // So the url's "host" is our source, and everything after the host is 54 source_name->assign(url.host()); 56 const std::string& spec = url.possibly_invalid_spec(); 57 const url_parse::Parsed& parsed = url.parsed_for_possibly_invalid_spec() [all...] |
/external/chromium/chrome/browser/ui/find_bar/ |
find_bar_host_browsertest.cc | 136 GURL url = test_server()->GetURL(kFramePage); local 137 ui_test_utils::NavigateToURL(browser(), url); local 230 GURL url = test_server()->GetURL(kEndState); local 231 ui_test_utils::NavigateToURL(browser(), url); local 282 GURL url = test_server()->GetURL(kFrameData); local 283 ui_test_utils::NavigateToURL(browser(), url); local 321 GURL url = test_server()->GetURL(kSelectChangesOrdinal); local 322 ui_test_utils::NavigateToURL(browser(), url); local 358 GURL url = test_server()->GetURL(kFramePage); local 359 ui_test_utils::NavigateToURL(browser(), url); local 409 GURL url = test_server()->GetURL(kFramePage); local 410 ui_test_utils::NavigateToURL(browser(), url); local 439 GURL url = test_server()->GetURL(kUserSelectPage); local 440 ui_test_utils::NavigateToURL(browser(), url); local 453 GURL url = test_server()->GetURL(kCrashPage); local 454 ui_test_utils::NavigateToURL(browser(), url); local 485 GURL url = test_server()->GetURL(kBitstackCrash); local 486 ui_test_utils::NavigateToURL(browser(), url); local 507 GURL url = test_server()->GetURL(kTooFewMatchesPage); local 508 ui_test_utils::NavigateToURL(browser(), url); local 525 GURL url = test_server()->GetURL(kLongTextareaPage); local 526 ui_test_utils::NavigateToURL(browser(), url); local 545 GURL url = test_server()->GetURL(kPrematureEnd); local 546 ui_test_utils::NavigateToURL(browser(), url); local 562 GURL url = test_server()->GetURL(kSimplePage); local 564 ui_test_utils::NavigateToURL(browser(), url); local 602 GURL url = test_server()->GetURL(kSimplePage); local 603 ui_test_utils::NavigateToURL(browser(), url); local 616 ui_test_utils::NavigateToURL(browser(), url); local 640 GURL url = test_server()->GetURL(kMoveIfOver); local 641 ui_test_utils::NavigateToURL(browser(), url); local 699 GURL url = test_server()->GetURL(kSimplePage); local 700 ui_test_utils::NavigateToURL(browser(), url); local 711 ui_test_utils::NavigateToURL(browser(), url); local 721 ui_test_utils::NavigateToURL(browser(), url); local 736 GURL url = test_server()->GetURL(kSimplePage); local 737 ui_test_utils::NavigateToURL(browser(), url); local 774 GURL url = test_server()->GetURL(kSimplePage); local 775 ui_test_utils::NavigateToURL(browser(), url); local 799 GURL url = test_server()->GetURL(kSimple); local 800 ui_test_utils::NavigateToURL(browser(), url); local 830 GURL url = test_server()->GetURL(kSimplePage); local 831 ui_test_utils::NavigateToURL(browser(), url); local 842 browser::NavigateParams params(browser(), url, PageTransition::TYPED); local 873 GURL url = test_server()->GetURL(kSimple); local 874 ui_test_utils::NavigateToURL(browser(), url); local 912 GURL url = test_server()->GetURL(kSimple); local 913 ui_test_utils::NavigateToURL(browser(), url); local 948 GURL url = test_server()->GetURL(kSimple); local 949 ui_test_utils::NavigateToURL(browser(), url); local 966 browser::NavigateParams params(browser(), url, PageTransition::TYPED); local 1022 GURL url = test_server()->GetURL(kSimple); local 1023 ui_test_utils::NavigateToURL(browser(), url); local 1077 GURL url = test_server()->GetURL(kLinkPage); local 1078 ui_test_utils::NavigateToURL(browser(), url); local [all...] |