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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 347 Element* createElementNS(const AtomicString& namespaceURI, | 347 Element* createElementNS(const AtomicString& namespaceURI, |
| 348 const AtomicString& qualifiedName, | 348 const AtomicString& qualifiedName, |
| 349 ExceptionState&); | 349 ExceptionState&); |
| 350 Element* createElement(const QualifiedName&, CreateElementFlags); | 350 Element* createElement(const QualifiedName&, CreateElementFlags); |
| 351 | 351 |
| 352 Element* elementFromPoint(int x, int y) const; | 352 Element* elementFromPoint(int x, int y) const; |
| 353 HeapVector<Member<Element>> elementsFromPoint(int x, int y) const; | 353 HeapVector<Member<Element>> elementsFromPoint(int x, int y) const; |
| 354 Range* caretRangeFromPoint(int x, int y); | 354 Range* caretRangeFromPoint(int x, int y); |
| 355 Element* scrollingElement(); | 355 Element* scrollingElement(); |
| 356 | 356 |
| 357 void addStyleReattachData(Element&, StyleReattachData&); | 357 void addStyleReattachData(Node&, StyleReattachData&); |
| 358 StyleReattachData getStyleReattachData(Element&); | 358 StyleReattachData getStyleReattachData(Node&); |
| 359 | 359 |
| 360 String readyState() const; | 360 String readyState() const; |
| 361 | 361 |
| 362 AtomicString characterSet() const { return Document::encodingName(); } | 362 AtomicString characterSet() const { return Document::encodingName(); } |
| 363 | 363 |
| 364 AtomicString encodingName() const; | 364 AtomicString encodingName() const; |
| 365 | 365 |
| 366 void setContent(const String&); | 366 void setContent(const String&); |
| 367 | 367 |
| 368 String suggestedMIMEType() const; | 368 String suggestedMIMEType() const; |
| (...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1432 // stylesheets do eventually load. | 1432 // stylesheets do eventually load. |
| 1433 PendingSheetLayout m_pendingSheetLayout; | 1433 PendingSheetLayout m_pendingSheetLayout; |
| 1434 | 1434 |
| 1435 Member<LocalFrame> m_frame; | 1435 Member<LocalFrame> m_frame; |
| 1436 Member<LocalDOMWindow> m_domWindow; | 1436 Member<LocalDOMWindow> m_domWindow; |
| 1437 TraceWrapperMember<HTMLImportsController> m_importsController; | 1437 TraceWrapperMember<HTMLImportsController> m_importsController; |
| 1438 | 1438 |
| 1439 Member<ResourceFetcher> m_fetcher; | 1439 Member<ResourceFetcher> m_fetcher; |
| 1440 Member<DocumentParser> m_parser; | 1440 Member<DocumentParser> m_parser; |
| 1441 Member<ContextFeatures> m_contextFeatures; | 1441 Member<ContextFeatures> m_contextFeatures; |
| 1442 | 1442 |
|
sashab
2016/12/07 02:37:19
Add comment here explaining what this hash map sto
| |
| 1443 HeapHashMap<Member<Element>, StyleReattachData> m_styleReattachDataMap; | 1443 HeapHashMap<Member<Node>, StyleReattachData> m_styleReattachDataMap; |
| 1444 | 1444 |
| 1445 bool m_wellFormed; | 1445 bool m_wellFormed; |
| 1446 | 1446 |
| 1447 // Document URLs. | 1447 // Document URLs. |
| 1448 KURL m_url; // Document.URL: The URL from which this document was retrieved. | 1448 KURL m_url; // Document.URL: The URL from which this document was retrieved. |
| 1449 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs. | 1449 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs. |
| 1450 KURL m_baseURLOverride; // An alternative base URL that takes precedence over | 1450 KURL m_baseURLOverride; // An alternative base URL that takes precedence over |
| 1451 // m_baseURL (but not m_baseElementURL). | 1451 // m_baseURL (but not m_baseElementURL). |
| 1452 KURL m_baseElementURL; // The URL set by the <base> element. | 1452 KURL m_baseElementURL; // The URL set by the <base> element. |
| 1453 KURL m_cookieURL; // The URL to use for cookie access. | 1453 KURL m_cookieURL; // The URL to use for cookie access. |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1711 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1711 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1712 | 1712 |
| 1713 } // namespace blink | 1713 } // namespace blink |
| 1714 | 1714 |
| 1715 #ifndef NDEBUG | 1715 #ifndef NDEBUG |
| 1716 // Outside the WebCore namespace for ease of invocation from gdb. | 1716 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1717 CORE_EXPORT void showLiveDocumentInstances(); | 1717 CORE_EXPORT void showLiveDocumentInstances(); |
| 1718 #endif | 1718 #endif |
| 1719 | 1719 |
| 1720 #endif // Document_h | 1720 #endif // Document_h |
| OLD | NEW |