Home
last modified time | relevance | path

Searched refs:baseURL (Results 1 – 25 of 91) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/modules/navigatorcontentutils/
DNavigatorContentUtils.cpp72 static bool verifyCustomHandlerURL(const String& baseURL, const String& url, ExceptionState& except… in verifyCustomHandlerURL() argument
88 KURL base(ParsedURLString, baseURL); in verifyCustomHandlerURL()
148 String baseURL = document->baseURL().baseAsString(); in registerProtocolHandler() local
150 if (!verifyCustomHandlerURL(baseURL, url, exceptionState)) in registerProtocolHandler()
156 …::from(navigator->frame()->page())->client()->registerProtocolHandler(scheme, baseURL, url, title); in registerProtocolHandler()
187 String baseURL = document->baseURL().baseAsString(); in isProtocolHandlerRegistered() local
189 if (!verifyCustomHandlerURL(baseURL, url, exceptionState)) in isProtocolHandlerRegistered()
195 …ls::from(navigator->frame()->page())->client()->isProtocolHandlerRegistered(scheme, baseURL, url)); in isProtocolHandlerRegistered()
204 String baseURL = document->baseURL().baseAsString(); in unregisterProtocolHandler() local
206 if (!verifyCustomHandlerURL(baseURL, url, exceptionState)) in unregisterProtocolHandler()
[all …]
DNavigatorContentUtilsClient.h40 …virtual void registerProtocolHandler(const String& scheme, const String& baseURL, const String& ur…
49 …ersState isProtocolHandlerRegistered(const String& scheme, const String& baseURL, const String& ur…
50 …virtual void unregisterProtocolHandler(const String& scheme, const String& baseURL, const String& …
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLResourcePreloader.h38 … TextPosition& initiatorPosition, const String& resourceURL, const KURL& baseURL, Resource::Type r… in create() argument
40 …return adoptPtr(new PreloadRequest(initiatorName, initiatorPosition, resourceURL, baseURL, resourc… in create()
43 … TextPosition& initiatorPosition, const String& resourceURL, const KURL& baseURL, Resource::Type r… in create() argument
45 …return adoptPtr(new PreloadRequest(initiatorName, initiatorPosition, resourceURL, baseURL, resourc… in create()
65 … TextPosition& initiatorPosition, const String& resourceURL, const KURL& baseURL, Resource::Type r… in PreloadRequest() argument
69 , m_baseURL(baseURL.copy()) in PreloadRequest()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DLinkHighlightTest.cpp59 const std::string baseURL("http://www.test.com/"); in TEST() local
62 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
64 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(baseURL + fileName, true); in TEST()
164 const std::string baseURL("http://www.test.com/"); in TEST() local
167 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
169 …WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(baseURL + fileName, true, 0, compositin… in TEST()
201 const std::string baseURL("http://www.test.com/"); in TEST() local
204 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
206 …WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(baseURL + fileName, true, 0, compositin… in TEST()
DListenerLeakTest.cpp92 std::string baseURL("http://www.example.com/"); in RunTest() local
95 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in RunTest()
96 webViewHelper.initializeAndLoad(baseURL + fileName, executeScript); in RunTest()
DCustomEventTest.cpp101 const std::string baseURL = "http://www.test.com"; in TEST() local
104 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
106 …WebFrameImpl* frame = toWebFrameImpl(webViewHelper.initializeAndLoad(baseURL + path)->mainFrame()); in TEST()
DURLTestHelpers.cpp42 void registerMockedURLFromBaseURL(const WebString& baseURL, const WebString& fileName, const WebStr… in registerMockedURLFromBaseURL() argument
45 … std::string fullString = std::string(baseURL.utf8().data()) + std::string(fileName.utf8().data()); in registerMockedURLFromBaseURL()
DWebInputEventConversionTest.cpp95 const std::string baseURL("http://www.test.com/"); in TEST() local
98 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
100 …WebViewImpl* webViewImpl = toWebViewImpl(webViewHelper.initializeAndLoad(baseURL + fileName, true)… in TEST()
295 const std::string baseURL("http://www.test2.com/"); in TEST() local
298 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
300 …WebViewImpl* webViewImpl = toWebViewImpl(webViewHelper.initializeAndLoad(baseURL + fileName, true)… in TEST()
443 const std::string baseURL("http://www.test3.com/"); in TEST() local
446 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
448 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(baseURL + fileName, true); in TEST()
/external/chromium_org/third_party/WebKit/Source/core/css/
DStyleRuleImport.cpp60 void StyleRuleImport::setCSSStyleSheet(const String& href, const KURL& baseURL, const String& chars… in setCSSStyleSheet() argument
67 if (!baseURL.isNull()) in setCSSStyleSheet()
68 context.setBaseURL(baseURL); in setCSSStyleSheet()
101 if (!m_parentStyleSheet->baseURL().isNull()) in requestStyleSheet()
103 absURL = KURL(m_parentStyleSheet->baseURL(), m_strHref); in requestStyleSheet()
111 if (equalIgnoringFragmentIdentifier(absURL, sheet->baseURL()) in requestStyleSheet()
DCSSParserMode.cpp42 CSSParserContext::CSSParserContext(const Document& document, const KURL& baseURL, const String& cha… in CSSParserContext() argument
43 : m_baseURL(baseURL.isNull() ? document.baseURL() : baseURL) in CSSParserContext()
DCSSParserMode.h95 …CSSParserContext(const Document&, const KURL& baseURL = KURL(), const String& charset = emptyStrin…
101 const KURL& baseURL() const { return m_baseURL; } in baseURL() function
113 void setBaseURL(const KURL& baseURL) { m_baseURL = baseURL; } in setBaseURL() argument
DCSSStyleSheet.cpp84 PassRefPtr<CSSStyleSheet> CSSStyleSheet::createInline(Node* ownerNode, const KURL& baseURL, const T… in createInline() argument
86 CSSParserContext parserContext(ownerNode->document(), baseURL, encoding); in createInline()
87 RefPtr<StyleSheetContents> sheet = StyleSheetContents::create(baseURL.string(), parserContext); in createInline()
270 KURL baseURL = m_contents->baseURL(); in canAccessRules() local
271 if (baseURL.isEmpty()) in canAccessRules()
276 if (document->securityOrigin()->canRequest(baseURL)) in canAccessRules()
385 KURL CSSStyleSheet::baseURL() const in baseURL() function in WebCore::CSSStyleSheet
387 return m_contents->baseURL(); in baseURL()
DStyleRuleImport.h61 …virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, cons… in setCSSStyleSheet() argument
63 m_ownerRule->setCSSStyleSheet(href, baseURL, charset, sheet); in setCSSStyleSheet()
69 …void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSSty…
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXSLImportRule.cpp50 void XSLImportRule::setXSLStyleSheet(const String& href, const KURL& baseURL, const String& sheet) in setXSLStyleSheet() argument
55 m_styleSheet = XSLStyleSheet::create(this, href, baseURL); in setXSLStyleSheet()
89 if (!parentSheet->baseURL().isNull()) in loadSheet()
91 absHref = KURL(parentSheet->baseURL(), m_strHref).string(); in loadSheet()
96 if (absHref == parentSheet->baseURL().string()) in loadSheet()
/external/oauth/core/src/main/java/net/oauth/
DConsumerProperties.java100 URL baseURL = (base == null) ? null : new URL(base); in newConsumer() local
102 baseURL, name + ".serviceProvider.requestTokenURL"), getURL( in newConsumer()
103 baseURL, name + ".serviceProvider.userAuthorizationURL"), in newConsumer()
104 getURL(baseURL, name + ".serviceProvider.accessTokenURL")); in newConsumer()
110 if (baseURL != null) { in newConsumer()
111 consumer.setProperty("serviceProvider.baseURL", baseURL); in newConsumer()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_Driver4.java36 String baseURL; field in TestHelper_Driver4
50 baseURL = "jdbc:mikes4"; in TestHelper_Driver4()
60 if (url.startsWith(baseURL)) { in acceptsURL()
78 String datasource = url.substring(baseURL.length() + 1); in connect()
DTestHelper_Driver1.java37 String baseURL = "jdbc:mikes1"; field in TestHelper_Driver1
62 if (url.startsWith(baseURL)) { in acceptsURL()
80 String datasource = url.substring(baseURL.length() + 1); in connect()
DTestHelper_DriverManager.java56 String baseURL = "jdbc:mikes1"; in checkDeregister() local
68 aDriver = DriverManager.getDriver(baseURL); in checkDeregister()
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/
Dwallpaper_manager.js280 var url = self.wallpaperGrid_.dataModel.item(i).baseURL;
329 this.removeCustomWallpaper(item.baseURL);
473 self.currentWallpaper_ = selectedItem.baseURL;
476 dirEntry.getFile(selectedItem.baseURL, {create: false},
485 false, selectedItem.baseURL,
497 this.currentWallpaper_ = selectedItem.baseURL;
503 var wallpaperURL = selectedItem.baseURL +
561 if (item.baseURL == this.currentWallpaper_)
564 this.removeCustomWallpaper(item.baseURL);
610 if (this.selectedItem_.baseURL && !this.wallpaperGrid_.inProgramSelection) {
[all …]
Dwallpaper_images_grid.js74 getThumbnail(self.dataItem.baseURL);
78 chrome.wallpaperPrivate.getThumbnail(this.dataItem.baseURL,
91 xhr.open('GET', self.dataItem.baseURL + ThumbnailSuffix, true);
96 chrome.wallpaperPrivate.saveThumbnail(self.dataItem.baseURL,
/external/chromium_org/third_party/WebKit/Source/core/dom/
DProcessingInstruction.cpp167 void ProcessingInstruction::setCSSStyleSheet(const String& href, const KURL& baseURL, const String&… in setCSSStyleSheet() argument
175 CSSParserContext parserContext(document(), baseURL, charset); in setCSSStyleSheet()
192 void ProcessingInstruction::setXSLStyleSheet(const String& href, const KURL& baseURL, const String&… in setXSLStyleSheet() argument
195 m_sheet = XSLStyleSheet::create(this, href, baseURL); in setXSLStyleSheet()
229 addSubresourceURL(urls, sheet()->baseURL()); in addSubresourceAttributeURLs()
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/
DChromiumDataObject.cpp186 void ChromiumDataObject::htmlAndBaseURL(String& html, KURL& baseURL) const in htmlAndBaseURL()
192 baseURL = item->baseURL(); in htmlAndBaseURL()
195 void ChromiumDataObject::setHTMLAndBaseURL(const String& html, const KURL& baseURL) in setHTMLAndBaseURL() argument
198 internalAddStringItem(ChromiumDataObjectItem::createFromHTML(html, baseURL)); in setHTMLAndBaseURL()
/external/chromium_org/third_party/WebKit/Source/core/page/
DDragData.cpp154 KURL baseURL; in asFragment() local
155 m_platformDragData->htmlAndBaseURL(html, baseURL); in asFragment()
157 …tFragment> fragment = createFragmentFromMarkup(*frame->document(), html, baseURL, DisallowScriptin… in asFragment()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLAppletElement.cpp166 KURL baseURL = document().baseURL(); in updateWidgetInternal() local
167 paramValues.append(baseURL.string()); in updateWidgetInternal()
189 …letWidget(roundedIntSize(LayoutSize(contentWidth, contentHeight)), this, baseURL, paramNames, para… in updateWidgetInternal()
/external/chromium_org/third_party/WebKit/Source/web/
DWebDragData.cpp98 item.baseURL = originalItem->baseURL(); in items()
119 m_private->setHTMLAndBaseURL(item.stringData, item.baseURL); in addItem()

1234