| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 Element* createElementNS(const AtomicString& namespaceURI, | 346 Element* createElementNS(const AtomicString& namespaceURI, |
| 347 const AtomicString& qualifiedName, | 347 const AtomicString& qualifiedName, |
| 348 ExceptionState&); | 348 ExceptionState&); |
| 349 Element* createElement(const QualifiedName&, CreateElementFlags); | 349 Element* createElement(const QualifiedName&, CreateElementFlags); |
| 350 | 350 |
| 351 Element* elementFromPoint(int x, int y) const; | 351 Element* elementFromPoint(int x, int y) const; |
| 352 HeapVector<Member<Element>> elementsFromPoint(int x, int y) const; | 352 HeapVector<Member<Element>> elementsFromPoint(int x, int y) const; |
| 353 Range* caretRangeFromPoint(int x, int y); | 353 Range* caretRangeFromPoint(int x, int y); |
| 354 Element* scrollingElement(); | 354 Element* scrollingElement(); |
| 355 | 355 |
| 356 void addStyleReattachData(Element&, StyleReattachData&); | 356 void addStyleReattachData(Node&, StyleReattachData&); |
| 357 StyleReattachData getStyleReattachData(Element&); | 357 StyleReattachData getStyleReattachData(Node&); |
| 358 | 358 |
| 359 String readyState() const; | 359 String readyState() const; |
| 360 | 360 |
| 361 AtomicString characterSet() const { return Document::encodingName(); } | 361 AtomicString characterSet() const { return Document::encodingName(); } |
| 362 | 362 |
| 363 AtomicString encodingName() const; | 363 AtomicString encodingName() const; |
| 364 | 364 |
| 365 void setContent(const String&); | 365 void setContent(const String&); |
| 366 | 366 |
| 367 String suggestedMIMEType() const; | 367 String suggestedMIMEType() const; |
| (...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1437 PendingSheetLayout m_pendingSheetLayout; | 1437 PendingSheetLayout m_pendingSheetLayout; |
| 1438 | 1438 |
| 1439 Member<LocalFrame> m_frame; | 1439 Member<LocalFrame> m_frame; |
| 1440 Member<LocalDOMWindow> m_domWindow; | 1440 Member<LocalDOMWindow> m_domWindow; |
| 1441 TraceWrapperMember<HTMLImportsController> m_importsController; | 1441 TraceWrapperMember<HTMLImportsController> m_importsController; |
| 1442 | 1442 |
| 1443 Member<ResourceFetcher> m_fetcher; | 1443 Member<ResourceFetcher> m_fetcher; |
| 1444 Member<DocumentParser> m_parser; | 1444 Member<DocumentParser> m_parser; |
| 1445 Member<ContextFeatures> m_contextFeatures; | 1445 Member<ContextFeatures> m_contextFeatures; |
| 1446 | 1446 |
| 1447 HeapHashMap<Member<Element>, StyleReattachData> m_styleReattachDataMap; | 1447 // This HashMap is used to stash information (ComputedStyle, nextTextSibling) |
| 1448 // generated in the Style Resolution phase that is required in the |
| 1449 // Layout Tree construction phase. |
| 1450 HeapHashMap<Member<Node>, StyleReattachData> m_styleReattachDataMap; |
| 1448 | 1451 |
| 1449 bool m_wellFormed; | 1452 bool m_wellFormed; |
| 1450 | 1453 |
| 1451 // Document URLs. | 1454 // Document URLs. |
| 1452 KURL m_url; // Document.URL: The URL from which this document was retrieved. | 1455 KURL m_url; // Document.URL: The URL from which this document was retrieved. |
| 1453 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs. | 1456 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs. |
| 1454 KURL m_baseURLOverride; // An alternative base URL that takes precedence over | 1457 KURL m_baseURLOverride; // An alternative base URL that takes precedence over |
| 1455 // m_baseURL (but not m_baseElementURL). | 1458 // m_baseURL (but not m_baseElementURL). |
| 1456 KURL m_baseElementURL; // The URL set by the <base> element. | 1459 KURL m_baseElementURL; // The URL set by the <base> element. |
| 1457 KURL m_cookieURL; // The URL to use for cookie access. | 1460 KURL m_cookieURL; // The URL to use for cookie access. |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1714 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1717 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1715 | 1718 |
| 1716 } // namespace blink | 1719 } // namespace blink |
| 1717 | 1720 |
| 1718 #ifndef NDEBUG | 1721 #ifndef NDEBUG |
| 1719 // Outside the WebCore namespace for ease of invocation from gdb. | 1722 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1720 CORE_EXPORT void showLiveDocumentInstances(); | 1723 CORE_EXPORT void showLiveDocumentInstances(); |
| 1721 #endif | 1724 #endif |
| 1722 | 1725 |
| 1723 #endif // Document_h | 1726 #endif // Document_h |
| OLD | NEW |