| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 Element* createElement(const QualifiedName&, CreateElementFlags); | 340 Element* createElement(const QualifiedName&, CreateElementFlags); |
| 341 | 341 |
| 342 Element* elementFromPoint(int x, int y) const; | 342 Element* elementFromPoint(int x, int y) const; |
| 343 HeapVector<Member<Element>> elementsFromPoint(int x, int y) const; | 343 HeapVector<Member<Element>> elementsFromPoint(int x, int y) const; |
| 344 Range* caretRangeFromPoint(int x, int y); | 344 Range* caretRangeFromPoint(int x, int y); |
| 345 Element* scrollingElement(); | 345 Element* scrollingElement(); |
| 346 // When calling from C++ code, use this method. scrollingElement() is | 346 // When calling from C++ code, use this method. scrollingElement() is |
| 347 // just for the web IDL implementation. | 347 // just for the web IDL implementation. |
| 348 Element* scrollingElementNoLayout(); | 348 Element* scrollingElementNoLayout(); |
| 349 | 349 |
| 350 void addStyleReattachData(Node&, StyleReattachData&); | 350 void addStyleReattachData(const Node&, StyleReattachData&); |
| 351 StyleReattachData getStyleReattachData(Node&); | 351 StyleReattachData getStyleReattachData(const Node&) const; |
| 352 | 352 |
| 353 String readyState() const; | 353 String readyState() const; |
| 354 | 354 |
| 355 AtomicString characterSet() const { return Document::encodingName(); } | 355 AtomicString characterSet() const { return Document::encodingName(); } |
| 356 | 356 |
| 357 AtomicString encodingName() const; | 357 AtomicString encodingName() const; |
| 358 | 358 |
| 359 void setContent(const String&); | 359 void setContent(const String&); |
| 360 | 360 |
| 361 String suggestedMIMEType() const; | 361 String suggestedMIMEType() const; |
| (...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1443 Member<LocalDOMWindow> m_domWindow; | 1443 Member<LocalDOMWindow> m_domWindow; |
| 1444 TraceWrapperMember<HTMLImportsController> m_importsController; | 1444 TraceWrapperMember<HTMLImportsController> m_importsController; |
| 1445 | 1445 |
| 1446 Member<ResourceFetcher> m_fetcher; | 1446 Member<ResourceFetcher> m_fetcher; |
| 1447 Member<DocumentParser> m_parser; | 1447 Member<DocumentParser> m_parser; |
| 1448 Member<ContextFeatures> m_contextFeatures; | 1448 Member<ContextFeatures> m_contextFeatures; |
| 1449 | 1449 |
| 1450 // This HashMap is used to stash information (ComputedStyle, nextTextSibling) | 1450 // This HashMap is used to stash information (ComputedStyle, nextTextSibling) |
| 1451 // generated in the Style Resolution phase that is required in the | 1451 // generated in the Style Resolution phase that is required in the |
| 1452 // Layout Tree construction phase. | 1452 // Layout Tree construction phase. |
| 1453 HeapHashMap<Member<Node>, StyleReattachData> m_styleReattachDataMap; | 1453 HeapHashMap<Member<const Node>, StyleReattachData> m_styleReattachDataMap; |
| 1454 | 1454 |
| 1455 bool m_wellFormed; | 1455 bool m_wellFormed; |
| 1456 | 1456 |
| 1457 // Document URLs. | 1457 // Document URLs. |
| 1458 KURL m_url; // Document.URL: The URL from which this document was retrieved. | 1458 KURL m_url; // Document.URL: The URL from which this document was retrieved. |
| 1459 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs. | 1459 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs. |
| 1460 KURL m_baseURLOverride; // An alternative base URL that takes precedence over | 1460 KURL m_baseURLOverride; // An alternative base URL that takes precedence over |
| 1461 // m_baseURL (but not m_baseElementURL). | 1461 // m_baseURL (but not m_baseElementURL). |
| 1462 KURL m_baseElementURL; // The URL set by the <base> element. | 1462 KURL m_baseElementURL; // The URL set by the <base> element. |
| 1463 KURL m_cookieURL; // The URL to use for cookie access. | 1463 KURL m_cookieURL; // The URL to use for cookie access. |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1722 | 1722 |
| 1723 } // namespace blink | 1723 } // namespace blink |
| 1724 | 1724 |
| 1725 #ifndef NDEBUG | 1725 #ifndef NDEBUG |
| 1726 // Outside the WebCore namespace for ease of invocation from gdb. | 1726 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1727 CORE_EXPORT void showLiveDocumentInstances(); | 1727 CORE_EXPORT void showLiveDocumentInstances(); |
| 1728 #endif | 1728 #endif |
| 1729 | 1729 |
| 1730 #endif // Document_h | 1730 #endif // Document_h |
| OLD | NEW |