| 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 | 835 |
| 837 virtual void tasksWereSuspended() OVERRIDE FINAL; | 836 virtual void tasksWereSuspended() OVERRIDE FINAL; |
| 838 virtual void tasksWereResumed() OVERRIDE FINAL; | 837 virtual void tasksWereResumed() OVERRIDE FINAL; |
| 839 virtual void suspendScheduledTasks() OVERRIDE FINAL; | 838 virtual void suspendScheduledTasks() OVERRIDE FINAL; |
| 840 virtual void resumeScheduledTasks() OVERRIDE FINAL; | 839 virtual void resumeScheduledTasks() OVERRIDE FINAL; |
| 841 virtual bool tasksNeedSuspension() OVERRIDE FINAL; | 840 virtual bool tasksNeedSuspension() OVERRIDE FINAL; |
| 842 | 841 |
| 843 void finishedParsing(); | 842 void finishedParsing(); |
| 844 | 843 |
| 845 void setEncodingData(const DocumentEncodingData& newData); | 844 void setEncodingData(const DocumentEncodingData& newData); |
| 846 const WTF::TextEncoding& encoding() const { return m_encodingData.encoding;
} | 845 const WTF::TextEncoding& encoding() const { return m_encodingData.encoding()
; } |
| 847 | 846 |
| 848 bool encodingWasDetectedHeuristically() const { return m_encodingData.wasDet
ectedHeuristically; } | 847 bool encodingWasDetectedHeuristically() const { return m_encodingData.wasDet
ectedHeuristically(); } |
| 849 bool sawDecodingError() const { return m_encodingData.sawDecodingError; } | 848 bool sawDecodingError() const { return m_encodingData.sawDecodingError(); } |
| 850 | 849 |
| 851 void setAnnotatedRegionsDirty(bool f) { m_annotatedRegionsDirty = f; } | 850 void setAnnotatedRegionsDirty(bool f) { m_annotatedRegionsDirty = f; } |
| 852 bool annotatedRegionsDirty() const { return m_annotatedRegionsDirty; } | 851 bool annotatedRegionsDirty() const { return m_annotatedRegionsDirty; } |
| 853 bool hasAnnotatedRegions () const { return m_hasAnnotatedRegions; } | 852 bool hasAnnotatedRegions () const { return m_hasAnnotatedRegions; } |
| 854 void setHasAnnotatedRegions(bool f) { m_hasAnnotatedRegions = f; } | 853 void setHasAnnotatedRegions(bool f) { m_hasAnnotatedRegions = f; } |
| 855 const Vector<AnnotatedRegionValue>& annotatedRegions() const; | 854 const Vector<AnnotatedRegionValue>& annotatedRegions() const; |
| 856 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); | 855 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); |
| 857 | 856 |
| 858 virtual void removeAllEventListeners() OVERRIDE FINAL; | 857 virtual void removeAllEventListeners() OVERRIDE FINAL; |
| 859 | 858 |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1346 inline bool Node::isDocumentNode() const | 1345 inline bool Node::isDocumentNode() const |
| 1347 { | 1346 { |
| 1348 return this == document(); | 1347 return this == document(); |
| 1349 } | 1348 } |
| 1350 | 1349 |
| 1351 Node* eventTargetNodeForDocument(Document*); | 1350 Node* eventTargetNodeForDocument(Document*); |
| 1352 | 1351 |
| 1353 } // namespace WebCore | 1352 } // namespace WebCore |
| 1354 | 1353 |
| 1355 #endif // Document_h | 1354 #endif // Document_h |
| OLD | NEW |