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 r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
949 void setImportsController(HTMLImportsController*); | 949 void setImportsController(HTMLImportsController*); |
950 HTMLImportsController* importsController() const { return m_importsControlle
r; } | 950 HTMLImportsController* importsController() const { return m_importsControlle
r; } |
951 HTMLImportLoader* importLoader() const; | 951 HTMLImportLoader* importLoader() const; |
952 | 952 |
953 bool haveImportsLoaded() const; | 953 bool haveImportsLoaded() const; |
954 void didLoadAllImports(); | 954 void didLoadAllImports(); |
955 | 955 |
956 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, LayoutObje
ct&); | 956 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, LayoutObje
ct&); |
957 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, LayoutObject&); | 957 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, LayoutObject&); |
958 | 958 |
959 bool hasActiveParser(); | |
960 unsigned activeParserCount() { return m_activeParserCount; } | |
961 void incrementActiveParserCount() { ++m_activeParserCount; } | |
962 void decrementActiveParserCount() { --m_activeParserCount; } | |
963 | |
964 void setContextFeatures(ContextFeatures&); | 959 void setContextFeatures(ContextFeatures&); |
965 ContextFeatures& contextFeatures() const { return *m_contextFeatures; } | 960 ContextFeatures& contextFeatures() const { return *m_contextFeatures; } |
966 | 961 |
967 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); } | 962 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); } |
968 | 963 |
969 void didLoadAllScriptBlockingResources(); | 964 void didLoadAllScriptBlockingResources(); |
970 void didRemoveAllPendingStylesheet(); | 965 void didRemoveAllPendingStylesheet(); |
971 | 966 |
972 bool inStyleRecalc() const { return m_lifecycle.state() == DocumentLifecycle
::InStyleRecalc; } | 967 bool inStyleRecalc() const { return m_lifecycle.state() == DocumentLifecycle
::InStyleRecalc; } |
973 | 968 |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1182 | 1177 |
1183 RawPtrWillBeMember<LocalFrame> m_frame; | 1178 RawPtrWillBeMember<LocalFrame> m_frame; |
1184 RawPtrWillBeMember<LocalDOMWindow> m_domWindow; | 1179 RawPtrWillBeMember<LocalDOMWindow> m_domWindow; |
1185 // FIXME: oilpan: when we get rid of the transition types change the | 1180 // FIXME: oilpan: when we get rid of the transition types change the |
1186 // HTMLImportsController to not be a DocumentSupplement since it is | 1181 // HTMLImportsController to not be a DocumentSupplement since it is |
1187 // redundant with oilpan. | 1182 // redundant with oilpan. |
1188 RawPtrWillBeMember<HTMLImportsController> m_importsController; | 1183 RawPtrWillBeMember<HTMLImportsController> m_importsController; |
1189 | 1184 |
1190 PersistentWillBeMember<ResourceFetcher> m_fetcher; | 1185 PersistentWillBeMember<ResourceFetcher> m_fetcher; |
1191 RefPtrWillBeMember<DocumentParser> m_parser; | 1186 RefPtrWillBeMember<DocumentParser> m_parser; |
1192 unsigned m_activeParserCount; | |
1193 RefPtrWillBeMember<ContextFeatures> m_contextFeatures; | 1187 RefPtrWillBeMember<ContextFeatures> m_contextFeatures; |
1194 | 1188 |
1195 bool m_wellFormed; | 1189 bool m_wellFormed; |
1196 | 1190 |
1197 // Document URLs. | 1191 // Document URLs. |
1198 KURL m_url; // Document.URL: The URL from which this document was retrieved. | 1192 KURL m_url; // Document.URL: The URL from which this document was retrieved. |
1199 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs
. | 1193 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs
. |
1200 KURL m_baseURLOverride; // An alternative base URL that takes precedence ove
r m_baseURL (but not m_baseElementURL). | 1194 KURL m_baseURLOverride; // An alternative base URL that takes precedence ove
r m_baseURL (but not m_baseElementURL). |
1201 KURL m_baseElementURL; // The URL set by the <base> element. | 1195 KURL m_baseElementURL; // The URL set by the <base> element. |
1202 KURL m_cookieURL; // The URL to use for cookie access. | 1196 KURL m_cookieURL; // The URL to use for cookie access. |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1453 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1447 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1454 | 1448 |
1455 } // namespace blink | 1449 } // namespace blink |
1456 | 1450 |
1457 #ifndef NDEBUG | 1451 #ifndef NDEBUG |
1458 // Outside the WebCore namespace for ease of invocation from gdb. | 1452 // Outside the WebCore namespace for ease of invocation from gdb. |
1459 CORE_EXPORT void showLiveDocumentInstances(); | 1453 CORE_EXPORT void showLiveDocumentInstances(); |
1460 #endif | 1454 #endif |
1461 | 1455 |
1462 #endif // Document_h | 1456 #endif // Document_h |
OLD | NEW |