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