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 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 | 777 |
778 // Checks to make sure prefix and namespace do not conflict (per DOM Core 3) | 778 // Checks to make sure prefix and namespace do not conflict (per DOM Core 3) |
779 static bool hasValidNamespaceForElements(const QualifiedName&); | 779 static bool hasValidNamespaceForElements(const QualifiedName&); |
780 static bool hasValidNamespaceForAttributes(const QualifiedName&); | 780 static bool hasValidNamespaceForAttributes(const QualifiedName&); |
781 | 781 |
782 HTMLElement* body() const; | 782 HTMLElement* body() const; |
783 void setBody(PassRefPtr<HTMLElement>, ExceptionState&); | 783 void setBody(PassRefPtr<HTMLElement>, ExceptionState&); |
784 | 784 |
785 HTMLHeadElement* head(); | 785 HTMLHeadElement* head(); |
786 | 786 |
| 787 Element* viewportDefiningElement() const; |
| 788 |
787 DocumentMarkerController* markers() const { return m_markers.get(); } | 789 DocumentMarkerController* markers() const { return m_markers.get(); } |
788 | 790 |
789 bool directionSetOnDocumentElement() const { return m_directionSetOnDocument
Element; } | 791 bool directionSetOnDocumentElement() const { return m_directionSetOnDocument
Element; } |
790 bool writingModeSetOnDocumentElement() const { return m_writingModeSetOnDocu
mentElement; } | 792 bool writingModeSetOnDocumentElement() const { return m_writingModeSetOnDocu
mentElement; } |
791 void setDirectionSetOnDocumentElement(bool b) { m_directionSetOnDocumentElem
ent = b; } | 793 void setDirectionSetOnDocumentElement(bool b) { m_directionSetOnDocumentElem
ent = b; } |
792 void setWritingModeSetOnDocumentElement(bool b) { m_writingModeSetOnDocument
Element = b; } | 794 void setWritingModeSetOnDocumentElement(bool b) { m_writingModeSetOnDocument
Element = b; } |
793 | 795 |
794 bool execCommand(const String& command, bool userInterface = false, const St
ring& value = String()); | 796 bool execCommand(const String& command, bool userInterface = false, const St
ring& value = String()); |
795 bool queryCommandEnabled(const String& command); | 797 bool queryCommandEnabled(const String& command); |
796 bool queryCommandIndeterm(const String& command); | 798 bool queryCommandIndeterm(const String& command); |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1391 inline bool Node::isDocumentNode() const | 1393 inline bool Node::isDocumentNode() const |
1392 { | 1394 { |
1393 return this == document(); | 1395 return this == document(); |
1394 } | 1396 } |
1395 | 1397 |
1396 Node* eventTargetNodeForDocument(Document*); | 1398 Node* eventTargetNodeForDocument(Document*); |
1397 | 1399 |
1398 } // namespace WebCore | 1400 } // namespace WebCore |
1399 | 1401 |
1400 #endif // Document_h | 1402 #endif // Document_h |
OLD | NEW |