| 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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 485 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
| 486 void prepareForDestruction(); | 486 void prepareForDestruction(); |
| 487 | 487 |
| 488 RenderView* renderView() const { return m_renderView; } | 488 RenderView* renderView() const { return m_renderView; } |
| 489 | 489 |
| 490 AXObjectCache* existingAXObjectCache() const; | 490 AXObjectCache* existingAXObjectCache() const; |
| 491 AXObjectCache* axObjectCache() const; | 491 AXObjectCache* axObjectCache() const; |
| 492 void clearAXObjectCache(); | 492 void clearAXObjectCache(); |
| 493 | 493 |
| 494 // to get visually ordered hebrew and arabic pages right | 494 // to get visually ordered hebrew and arabic pages right |
| 495 void setVisuallyOrdered(); | |
| 496 bool visuallyOrdered() const { return m_visuallyOrdered; } | 495 bool visuallyOrdered() const { return m_visuallyOrdered; } |
| 497 | 496 |
| 498 DocumentLoader* loader() const; | 497 DocumentLoader* loader() const; |
| 499 | 498 |
| 500 void open(Document* ownerDocument = 0); | 499 void open(Document* ownerDocument = 0); |
| 501 PassRefPtr<DocumentParser> implicitOpen(); | 500 PassRefPtr<DocumentParser> implicitOpen(); |
| 502 | 501 |
| 503 // close() is the DOM API document.close() | 502 // close() is the DOM API document.close() |
| 504 void close(); | 503 void close(); |
| 505 // In some situations (see the code), we ignore document.close(). | 504 // In some situations (see the code), we ignore document.close(). |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 | 838 |
| 840 virtual void tasksWereSuspended() OVERRIDE FINAL; | 839 virtual void tasksWereSuspended() OVERRIDE FINAL; |
| 841 virtual void tasksWereResumed() OVERRIDE FINAL; | 840 virtual void tasksWereResumed() OVERRIDE FINAL; |
| 842 virtual void suspendScheduledTasks() OVERRIDE FINAL; | 841 virtual void suspendScheduledTasks() OVERRIDE FINAL; |
| 843 virtual void resumeScheduledTasks() OVERRIDE FINAL; | 842 virtual void resumeScheduledTasks() OVERRIDE FINAL; |
| 844 virtual bool tasksNeedSuspension() OVERRIDE FINAL; | 843 virtual bool tasksNeedSuspension() OVERRIDE FINAL; |
| 845 | 844 |
| 846 void finishedParsing(); | 845 void finishedParsing(); |
| 847 | 846 |
| 848 void setEncodingData(const DocumentEncodingData& newData); | 847 void setEncodingData(const DocumentEncodingData& newData); |
| 849 const WTF::TextEncoding& encoding() const { return m_encodingData.encoding;
} | 848 const WTF::TextEncoding& encoding() const { return m_encodingData.encoding()
; } |
| 850 | 849 |
| 851 bool encodingWasDetectedHeuristically() const { return m_encodingData.wasDet
ectedHeuristically; } | 850 bool encodingWasDetectedHeuristically() const { return m_encodingData.wasDet
ectedHeuristically(); } |
| 852 bool sawDecodingError() const { return m_encodingData.sawDecodingError; } | 851 bool sawDecodingError() const { return m_encodingData.sawDecodingError(); } |
| 853 | 852 |
| 854 void setAnnotatedRegionsDirty(bool f) { m_annotatedRegionsDirty = f; } | 853 void setAnnotatedRegionsDirty(bool f) { m_annotatedRegionsDirty = f; } |
| 855 bool annotatedRegionsDirty() const { return m_annotatedRegionsDirty; } | 854 bool annotatedRegionsDirty() const { return m_annotatedRegionsDirty; } |
| 856 bool hasAnnotatedRegions () const { return m_hasAnnotatedRegions; } | 855 bool hasAnnotatedRegions () const { return m_hasAnnotatedRegions; } |
| 857 void setHasAnnotatedRegions(bool f) { m_hasAnnotatedRegions = f; } | 856 void setHasAnnotatedRegions(bool f) { m_hasAnnotatedRegions = f; } |
| 858 const Vector<AnnotatedRegionValue>& annotatedRegions() const; | 857 const Vector<AnnotatedRegionValue>& annotatedRegions() const; |
| 859 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); | 858 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); |
| 860 | 859 |
| 861 virtual void removeAllEventListeners() OVERRIDE FINAL; | 860 virtual void removeAllEventListeners() OVERRIDE FINAL; |
| 862 | 861 |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1354 inline bool Node::isDocumentNode() const | 1353 inline bool Node::isDocumentNode() const |
| 1355 { | 1354 { |
| 1356 return this == document(); | 1355 return this == document(); |
| 1357 } | 1356 } |
| 1358 | 1357 |
| 1359 Node* eventTargetNodeForDocument(Document*); | 1358 Node* eventTargetNodeForDocument(Document*); |
| 1360 | 1359 |
| 1361 } // namespace WebCore | 1360 } // namespace WebCore |
| 1362 | 1361 |
| 1363 #endif // Document_h | 1362 #endif // Document_h |
| OLD | NEW |