| 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 | 837 |
| 839 virtual void tasksWereSuspended() OVERRIDE; | 838 virtual void tasksWereSuspended() OVERRIDE; |
| 840 virtual void tasksWereResumed() OVERRIDE; | 839 virtual void tasksWereResumed() OVERRIDE; |
| 841 virtual void suspendScheduledTasks() OVERRIDE; | 840 virtual void suspendScheduledTasks() OVERRIDE; |
| 842 virtual void resumeScheduledTasks() OVERRIDE; | 841 virtual void resumeScheduledTasks() OVERRIDE; |
| 843 virtual bool tasksNeedSuspension() OVERRIDE; | 842 virtual bool tasksNeedSuspension() OVERRIDE; |
| 844 | 843 |
| 845 void finishedParsing(); | 844 void finishedParsing(); |
| 846 | 845 |
| 847 void setEncodingData(const DocumentEncodingData& newData); | 846 void setEncodingData(const DocumentEncodingData& newData); |
| 848 const WTF::TextEncoding& encoding() const { return m_encodingData.encoding;
} | 847 const WTF::TextEncoding& encoding() const { return m_encodingData.encoding()
; } |
| 849 | 848 |
| 850 bool encodingWasDetectedHeuristically() const { return m_encodingData.wasDet
ectedHeuristically; } | 849 bool encodingWasDetectedHeuristically() const { return m_encodingData.wasDet
ectedHeuristically(); } |
| 851 bool sawDecodingError() const { return m_encodingData.sawDecodingError; } | 850 bool sawDecodingError() const { return m_encodingData.sawDecodingError(); } |
| 852 | 851 |
| 853 void setAnnotatedRegionsDirty(bool f) { m_annotatedRegionsDirty = f; } | 852 void setAnnotatedRegionsDirty(bool f) { m_annotatedRegionsDirty = f; } |
| 854 bool annotatedRegionsDirty() const { return m_annotatedRegionsDirty; } | 853 bool annotatedRegionsDirty() const { return m_annotatedRegionsDirty; } |
| 855 bool hasAnnotatedRegions () const { return m_hasAnnotatedRegions; } | 854 bool hasAnnotatedRegions () const { return m_hasAnnotatedRegions; } |
| 856 void setHasAnnotatedRegions(bool f) { m_hasAnnotatedRegions = f; } | 855 void setHasAnnotatedRegions(bool f) { m_hasAnnotatedRegions = f; } |
| 857 const Vector<AnnotatedRegionValue>& annotatedRegions() const; | 856 const Vector<AnnotatedRegionValue>& annotatedRegions() const; |
| 858 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); | 857 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); |
| 859 | 858 |
| 860 virtual void removeAllEventListeners(); | 859 virtual void removeAllEventListeners(); |
| 861 | 860 |
| (...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1366 inline bool Node::isDocumentNode() const | 1365 inline bool Node::isDocumentNode() const |
| 1367 { | 1366 { |
| 1368 return this == documentInternal(); | 1367 return this == documentInternal(); |
| 1369 } | 1368 } |
| 1370 | 1369 |
| 1371 Node* eventTargetNodeForDocument(Document*); | 1370 Node* eventTargetNodeForDocument(Document*); |
| 1372 | 1371 |
| 1373 } // namespace WebCore | 1372 } // namespace WebCore |
| 1374 | 1373 |
| 1375 #endif // Document_h | 1374 #endif // Document_h |
| OLD | NEW |