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 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 HTMLHeadElement* head() const; | 772 HTMLHeadElement* head() const; |
773 | 773 |
774 // Decide which element is to define the viewport's overflow policy. If |roo
tStyle| is set, use | 774 // Decide which element is to define the viewport's overflow policy. If |roo
tStyle| is set, use |
775 // that as the style for the root element, rather than obtaining it on our o
wn. The reason for | 775 // that as the style for the root element, rather than obtaining it on our o
wn. The reason for |
776 // this is that style may not have been associated with the elements yet - i
n which case it may | 776 // this is that style may not have been associated with the elements yet - i
n which case it may |
777 // have been calculated on the fly (without associating it with the actual e
lement) somewhere. | 777 // have been calculated on the fly (without associating it with the actual e
lement) somewhere. |
778 Element* viewportDefiningElement(const ComputedStyle* rootStyle = nullptr) c
onst; | 778 Element* viewportDefiningElement(const ComputedStyle* rootStyle = nullptr) c
onst; |
779 | 779 |
780 DocumentMarkerController& markers() const { return *m_markers; } | 780 DocumentMarkerController& markers() const { return *m_markers; } |
781 | 781 |
782 bool execCommand(const String& command, bool showUI, const String& value); | 782 bool execCommand(const String& command, bool showUI, const String& value, Ex
ceptionState&); |
783 bool queryCommandEnabled(const String& command); | 783 bool queryCommandEnabled(const String& command, ExceptionState&); |
784 bool queryCommandIndeterm(const String& command); | 784 bool queryCommandIndeterm(const String& command, ExceptionState&); |
785 bool queryCommandState(const String& command); | 785 bool queryCommandState(const String& command, ExceptionState&); |
786 bool queryCommandSupported(const String& command); | 786 bool queryCommandSupported(const String& command, ExceptionState&); |
787 String queryCommandValue(const String& command); | 787 String queryCommandValue(const String& command, ExceptionState&); |
788 | 788 |
789 KURL openSearchDescriptionURL(); | 789 KURL openSearchDescriptionURL(); |
790 | 790 |
791 // designMode support | 791 // designMode support |
792 bool inDesignMode() const { return m_designMode; } | 792 bool inDesignMode() const { return m_designMode; } |
793 String designMode() const; | 793 String designMode() const; |
794 void setDesignMode(const String&); | 794 void setDesignMode(const String&); |
795 | 795 |
796 Document* parentDocument() const; | 796 Document* parentDocument() const; |
797 Document& topDocument() const; | 797 Document& topDocument() const; |
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1442 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1442 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1443 | 1443 |
1444 } // namespace blink | 1444 } // namespace blink |
1445 | 1445 |
1446 #ifndef NDEBUG | 1446 #ifndef NDEBUG |
1447 // Outside the WebCore namespace for ease of invocation from gdb. | 1447 // Outside the WebCore namespace for ease of invocation from gdb. |
1448 CORE_EXPORT void showLiveDocumentInstances(); | 1448 CORE_EXPORT void showLiveDocumentInstances(); |
1449 #endif | 1449 #endif |
1450 | 1450 |
1451 #endif // Document_h | 1451 #endif // Document_h |
OLD | NEW |