| 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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 bool wellFormed() const { return m_wellFormed; } | 520 bool wellFormed() const { return m_wellFormed; } |
| 521 | 521 |
| 522 const KURL& url() const { return m_url; } | 522 const KURL& url() const { return m_url; } |
| 523 void setURL(const KURL&); | 523 void setURL(const KURL&); |
| 524 | 524 |
| 525 // To understand how these concepts relate to one another, please see the | 525 // To understand how these concepts relate to one another, please see the |
| 526 // comments surrounding their declaration. | 526 // comments surrounding their declaration. |
| 527 const KURL& baseURL() const { return m_baseURL; } | 527 const KURL& baseURL() const { return m_baseURL; } |
| 528 void setBaseURLOverride(const KURL&); | 528 void setBaseURLOverride(const KURL&); |
| 529 const KURL& baseURLOverride() const { return m_baseURLOverride; } | 529 const KURL& baseURLOverride() const { return m_baseURLOverride; } |
| 530 const KURL& baseElementURL() const { return m_baseElementURL; } | 530 KURL validBaseElementURL() const; |
| 531 const AtomicString& baseTarget() const { return m_baseTarget; } | 531 const AtomicString& baseTarget() const { return m_baseTarget; } |
| 532 void processBaseElement(); | 532 void processBaseElement(); |
| 533 | 533 |
| 534 // Creates URL based on passed relative url and this documents base URL. | 534 // Creates URL based on passed relative url and this documents base URL. |
| 535 // Depending on base URL value it is possible that parent document | 535 // Depending on base URL value it is possible that parent document |
| 536 // base URL will be used instead. Uses completeURLWithOverride internally. | 536 // base URL will be used instead. Uses completeURLWithOverride internally. |
| 537 KURL completeURL(const String&) const; | 537 KURL completeURL(const String&) const; |
| 538 // Creates URL based on passed relative url and passed base URL override. | 538 // Creates URL based on passed relative url and passed base URL override. |
| 539 // Depending on baseURLOverride value it is possible that parent document | 539 // Depending on baseURLOverride value it is possible that parent document |
| 540 // base URL will be used instead of it. See baseURLForOverride function | 540 // base URL will be used instead of it. See baseURLForOverride function |
| (...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1459 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1459 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1460 | 1460 |
| 1461 } // namespace blink | 1461 } // namespace blink |
| 1462 | 1462 |
| 1463 #ifndef NDEBUG | 1463 #ifndef NDEBUG |
| 1464 // Outside the WebCore namespace for ease of invocation from gdb. | 1464 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1465 CORE_EXPORT void showLiveDocumentInstances(); | 1465 CORE_EXPORT void showLiveDocumentInstances(); |
| 1466 #endif | 1466 #endif |
| 1467 | 1467 |
| 1468 #endif // Document_h | 1468 #endif // Document_h |
| OLD | NEW |