/external/webkit/Tools/DumpRenderTree/win/ |
DRTDesktopNotificationPresenter.cpp | 74 BSTR title, text, url; local 78 notification->contentsURL(&url); 79 printf("DESKTOP NOTIFICATION: contents at %S\n", url ? url : L""); 81 notification->iconURL(&url); 85 url ? url : L"",
|
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...] |
/frameworks/base/core/java/android/net/ |
MailTo.java | 25 * MailTo URL parser 27 * This class parses a mailto scheme URL and then can be queried for 46 * Test to see if the given string is a mailto URL 47 * @param url string to be tested 48 * @return true if the string is a mailto URL 50 public static boolean isMailTo(String url) { 51 if (url != null && url.startsWith(MAILTO_SCHEME)) { 60 * @param url String containing a mailto URL [all...] |
/external/chromium/chrome/browser/search_engines/ |
search_host_to_urls_map.cc | 36 const GURL url(TemplateURLModel::GenerateSearchURLUsingTermsData( 38 if (!url.is_valid() || !url.has_host()) 41 host_to_urls_map_[url.host()].insert(template_url); 48 const GURL url(TemplateURLModel::GenerateSearchURL(template_url)); 49 if (!url.is_valid() || !url.has_host()) 52 const std::string host(url.host()); 92 if ((t_url->url() && t_url->url()->HasGoogleBaseURLs()) | [all...] |
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/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...] |
/frameworks/base/core/java/android/content/ |
ContentProviderNative.java | 85 Uri url = Uri.CREATOR.createFromParcel(data); local 112 Cursor cursor = query(url, projection, selection, selectionArgs, sortOrder); 138 Uri url = Uri.CREATOR.createFromParcel(data); local 139 String type = getType(url); 149 Uri url = Uri.CREATOR.createFromParcel(data); local 152 Uri out = insert(url, values); 161 Uri url = Uri.CREATOR.createFromParcel(data); local 164 int count = bulkInsert(url, values); 188 Uri url = Uri.CREATOR.createFromParcel(data); local 192 int count = delete(url, selection, selectionArgs) 202 Uri url = Uri.CREATOR.createFromParcel(data); local 217 Uri url = Uri.CREATOR.createFromParcel(data); local 236 Uri url = Uri.CREATOR.createFromParcel(data); local 270 Uri url = Uri.CREATOR.createFromParcel(data); local 282 Uri url = Uri.CREATOR.createFromParcel(data); local [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...] |
/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::__anon3671::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...] |
/frameworks/base/core/java/android/webkit/ |
BrowserFrame.java | 259 * Load a url from the network or the filesystem into the main frame. 262 * @param url The url to load. 263 * @param extraHeaders The extra headers sent with this url. This should not 267 public void loadUrl(String url, Map<String, String> extraHeaders) { 269 if (URLUtil.isJavaScriptUrl(url)) { 272 url.substring("javascript:".length())); 274 nativeLoadUrl(url, extraHeaders); 280 * Load a url with "POST" method from the network into the main frame. 281 * @param url The url to load 424 String url = WebTextView.urlForAutoCompleteData(h.getUrl()); local [all...] |
/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...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
SdkSource.java | 40 import java.net.URL;
72 * Constructs a new source for the given repository URL.
73 * @param url The source URL. Cannot be null. If the URL ends with a /, the default
77 public SdkSource(String url, String uiName) {
80 if (url == null) {
81 url = "";
83 url = url.trim(); 266 String url = mUrl; local [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...] |