Home | History | Annotate | Download | only in weborigin

Lines Matching full:kurl

29 #include "weborigin/KURL.h"
129 String KURL::strippedForUseAsReferrer() const
131 KURL referrer(*this);
138 bool KURL::isLocalFile() const
152 const KURL& blankURL()
154 DEFINE_STATIC_LOCAL(KURL, staticBlankURL, (ParsedURLString, "about:blank"));
158 bool KURL::isBlankURL() const
163 String KURL::elidedString() const
172 // information is specified. This generally happens when a KURL is converted
176 KURL::KURL(ParsedURLStringTag, const String& url)
179 init(KURL(), url, 0);
189 KURL KURL::createIsolated(ParsedURLStringTag, const String& url)
192 // isolated KURL more efficiently.
193 return KURL(ParsedURLString, url).copy();
198 KURL::KURL(const KURL& base, const String& relative)
205 KURL::KURL(const KURL& base, const String& relative, const WTF::TextEncoding& encoding)
210 KURL::KURL(const AtomicString& canonicalString, const url_parse::Parsed& parsed, bool isValid)
220 KURL::KURL(WTF::HashTableDeletedValueType)
227 KURL::KURL(const KURL& other)
234 m_innerURL = adoptPtr(new KURL(other.m_innerURL->copy()));
237 KURL& KURL::operator=(const KURL& other)
244 m_innerURL = adoptPtr(new KURL(other.m_innerURL->copy()));
250 KURL KURL::copy() const
252 KURL result;
258 result.m_innerURL = adoptPtr(new KURL(m_innerURL->copy()));
262 bool KURL::isNull() const
267 bool KURL::isEmpty() const
272 bool KURL::isValid() const
277 bool KURL::hasPort() const
282 bool KURL::protocolIsInHTTPFamily() const
287 bool KURL::hasPath() const
294 // We handle "parameters" separated by a semicolon, while KURL.cpp does not,
296 String KURL::lastPathComponent() const
321 String KURL::protocol() const
326 String KURL::host() const
334 // be rejected by the canonicalizer. KURL.cpp will allow them in parsing, but
336 unsigned short KURL::port() const
347 if (port == url_parse::PORT_INVALID || port > maximumValidPortNumber) // Mimic KURL::port()
353 String KURL::pass() const
362 String KURL::user() const
367 String KURL::fragmentIdentifier() const
377 bool KURL::hasFragmentIdentifier() const
382 String KURL::baseAsString() const
388 String KURL::query() const
402 String KURL::path() const
407 bool KURL::setProtocol(const String& protocol)
414 // If KURL is given an invalid scheme, it returns failure without modifying
436 void KURL::setHost(const String& host)
444 void KURL::setHostAndPort(const String& hostAndPort)
469 void KURL::removePort()
478 void KURL::setPort(unsigned short i)
488 void KURL::setUser(const String& user)
503 void KURL::setPass(const String& pass)
518 void KURL::setFragmentIdentifier(const String& fragment)
535 void KURL::removeFragmentIdentifier()
542 void KURL::setQuery(const String& query)
547 // KURL.cpp sets to null to clear any query.
555 // a question mark, KURL.cpp will add a question mark for you. The only
557 // string. KURL.cpp will leave a '?' with nothing following it in the
565 void KURL::setPath(const String& path)
580 // In KURL.cpp's implementation, this is called by every component getter.
588 // FIXME These should be merged to the KURL.cpp implementation.
591 // FIXME We can probably use KURL.cpp's version of this function
623 bool KURL::isHierarchical() const
633 void KURL::print() const
639 bool equalIgnoringFragmentIdentifier(const KURL& a, const KURL& b)
665 unsigned KURL::hostStart() const
670 unsigned KURL::hostEnd() const
675 unsigned KURL::pathStart() const
680 unsigned KURL::pathEnd() const
685 unsigned KURL::pathAfterLastSlash() const
708 void KURL::init(const KURL& base, const String& relative, const WTF::TextEncoding* queryEncoding)
720 void KURL::init(const KURL& base, const CHAR* relative, int relativeLength, const WTF::TextEncoding* queryEncoding)
743 void KURL::initInnerURL()
750 m_innerURL = adoptPtr(new KURL(ParsedURLString, m_string.substring(innerParsed->scheme.begin, innerParsed->Length() - innerParsed->scheme.begin)));
782 void KURL::initProtocolIsInHTTPFamily()
795 bool KURL::protocolIs(const char* protocol) const
799 // JavaScript URLs are "valid" and should be executed even if KURL decides they are invalid.
810 String KURL::stringForInvalidComponent() const
817 String KURL::componentString(const url_parse::Component& component) const
833 void KURL::replaceComponents(const url_canon::Replacements<CHAR>& replacements)
845 bool KURL::isSafeToSendToAnotherThread() const