| 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(); |
| 495 bool visuallyOrdered() const { return m_visuallyOrdered; } | 496 bool visuallyOrdered() const { return m_visuallyOrdered; } |
| 496 | 497 |
| 497 DocumentLoader* loader() const; | 498 DocumentLoader* loader() const; |
| 498 | 499 |
| 499 void open(Document* ownerDocument = 0); | 500 void open(Document* ownerDocument = 0); |
| 500 PassRefPtr<DocumentParser> implicitOpen(); | 501 PassRefPtr<DocumentParser> implicitOpen(); |
| 501 | 502 |
| 502 // close() is the DOM API document.close() | 503 // close() is the DOM API document.close() |
| 503 void close(); | 504 void close(); |
| 504 // In some situations (see the code), we ignore document.close(). | 505 // In some situations (see the code), we ignore document.close(). |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 | 837 |
| 837 virtual void tasksWereSuspended() OVERRIDE; | 838 virtual void tasksWereSuspended() OVERRIDE; |
| 838 virtual void tasksWereResumed() OVERRIDE; | 839 virtual void tasksWereResumed() OVERRIDE; |
| 839 virtual void suspendScheduledTasks() OVERRIDE; | 840 virtual void suspendScheduledTasks() OVERRIDE; |
| 840 virtual void resumeScheduledTasks() OVERRIDE; | 841 virtual void resumeScheduledTasks() OVERRIDE; |
| 841 virtual bool tasksNeedSuspension() OVERRIDE; | 842 virtual bool tasksNeedSuspension() OVERRIDE; |
| 842 | 843 |
| 843 void finishedParsing(); | 844 void finishedParsing(); |
| 844 | 845 |
| 845 void setEncodingData(const DocumentEncodingData& newData); | 846 void setEncodingData(const DocumentEncodingData& newData); |
| 846 const WTF::TextEncoding& encoding() const { return m_encodingData.encoding()
; } | 847 const WTF::TextEncoding& encoding() const { return m_encodingData.encoding;
} |
| 847 | 848 |
| 848 bool encodingWasDetectedHeuristically() const { return m_encodingData.wasDet
ectedHeuristically(); } | 849 bool encodingWasDetectedHeuristically() const { return m_encodingData.wasDet
ectedHeuristically; } |
| 849 bool sawDecodingError() const { return m_encodingData.sawDecodingError(); } | 850 bool sawDecodingError() const { return m_encodingData.sawDecodingError; } |
| 850 | 851 |
| 851 void setAnnotatedRegionsDirty(bool f) { m_annotatedRegionsDirty = f; } | 852 void setAnnotatedRegionsDirty(bool f) { m_annotatedRegionsDirty = f; } |
| 852 bool annotatedRegionsDirty() const { return m_annotatedRegionsDirty; } | 853 bool annotatedRegionsDirty() const { return m_annotatedRegionsDirty; } |
| 853 bool hasAnnotatedRegions () const { return m_hasAnnotatedRegions; } | 854 bool hasAnnotatedRegions () const { return m_hasAnnotatedRegions; } |
| 854 void setHasAnnotatedRegions(bool f) { m_hasAnnotatedRegions = f; } | 855 void setHasAnnotatedRegions(bool f) { m_hasAnnotatedRegions = f; } |
| 855 const Vector<AnnotatedRegionValue>& annotatedRegions() const; | 856 const Vector<AnnotatedRegionValue>& annotatedRegions() const; |
| 856 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); | 857 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); |
| 857 | 858 |
| 858 virtual void removeAllEventListeners(); | 859 virtual void removeAllEventListeners(); |
| 859 | 860 |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1352 inline bool Node::isDocumentNode() const | 1353 inline bool Node::isDocumentNode() const |
| 1353 { | 1354 { |
| 1354 return this == documentInternal(); | 1355 return this == documentInternal(); |
| 1355 } | 1356 } |
| 1356 | 1357 |
| 1357 Node* eventTargetNodeForDocument(Document*); | 1358 Node* eventTargetNodeForDocument(Document*); |
| 1358 | 1359 |
| 1359 } // namespace WebCore | 1360 } // namespace WebCore |
| 1360 | 1361 |
| 1361 #endif // Document_h | 1362 #endif // Document_h |
| OLD | NEW |