Chromium Code Reviews| 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 | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
| 7 * rights reserved. | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 588 Document* enteredDocument = nullptr, | 588 Document* enteredDocument = nullptr, |
| 589 ExceptionState& = ASSERT_NO_EXCEPTION); | 589 ExceptionState& = ASSERT_NO_EXCEPTION); |
| 590 void writeln(const String& text, | 590 void writeln(const String& text, |
| 591 Document* enteredDocument = nullptr, | 591 Document* enteredDocument = nullptr, |
| 592 ExceptionState& = ASSERT_NO_EXCEPTION); | 592 ExceptionState& = ASSERT_NO_EXCEPTION); |
| 593 void write(LocalDOMWindow*, const Vector<String>& text, ExceptionState&); | 593 void write(LocalDOMWindow*, const Vector<String>& text, ExceptionState&); |
| 594 void writeln(LocalDOMWindow*, const Vector<String>& text, ExceptionState&); | 594 void writeln(LocalDOMWindow*, const Vector<String>& text, ExceptionState&); |
| 595 | 595 |
| 596 bool wellFormed() const { return m_wellFormed; } | 596 bool wellFormed() const { return m_wellFormed; } |
| 597 | 597 |
| 598 // Get the URL that was used to retrieve this document. | |
|
tkent
2017/03/22 08:36:27
We are not sure if we should remove it or not. So
| |
| 598 const KURL& url() const { return m_url; } | 599 const KURL& url() const { return m_url; } |
| 599 void setURL(const KURL&); | 600 void setURL(const KURL&); |
| 600 | 601 |
| 602 // Bind the url to document.url, if unavailable bind to about:blank. | |
| 603 KURL urlForBinding(); | |
| 604 | |
| 601 // To understand how these concepts relate to one another, please see the | 605 // To understand how these concepts relate to one another, please see the |
| 602 // comments surrounding their declaration. | 606 // comments surrounding their declaration. |
| 603 const KURL& baseURL() const { return m_baseURL; } | 607 const KURL& baseURL() const { return m_baseURL; } |
| 604 void setBaseURLOverride(const KURL&); | 608 void setBaseURLOverride(const KURL&); |
| 605 const KURL& baseURLOverride() const { return m_baseURLOverride; } | 609 const KURL& baseURLOverride() const { return m_baseURLOverride; } |
| 606 KURL validBaseElementURL() const; | 610 KURL validBaseElementURL() const; |
| 607 const AtomicString& baseTarget() const { return m_baseTarget; } | 611 const AtomicString& baseTarget() const { return m_baseTarget; } |
| 608 void processBaseElement(); | 612 void processBaseElement(); |
| 609 | 613 |
| 610 // Creates URL based on passed relative url and this documents base URL. | 614 // Creates URL based on passed relative url and this documents base URL. |
| (...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1707 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1711 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1708 | 1712 |
| 1709 } // namespace blink | 1713 } // namespace blink |
| 1710 | 1714 |
| 1711 #ifndef NDEBUG | 1715 #ifndef NDEBUG |
| 1712 // Outside the WebCore namespace for ease of invocation from gdb. | 1716 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1713 CORE_EXPORT void showLiveDocumentInstances(); | 1717 CORE_EXPORT void showLiveDocumentInstances(); |
| 1714 #endif | 1718 #endif |
| 1715 | 1719 |
| 1716 #endif // Document_h | 1720 #endif // Document_h |
| OLD | NEW |