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 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1441 PendingSheetLayout m_pendingSheetLayout; | 1441 PendingSheetLayout m_pendingSheetLayout; |
1442 | 1442 |
1443 Member<LocalFrame> m_frame; | 1443 Member<LocalFrame> m_frame; |
1444 Member<LocalDOMWindow> m_domWindow; | 1444 Member<LocalDOMWindow> m_domWindow; |
1445 TraceWrapperMember<HTMLImportsController> m_importsController; | 1445 TraceWrapperMember<HTMLImportsController> m_importsController; |
1446 | 1446 |
1447 Member<ResourceFetcher> m_fetcher; | 1447 Member<ResourceFetcher> m_fetcher; |
1448 Member<DocumentParser> m_parser; | 1448 Member<DocumentParser> m_parser; |
1449 Member<ContextFeatures> m_contextFeatures; | 1449 Member<ContextFeatures> m_contextFeatures; |
1450 | 1450 |
1451 HeapHashMap<Member<Element>, StyleReattachData> m_styleReattachDataMap; | 1451 HeapHashMap<Member<Node>, StyleReattachData> m_styleReattachDataMap; |
nainar
2016/11/29 06:13:39
Changed this and all relevant functions since we n
| |
1452 | 1452 |
1453 bool m_wellFormed; | 1453 bool m_wellFormed; |
1454 | 1454 |
1455 // Document URLs. | 1455 // Document URLs. |
1456 KURL m_url; // Document.URL: The URL from which this document was retrieved. | 1456 KURL m_url; // Document.URL: The URL from which this document was retrieved. |
1457 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs. | 1457 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs. |
1458 KURL m_baseURLOverride; // An alternative base URL that takes precedence over | 1458 KURL m_baseURLOverride; // An alternative base URL that takes precedence over |
1459 // m_baseURL (but not m_baseElementURL). | 1459 // m_baseURL (but not m_baseElementURL). |
1460 KURL m_baseElementURL; // The URL set by the <base> element. | 1460 KURL m_baseElementURL; // The URL set by the <base> element. |
1461 KURL m_cookieURL; // The URL to use for cookie access. | 1461 KURL m_cookieURL; // The URL to use for cookie access. |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1717 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1717 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1718 | 1718 |
1719 } // namespace blink | 1719 } // namespace blink |
1720 | 1720 |
1721 #ifndef NDEBUG | 1721 #ifndef NDEBUG |
1722 // Outside the WebCore namespace for ease of invocation from gdb. | 1722 // Outside the WebCore namespace for ease of invocation from gdb. |
1723 CORE_EXPORT void showLiveDocumentInstances(); | 1723 CORE_EXPORT void showLiveDocumentInstances(); |
1724 #endif | 1724 #endif |
1725 | 1725 |
1726 #endif // Document_h | 1726 #endif // Document_h |
OLD | NEW |