Home
last modified time | relevance | path

Searched refs:KURL (Results 1 – 25 of 449) sorted by relevance

12345678910>>...18

/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
DKURL.h47 class PLATFORM_EXPORT KURL {
49 KURL() in KURL() function
55 KURL(const KURL&);
56 KURL& operator=(const KURL&);
62 KURL(ParsedURLStringTag, const String&);
63 explicit KURL(WTF::HashTableDeletedValueType);
66 static KURL createIsolated(ParsedURLStringTag, const String&);
77 KURL(const KURL& base, const String& relative);
78 KURL(const KURL& base, const String& relative, const WTF::TextEncoding&);
83 KURL(const AtomicString& canonicalString, const url_parse::Parsed&, bool isValid);
[all …]
DKURL.cpp131 String KURL::strippedForUseAsReferrer() const in strippedForUseAsReferrer()
136 KURL referrer(*this); in strippedForUseAsReferrer()
143 bool KURL::isLocalFile() const in isLocalFile()
157 const KURL& blankURL() in blankURL()
159 DEFINE_STATIC_LOCAL(KURL, staticBlankURL, (ParsedURLString, "about:blank")); in blankURL()
163 bool KURL::isBlankURL() const in isBlankURL()
168 String KURL::elidedString() const in elidedString()
181 KURL::KURL(ParsedURLStringTag, const String& url) in KURL() function in WebCore::KURL
184 init(KURL(), url, 0); in KURL()
194 KURL KURL::createIsolated(ParsedURLStringTag, const String& url) in createIsolated()
[all …]
DKURLTest.cpp81 WebCore::KURL kurl(WebCore::ParsedURLString, cases[i].url); in TEST()
95 kurl = WebCore::KURL(WebCore::ParsedURLString, utf16); in TEST()
132 WebCore::KURL kurl(WebCore::ParsedURLString, cases[i].url); in TEST()
154 WebCore::KURL asciiKURL(WebCore::ParsedURLString, asciiURL); in TEST()
165 WebCore::KURL mailto(WebCore::ParsedURLString, "mailto:foo@foo.com"); in TEST()
169 WebCore::KURL utf8KURL(WebCore::ParsedURLString, utf8URL); in TEST()
230 WebCore::KURL kurl(WebCore::ParsedURLString, cases[i].url); in TEST()
348 WebCore::KURL emptyBase; in TEST()
353 WebCore::KURL resolveAbs(emptyBase, abs); in TEST()
359 WebCore::KURL resolveErr(emptyBase, rel); in TEST()
[all …]
DSecurityOrigin.h38 class KURL; variable
49 static PassRefPtr<SecurityOrigin> create(const KURL&);
67 static bool shouldUseInnerURL(const KURL&);
68 static KURL extractInnerURL(const KURL&);
88 static bool isSecure(const KURL&);
99 bool canRequest(const KURL&) const;
104 bool taintsCanvas(const KURL&) const;
114 bool canDisplay(const KURL&) const;
203 explicit SecurityOrigin(const KURL&);
DSecurityOrigin.cpp49 static bool schemeRequiresAuthority(const KURL& url) in schemeRequiresAuthority()
57 static SecurityOrigin* cachedOrigin(const KURL& url) in cachedOrigin()
64 bool SecurityOrigin::shouldUseInnerURL(const KURL& url) in shouldUseInnerURL()
77 KURL SecurityOrigin::extractInnerURL(const KURL& url) in extractInnerURL()
83 return KURL(ParsedURLString, decodeURLEscapeSequences(url.path())); in extractInnerURL()
91 static bool shouldTreatAsUniqueOrigin(const KURL& url) in shouldTreatAsUniqueOrigin()
97KURL innerURL = SecurityOrigin::shouldUseInnerURL(url) ? SecurityOrigin::extractInnerURL(url) : ur… in shouldTreatAsUniqueOrigin()
118 SecurityOrigin::SecurityOrigin(const KURL& url) in SecurityOrigin()
170 PassRefPtr<SecurityOrigin> SecurityOrigin::create(const KURL& url) in create()
213 bool SecurityOrigin::isSecure(const KURL& url) in isSecure()
[all …]
DKURLHash.h36 static unsigned hash(const KURL& key) in hash()
41 static bool equal(const KURL& a, const KURL& b) in equal()
53 template<> struct HashTraits<WebCore::KURL> : SimpleClassHashTraits<WebCore::KURL> { };
/external/chromium_org/third_party/WebKit/Source/platform/blob/
DBlobRegistry.h43 class KURL; variable
54 static void registerPublicBlobURL(SecurityOrigin*, const KURL&, PassRefPtr<BlobDataHandle>);
55 static void revokePublicBlobURL(const KURL&);
58 static void registerStreamURL(const KURL&, const String&);
59 static void registerStreamURL(SecurityOrigin*, const KURL&, const KURL& srcURL);
60 static void addDataToStream(const KURL&, PassRefPtr<RawData>);
61 static void finalizeStream(const KURL&);
62 static void abortStream(const KURL&);
63 static void unregisterStreamURL(const KURL&);
DBlobRegistry.cpp62 virtual SecurityOrigin* cachedOrigin(const KURL&) OVERRIDE;
68 BlobRegistryContext(const KURL& url, PassOwnPtr<BlobData> blobData) in BlobRegistryContext()
75 BlobRegistryContext(const KURL& url, const String& type) in BlobRegistryContext()
81 BlobRegistryContext(const KURL& url, const KURL& srcURL) in BlobRegistryContext()
87 BlobRegistryContext(const KURL& url, PassRefPtr<RawData> streamData) in BlobRegistryContext()
93 BlobRegistryContext(const KURL& url) in BlobRegistryContext()
98 KURL url;
99 KURL srcURL;
121 static void saveToOriginMap(SecurityOrigin* origin, const KURL& url) in saveToOriginMap()
130 static void removeFromOriginMap(const KURL& url) in removeFromOriginMap()
[all …]
DBlobURL.h39 class KURL; variable
51 static KURL createPublicURL(SecurityOrigin*);
52 static String getOrigin(const KURL&);
54 static KURL createInternalStreamURL();
57 static KURL createBlobURL(const String& originString);
/external/chromium_org/third_party/WebKit/Source/core/frame/
DContentSecurityPolicy.h48 class KURL; variable
95 …bool allowPluginType(const String& type, const String& typeAttribute, const KURL&, ReportingStatus…
97 bool allowScriptFromSource(const KURL&, ReportingStatus = SendReport) const;
98 bool allowObjectFromSource(const KURL&, ReportingStatus = SendReport) const;
99 bool allowChildFrameFromSource(const KURL&, ReportingStatus = SendReport) const;
100 bool allowImageFromSource(const KURL&, ReportingStatus = SendReport) const;
101 bool allowStyleFromSource(const KURL&, ReportingStatus = SendReport) const;
102 bool allowFontFromSource(const KURL&, ReportingStatus = SendReport) const;
103 bool allowMediaFromSource(const KURL&, ReportingStatus = SendReport) const;
104 bool allowConnectToSource(const KURL&, ReportingStatus = SendReport) const;
[all …]
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDOMURLUtilsReadOnly.h38 virtual KURL url() const = 0;
44 static String origin(const KURL&);
47 static String protocol(const KURL& url) { return url.protocol() + ":"; } in protocol()
50 static String username(const KURL& url) { return url.user(); } in username()
53 static String password(const KURL& url) { return url.pass(); } in password()
56 static String host(const KURL&);
59 static String hostname(const KURL& url) { return url.host(); } in hostname()
62 static String port(const KURL&);
65 static String pathname(const KURL& url) { return url.path(); } in pathname()
68 static String search(const KURL&);
[all …]
DDOMURL.cpp43 DOMURL::DOMURL(const String& url, const KURL& base, ExceptionState& exceptionState) in DOMURL()
49 m_url = KURL(base, url); in DOMURL()
56 KURL url(blankURL(), value); in setInput()
61 m_url = KURL(); in setInput()
75 KURL publicURL = BlobURL::createPublicURL(executionContext->securityOrigin()); in createPublicURL()
89 KURL url(KURL(), urlString); in revokeObjectURL()
DDocumentInit.h48 …explicit DocumentInit(const KURL& = KURL(), Frame* = 0, WeakPtr<Document> = WeakPtr<Document>(), H…
52 const KURL& url() const { return m_url; } in url()
64 KURL parentBaseURL() const;
73 static DocumentInit fromContext(WeakPtr<Document> contextDocument, const KURL& = KURL());
78 KURL m_url;
DDOMURLUtils.cpp41 KURL url = impl->url(); in setProtocol()
50 KURL url = impl->url(); in setUsername()
59 KURL url = impl->url(); in setPassword()
71 KURL url = impl->url(); in setHost()
81 KURL url = impl->url(); in setHostname()
102 KURL url = impl->url(); in setPort()
112 KURL url = impl->url(); in setPathname()
121 KURL url = impl->url(); in setSearch()
130 KURL url = impl->url(); in setHash()
DDOMURLUtilsReadOnly.cpp37 const KURL& url = impl->url(); in href()
43 String DOMURLUtilsReadOnly::origin(const KURL& url) in origin()
50 String DOMURLUtilsReadOnly::host(const KURL& url) in host()
59 String DOMURLUtilsReadOnly::port(const KURL& url) in port()
67 String DOMURLUtilsReadOnly::search(const KURL& url) in search()
73 String DOMURLUtilsReadOnly::hash(const KURL& url) in hash()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGURIReference.cpp51 KURL base = start ? KURL(document.baseURI(), url.substring(0, start)) : document.baseURI(); in fragmentIdentifierFromIRIString()
58 static inline KURL urlFromIRIStringWithFragmentIdentifier(const String& url, const Document& docume… in urlFromIRIStringWithFragmentIdentifier()
62 return KURL(); in urlFromIRIStringWithFragmentIdentifier()
67 KURL base(document.baseURI(), url.substring(0, startOfFragmentIdentifier)); in urlFromIRIStringWithFragmentIdentifier()
68 return KURL(base, url.substring(startOfFragmentIdentifier)); in urlFromIRIStringWithFragmentIdentifier()
71 return KURL(document.baseURI(), url.substring(startOfFragmentIdentifier)); in urlFromIRIStringWithFragmentIdentifier()
78 KURL url = urlFromIRIStringWithFragmentIdentifier(iri, document, id); in targetElementFromIRIString()
79 if (url == KURL()) in targetElementFromIRIString()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DCookieJar.h36 class KURL; variable
39 String cookies(const Document*, const KURL&);
40 void setCookies(Document*, const KURL&, const String& cookieString);
42 String cookieRequestHeaderFieldValue(const Document*, const KURL&);
43 bool getRawCookies(const Document*, const KURL&, Vector<Cookie>&);
44 void deleteCookie(const Document*, const KURL&, const String& cookieName);
DDocumentLoader.h84 …er* beginWriting(const AtomicString& mimeType, const AtomicString& encoding, const KURL& = KURL());
102 const KURL& url() const;
103 const KURL& unreachableURL() const;
106 const KURL& originalURL() const;
107 const KURL& requestURL() const;
110 void updateForSameDocumentNavigation(const KURL&);
159 void appendRedirect(const KURL&);
165 Vector<KURL> m_redirectChain;
168 …umentWriter> createWriterFor(Frame*, const Document* ownerDocument, const KURL&, const AtomicStrin…
171 void ensureWriter(const AtomicString& mimeType, const KURL& overridingURL = KURL());
DFrameLoaderClient.h71 class KURL; variable
154 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0;
155 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0;
156 virtual void didDispatchPingLoader(const KURL&) = 0;
164 virtual String userAgent(const KURL&) = 0;
170 …virtual PassRefPtr<Frame> createFrame(const KURL&, const String& name, const String& referrer, HTM…
171 …virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElement*, const KURL&, const Vec…
173 …<Widget> createJavaAppletWidget(const IntSize&, HTMLAppletElement*, const KURL& baseURL, const Vec…
175 …virtual ObjectContentType objectContentType(const KURL&, const String& mimeType, bool shouldPrefer…
189 …virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&) { return enabledPerSettin… in allowScriptFromSource() argument
[all …]
DFrameLoader.h88 …void reload(ReloadPolicy = NormalReload, const KURL& overrideURL = KURL(), const AtomicString& ove…
130 bool shouldTreatURLAsSameAsCurrent(const KURL&) const;
131 bool shouldTreatURLAsSrcdocDocument(const KURL&) const;
157 String userAgent(const KURL&) const;
185 …bool shouldInterruptLoadForXFrameOptions(const String&, const KURL&, unsigned long requestIdentifi…
199 …void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSource, PassRefPtr<Seriali…
224 SubstituteData defaultSubstituteDataForURL(const KURL&);
228 …ormFragmentNavigation(bool isFormSubmission, const String& httpMethod, FrameLoadType, const KURL&);
229 void scrollToFragmentWithParentBoundary(const KURL&);
248 …void loadInSameDocument(const KURL&, PassRefPtr<SerializedScriptValue> stateObject, bool isNewNavi…
DMixedContentChecker.h40 class KURL; variable
48 bool canDisplayInsecureContent(SecurityOrigin*, const KURL&) const;
49 bool canRunInsecureContent(SecurityOrigin*, const KURL&) const;
50 static bool isMixedContent(SecurityOrigin*, const KURL&);
56 void logWarning(bool allowed, const String& action, const KURL&) const;
/external/chromium_org/third_party/WebKit/Source/core/page/
DPageSerializer.h69 KURL urlForBlankFrame(Frame*);
76 void serializeCSSStyleSheet(CSSStyleSheet*, const KURL&);
78 bool shouldAddURL(const KURL&);
80 void addToResources(Resource *, PassRefPtr<SharedBuffer>, const KURL&);
81 void addImageToResources(ImageResource*, RenderObject*, const KURL&);
88 ListHashSet<KURL> m_resourceURLs;
89 HashMap<Frame*, KURL> m_blankFrameURLs;
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLPreloadScanner.h47 TokenPreloadScanner(const KURL& documentURL, float deviceScaleFactor);
53 void setPredictedBaseElementURL(const KURL& url) { m_predictedBaseElementURL = url; } in setPredictedBaseElementURL()
76 Checkpoint(const KURL& predictedBaseElementURL, bool inStyle, size_t templateCount) in Checkpoint()
83 KURL predictedBaseElementURL;
89 const KURL m_documentURL;
90 KURL m_predictedBaseElementURL;
101 HTMLPreloadScanner(const HTMLParserOptions&, const KURL& documentURL, float deviceScaleFactor);
105 void scan(HTMLResourcePreloader*, const KURL& documentBaseElementURL);
/external/chromium_org/third_party/WebKit/Source/platform/network/
DResourceRequest.h80 initialize(KURL(), UseProtocolCachePolicy); in ResourceRequest()
85 initialize(KURL(ParsedURLString, urlString), UseProtocolCachePolicy); in ResourceRequest()
88 ResourceRequest(const KURL& url) in ResourceRequest()
93 …ResourceRequest(const KURL& url, const AtomicString& referrer, ResourceRequestCachePolicy cachePol…
107 const KURL& url() const;
108 void setURL(const KURL& url);
118 const KURL& firstPartyForCookies() const;
119 void setFirstPartyForCookies(const KURL& firstPartyForCookies);
216 void initialize(const KURL& url, ResourceRequestCachePolicy cachePolicy);
218 KURL m_url;
[all …]
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXSLStyleSheet.h41 …XSLStyleSheet> create(XSLImportRule* parentImport, const String& originalURL, const KURL& finalURL) in create()
46 …leSheet> create(ProcessingInstruction* parentNode, const String& originalURL, const KURL& finalURL) in create()
51 …static PassRefPtr<XSLStyleSheet> createEmbedded(ProcessingInstruction* parentNode, const KURL& fin… in createEmbedded()
59 …yleSheet> createForXSLTProcessor(Node* parentNode, const String& originalURL, const KURL& finalURL) in createForXSLTProcessor()
71 const KURL& finalURL() const { return m_finalURL; } in finalURL()
99 virtual KURL baseURL() const OVERRIDE { return m_finalURL; } in baseURL()
103 XSLStyleSheet(Node* parentNode, const String& originalURL, const KURL& finalURL, bool embedded);
104 XSLStyleSheet(XSLImportRule* parentImport, const String& originalURL, const KURL& finalURL);
108 KURL m_finalURL;

12345678910>>...18