Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/WebKit/Source/modules/navigatorcontentutils/
DNavigatorContentUtils.cpp71 static bool verifyCustomHandlerURL(const KURL& baseURL, const String& url, ExceptionState& exceptio… in verifyCustomHandlerURL() argument
87 KURL kurl(baseURL, newURL); in verifyCustomHandlerURL()
90 …or, "The custom handler URL created by removing '%s' and prepending '" + baseURL.string() + "' is … in verifyCustomHandlerURL()
156 KURL baseURL = navigator.frame()->document()->baseURL(); in registerProtocolHandler() local
158 if (!verifyCustomHandlerURL(baseURL, url, exceptionState)) in registerProtocolHandler()
165 …m(*navigator.frame()->page())->client()->registerProtocolHandler(scheme, baseURL, KURL(ParsedURLSt… in registerProtocolHandler()
199 KURL baseURL = document->baseURL(); in isProtocolHandlerRegistered() local
201 if (!verifyCustomHandlerURL(baseURL, url, exceptionState)) in isProtocolHandlerRegistered()
208 …avigator.frame()->page())->client()->isProtocolHandlerRegistered(scheme, baseURL, KURL(ParsedURLSt… in isProtocolHandlerRegistered()
217 KURL baseURL = navigator.frame()->document()->baseURL(); in unregisterProtocolHandler() local
[all …]
DNavigatorContentUtilsClient.h39 …virtual void registerProtocolHandler(const String& scheme, const KURL& baseURL, const KURL&, const…
47 …dlersState isProtocolHandlerRegistered(const String& scheme, const KURL& baseURL, const KURL&) = 0;
48 …virtual void unregisterProtocolHandler(const String& scheme, const KURL& baseURL, const KURL&) = 0;
/external/chromium_org/third_party/WebKit/Source/web/
DNavigatorContentUtilsClientImpl.cpp25 …Impl::registerProtocolHandler(const String& scheme, const WebCore::KURL& baseURL, const WebCore::K… in registerProtocolHandler() argument
27 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); in registerProtocolHandler()
30 …::isProtocolHandlerRegistered(const String& scheme, const WebCore::KURL& baseURL, const WebCore::K… in isProtocolHandlerRegistered() argument
32 …ient::CustomHandlersState>(m_webView->client()->isProtocolHandlerRegistered(scheme, baseURL, url)); in isProtocolHandlerRegistered()
35 …pl::unregisterProtocolHandler(const String& scheme, const WebCore::KURL& baseURL, const WebCore::K… in unregisterProtocolHandler() argument
37 m_webView->client()->unregisterProtocolHandler(scheme, baseURL, url); in unregisterProtocolHandler()
DNavigatorContentUtilsClientImpl.h20 …virtual void registerProtocolHandler(const String& scheme, const WebCore::KURL& baseURL, const Web…
21 …e isProtocolHandlerRegistered(const String& scheme, const WebCore::KURL& baseURL, const WebCore::K…
22 …virtual void unregisterProtocolHandler(const String& scheme, const WebCore::KURL& baseURL, const W…
/external/chromium_org/third_party/WebKit/Source/modules/navigatorcontentutils/testing/
DNavigatorContentUtilsClientMock.cpp14 …ContentUtilsClientMock::registerProtocolHandler(const String& scheme, const WebCore::KURL& baseURL, in registerProtocolHandler() argument
19 info.baseURL = baseURL; in registerProtocolHandler()
27 const WebCore::KURL& baseURL, const WebCore::KURL& url) in isProtocolHandlerRegistered() argument
36 …ntentUtilsClientMock::unregisterProtocolHandler(const String& scheme, const WebCore::KURL& baseURL, in unregisterProtocolHandler() argument
DNavigatorContentUtilsClientMock.h22 …virtual void registerProtocolHandler(const String& scheme, const KURL& baseURL, const KURL&, const…
24 …mHandlersState isProtocolHandlerRegistered(const String& scheme, const KURL& baseURL, const KURL&);
25 virtual void unregisterProtocolHandler(const String& scheme, const KURL& baseURL, const KURL&);
30 WebCore::KURL baseURL; member
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSParserMode.cpp43 …serContext(const Document& document, UseCounter* useCounter, const KURL& baseURL, const String& ch… in CSSParserContext() argument
44 : m_baseURL(baseURL.isNull() ? document.baseURL() : baseURL) in CSSParserContext()
85 return KURL(baseURL(), url); in completeURL()
86 return KURL(baseURL(), url, charset()); in completeURL()
DStyleRuleImport.cpp70 void StyleRuleImport::setCSSStyleSheet(const String& href, const KURL& baseURL, const String& chars… in setCSSStyleSheet() argument
78 if (!baseURL.isNull()) { in setCSSStyleSheet()
79 context.setBaseURL(baseURL); in setCSSStyleSheet()
81 … context.setReferrer(Referrer(baseURL.strippedForUseAsReferrer(), document->referrerPolicy())); in setCSSStyleSheet()
114 if (!m_parentStyleSheet->baseURL().isNull()) in requestStyleSheet()
116 absURL = KURL(m_parentStyleSheet->baseURL(), m_strHref); in requestStyleSheet()
124 if (equalIgnoringFragmentIdentifier(absURL, sheet->baseURL()) in requestStyleSheet()
DCSSParserMode.h100 …CSSParserContext(const Document&, UseCounter*, const KURL& baseURL = KURL(), const String& charset…
109 const KURL& baseURL() const { return m_baseURL; } in baseURL() function
122 void setBaseURL(const KURL& baseURL) { m_baseURL = baseURL; } in setBaseURL() argument
DCSSStyleSheet.cpp110 …<CSSStyleSheet> CSSStyleSheet::createInline(Node* ownerNode, const KURL& baseURL, const TextPositi… in createInline() argument
112 CSSParserContext parserContext(ownerNode->document(), 0, baseURL, encoding); in createInline()
113 …RefPtrWillBeRawPtr<StyleSheetContents> sheet = StyleSheetContents::create(baseURL.string(), parser… in createInline()
277 KURL baseURL = m_contents->baseURL(); in canAccessRules() local
278 if (baseURL.isEmpty()) in canAccessRules()
283 if (document->securityOrigin()->canRequest(baseURL)) in canAccessRules()
393 KURL CSSStyleSheet::baseURL() const in baseURL() function in WebCore::CSSStyleSheet
395 return m_contents->baseURL(); in baseURL()
DStyleRuleImport.h65 …virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, cons… in setCSSStyleSheet() argument
67 m_ownerRule->setCSSStyleSheet(href, baseURL, charset, sheet); in setCSSStyleSheet()
73 …void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSSty…
/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()
146 const std::string baseURL("http://www.test.com/"); in TEST() local
149 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
151 …WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(baseURL + fileName, true, 0, compositin… in TEST()
183 const std::string baseURL("http://www.test.com/"); in TEST() local
186 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
188 …WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(baseURL + fileName, true, 0, compositin… in TEST()
DCustomEventTest.cpp99 const std::string baseURL = "http://www.test.com"; in TEST() local
102 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
104 …WebLocalFrameImpl* frame = toWebLocalFrameImpl(webViewHelper.initializeAndLoad(baseURL + path)->ma… 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()
DWebInputEventConversionTest.cpp97 const std::string baseURL("http://www.test.com/"); in TEST() local
100 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
102 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(baseURL + fileName, true); in TEST()
305 const std::string baseURL("http://www.test2.com/"); in TEST() local
308 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
310 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(baseURL + fileName, true); in TEST()
452 const std::string baseURL("http://www.test3.com/"); in TEST() local
455 …URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::from… in TEST()
457 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(baseURL + fileName, true); in TEST()
505 const std::string baseURL("http://www.test4.com/"); in TEST() local
[all …]
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXSLImportRule.cpp52 void XSLImportRule::setXSLStyleSheet(const String& href, const KURL& baseURL, const String& sheet) in setXSLStyleSheet() argument
57 m_styleSheet = XSLStyleSheet::create(this, href, baseURL); in setXSLStyleSheet()
90 if (!parentSheet->baseURL().isNull()) { in loadSheet()
92 absHref = KURL(parentSheet->baseURL(), m_strHref).string(); in loadSheet()
98 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/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()
59 … TextPosition& initiatorPosition, const String& resourceURL, const KURL& baseURL, Resource::Type r… in PreloadRequest() argument
63 , m_baseURL(baseURL.copy()) in PreloadRequest()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_Driver4.java35 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.java36 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.java55 String baseURL = "jdbc:mikes1"; in checkDeregister() local
67 aDriver = DriverManager.getDriver(baseURL); in checkDeregister()
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/
Dwallpaper_manager.js302 var url = self.wallpaperGrid_.dataModel.item(i).baseURL;
351 this.removeCustomWallpaper(item.baseURL);
511 dirEntry.getFile(selectedItem.baseURL, {create: false},
520 false, selectedItem.baseURL,
522 selectedItem, selectedItem.baseURL),
534 this.onWallpaperChanged_(selectedItem, selectedItem.baseURL);
539 var wallpaperURL = selectedItem.baseURL +
605 if (item.baseURL == this.currentWallpaper_)
608 this.removeCustomWallpaper(item.baseURL);
654 if (this.selectedItem_.baseURL && !this.wallpaperGrid_.inProgramSelection) {
[all …]
/external/chromium_org/third_party/WebKit/Source/core/clipboard/
DDataObject.cpp179 void DataObject::htmlAndBaseURL(String& html, KURL& baseURL) const in htmlAndBaseURL()
185 baseURL = item->baseURL(); in htmlAndBaseURL()
188 void DataObject::setHTMLAndBaseURL(const String& html, const KURL& baseURL) in setHTMLAndBaseURL() argument
191 internalAddStringItem(DataObjectItem::createFromHTML(html, baseURL)); in setHTMLAndBaseURL()
/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()
185 … widget = frame->loader().client()->createJavaAppletWidget(this, baseURL, paramNames, paramValues); in updateWidgetInternal()
/external/chromium_org/third_party/WebKit/Source/core/page/
DDragData.cpp153 KURL baseURL; in asFragment() local
154 m_platformDragData->htmlAndBaseURL(html, baseURL); in asFragment()
156 …tFragment> fragment = createFragmentFromMarkup(*frame->document(), html, baseURL, DisallowScriptin… in asFragment()

1234