| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 class SelectorQueryCache; | 144 class SelectorQueryCache; |
| 145 class SerializedScriptValue; | 145 class SerializedScriptValue; |
| 146 class Settings; | 146 class Settings; |
| 147 class StyleResolver; | 147 class StyleResolver; |
| 148 class StyleSheet; | 148 class StyleSheet; |
| 149 class StyleSheetCollections; | 149 class StyleSheetCollections; |
| 150 class StyleSheetContents; | 150 class StyleSheetContents; |
| 151 class StyleSheetList; | 151 class StyleSheetList; |
| 152 class Text; | 152 class Text; |
| 153 class TextAutosizer; | 153 class TextAutosizer; |
| 154 class TextResourceDecoder; | |
| 155 class Touch; | 154 class Touch; |
| 156 class TouchList; | 155 class TouchList; |
| 157 class TransformSource; | 156 class TransformSource; |
| 158 class TreeWalker; | 157 class TreeWalker; |
| 159 class VisitedLinkState; | 158 class VisitedLinkState; |
| 160 class XMLHttpRequest; | 159 class XMLHttpRequest; |
| 161 | 160 |
| 162 struct AnnotatedRegionValue; | 161 struct AnnotatedRegionValue; |
| 163 | 162 |
| 164 class FontLoader; | 163 class FontLoader; |
| (...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 880 | 879 |
| 881 virtual void postTask(PassOwnPtr<Task>); // Executes the task on context's t
hread asynchronously. | 880 virtual void postTask(PassOwnPtr<Task>); // Executes the task on context's t
hread asynchronously. |
| 882 | 881 |
| 883 void suspendScriptedAnimationControllerCallbacks(); | 882 void suspendScriptedAnimationControllerCallbacks(); |
| 884 void resumeScriptedAnimationControllerCallbacks(); | 883 void resumeScriptedAnimationControllerCallbacks(); |
| 885 | 884 |
| 886 void finishedParsing(); | 885 void finishedParsing(); |
| 887 | 886 |
| 888 void documentWillBecomeInactive(); | 887 void documentWillBecomeInactive(); |
| 889 | 888 |
| 890 void setDecoder(PassRefPtr<TextResourceDecoder>); | 889 struct DocumentEncodingData { |
| 891 TextResourceDecoder* decoder() const { return m_decoder.get(); } | 890 DocumentEncodingData(); |
| 892 | 891 |
| 893 void setEncoding(const WTF::TextEncoding&); | 892 WTF::TextEncoding encoding; |
| 894 const WTF::TextEncoding& encoding() const { return m_encoding; } | 893 bool wasDetectedHeuristically; |
| 894 bool sawDecodingError; |
| 895 }; |
| 896 |
| 897 void setEncoding(DocumentEncodingData); |
| 898 const WTF::TextEncoding& encoding() const { return m_encodingData.encoding;
} |
| 899 |
| 900 bool encodingWasDetectedHeuristically() const { return m_encodingData.wasDet
ectedHeuristically; } |
| 901 bool sawDecodingError() const { return m_encodingData.sawDecodingError; } |
| 895 | 902 |
| 896 String displayStringModifiedByEncoding(const String&) const; | 903 String displayStringModifiedByEncoding(const String&) const; |
| 897 PassRefPtr<StringImpl> displayStringModifiedByEncoding(PassRefPtr<StringImpl
>) const; | 904 PassRefPtr<StringImpl> displayStringModifiedByEncoding(PassRefPtr<StringImpl
>) const; |
| 898 void displayBufferModifiedByEncoding(LChar* buffer, unsigned len) const | 905 void displayBufferModifiedByEncoding(LChar* buffer, unsigned len) const |
| 899 { | 906 { |
| 900 displayBufferModifiedByEncodingInternal(buffer, len); | 907 displayBufferModifiedByEncodingInternal(buffer, len); |
| 901 } | 908 } |
| 902 void displayBufferModifiedByEncoding(UChar* buffer, unsigned len) const | 909 void displayBufferModifiedByEncoding(UChar* buffer, unsigned len) const |
| 903 { | 910 { |
| 904 displayBufferModifiedByEncodingInternal(buffer, len); | 911 displayBufferModifiedByEncodingInternal(buffer, len); |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1272 OwnPtr<TransformSource> m_transformSource; | 1279 OwnPtr<TransformSource> m_transformSource; |
| 1273 RefPtr<Document> m_transformSourceDocument; | 1280 RefPtr<Document> m_transformSourceDocument; |
| 1274 | 1281 |
| 1275 String m_xmlEncoding; | 1282 String m_xmlEncoding; |
| 1276 String m_xmlVersion; | 1283 String m_xmlVersion; |
| 1277 unsigned m_xmlStandalone : 2; | 1284 unsigned m_xmlStandalone : 2; |
| 1278 unsigned m_hasXMLDeclaration : 1; | 1285 unsigned m_hasXMLDeclaration : 1; |
| 1279 | 1286 |
| 1280 String m_contentLanguage; | 1287 String m_contentLanguage; |
| 1281 | 1288 |
| 1282 RefPtr<TextResourceDecoder> m_decoder; | 1289 DocumentEncodingData m_encodingData; |
| 1283 WTF::TextEncoding m_encoding; | |
| 1284 | 1290 |
| 1285 InheritedBool m_designMode; | 1291 InheritedBool m_designMode; |
| 1286 | 1292 |
| 1287 HashSet<LiveNodeListBase*> m_listsInvalidatedAtDocument; | 1293 HashSet<LiveNodeListBase*> m_listsInvalidatedAtDocument; |
| 1288 unsigned m_nodeListCounts[numNodeListInvalidationTypes]; | 1294 unsigned m_nodeListCounts[numNodeListInvalidationTypes]; |
| 1289 | 1295 |
| 1290 OwnPtr<SVGDocumentExtensions> m_svgExtensions; | 1296 OwnPtr<SVGDocumentExtensions> m_svgExtensions; |
| 1291 | 1297 |
| 1292 Vector<AnnotatedRegionValue> m_annotatedRegions; | 1298 Vector<AnnotatedRegionValue> m_annotatedRegions; |
| 1293 bool m_hasAnnotatedRegions; | 1299 bool m_hasAnnotatedRegions; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1427 inline bool Node::isDocumentNode() const | 1433 inline bool Node::isDocumentNode() const |
| 1428 { | 1434 { |
| 1429 return this == documentInternal(); | 1435 return this == documentInternal(); |
| 1430 } | 1436 } |
| 1431 | 1437 |
| 1432 Node* eventTargetNodeForDocument(Document*); | 1438 Node* eventTargetNodeForDocument(Document*); |
| 1433 | 1439 |
| 1434 } // namespace WebCore | 1440 } // namespace WebCore |
| 1435 | 1441 |
| 1436 #endif // Document_h | 1442 #endif // Document_h |
| OLD | NEW |