| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 bool wellFormed() const { return m_wellFormed; } | 502 bool wellFormed() const { return m_wellFormed; } |
| 503 | 503 |
| 504 const KURL& url() const { return m_url; } | 504 const KURL& url() const { return m_url; } |
| 505 void setURL(const KURL&); | 505 void setURL(const KURL&); |
| 506 | 506 |
| 507 // To understand how these concepts relate to one another, please see the | 507 // To understand how these concepts relate to one another, please see the |
| 508 // comments surrounding their declaration. | 508 // comments surrounding their declaration. |
| 509 const KURL& baseURL() const { return m_baseURL; } | 509 const KURL& baseURL() const { return m_baseURL; } |
| 510 void setBaseURLOverride(const KURL&); | 510 void setBaseURLOverride(const KURL&); |
| 511 const KURL& baseURLOverride() const { return m_baseURLOverride; } | 511 const KURL& baseURLOverride() const { return m_baseURLOverride; } |
| 512 const KURL& baseElementURL() const { return m_baseElementURL; } | 512 KURL validBaseElementURL() const; |
| 513 const AtomicString& baseTarget() const { return m_baseTarget; } | 513 const AtomicString& baseTarget() const { return m_baseTarget; } |
| 514 void processBaseElement(); | 514 void processBaseElement(); |
| 515 | 515 |
| 516 // Creates URL based on passed relative url and this documents base URL. | 516 // Creates URL based on passed relative url and this documents base URL. |
| 517 // Depending on base URL value it is possible that parent document | 517 // Depending on base URL value it is possible that parent document |
| 518 // base URL will be used instead. Uses completeURLWithOverride internally. | 518 // base URL will be used instead. Uses completeURLWithOverride internally. |
| 519 KURL completeURL(const String&) const; | 519 KURL completeURL(const String&) const; |
| 520 // Creates URL based on passed relative url and passed base URL override. | 520 // Creates URL based on passed relative url and passed base URL override. |
| 521 // Depending on baseURLOverride value it is possible that parent document | 521 // Depending on baseURLOverride value it is possible that parent document |
| 522 // base URL will be used instead of it. See baseURLForOverride function | 522 // base URL will be used instead of it. See baseURLForOverride function |
| (...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1437 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1437 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1438 | 1438 |
| 1439 } // namespace blink | 1439 } // namespace blink |
| 1440 | 1440 |
| 1441 #ifndef NDEBUG | 1441 #ifndef NDEBUG |
| 1442 // Outside the WebCore namespace for ease of invocation from gdb. | 1442 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1443 CORE_EXPORT void showLiveDocumentInstances(); | 1443 CORE_EXPORT void showLiveDocumentInstances(); |
| 1444 #endif | 1444 #endif |
| 1445 | 1445 |
| 1446 #endif // Document_h | 1446 #endif // Document_h |
| OLD | NEW |