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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 | 782 |
783 HTMLElement* body() const; | 783 HTMLElement* body() const; |
784 void setBody(PassRefPtrWillBeRawPtr<HTMLElement>, ExceptionState&); | 784 void setBody(PassRefPtrWillBeRawPtr<HTMLElement>, ExceptionState&); |
785 | 785 |
786 HTMLHeadElement* head() const; | 786 HTMLHeadElement* head() const; |
787 | 787 |
788 // Decide which element is to define the viewport's overflow policy. If |roo
tStyle| is set, use | 788 // Decide which element is to define the viewport's overflow policy. If |roo
tStyle| is set, use |
789 // that as the style for the root element, rather than obtaining it on our o
wn. The reason for | 789 // that as the style for the root element, rather than obtaining it on our o
wn. The reason for |
790 // this is that style may not have been associated with the elements yet - i
n which case it may | 790 // this is that style may not have been associated with the elements yet - i
n which case it may |
791 // have been calculated on the fly (without associating it with the actual e
lement) somewhere. | 791 // have been calculated on the fly (without associating it with the actual e
lement) somewhere. |
792 Element* viewportDefiningElement(LayoutStyle* rootStyle = nullptr) const; | 792 Element* viewportDefiningElement(const LayoutStyle* rootStyle = nullptr) con
st; |
793 | 793 |
794 DocumentMarkerController& markers() const { return *m_markers; } | 794 DocumentMarkerController& markers() const { return *m_markers; } |
795 | 795 |
796 bool execCommand(const String& command, bool showUI, const String& value); | 796 bool execCommand(const String& command, bool showUI, const String& value); |
797 bool queryCommandEnabled(const String& command); | 797 bool queryCommandEnabled(const String& command); |
798 bool queryCommandIndeterm(const String& command); | 798 bool queryCommandIndeterm(const String& command); |
799 bool queryCommandState(const String& command); | 799 bool queryCommandState(const String& command); |
800 bool queryCommandSupported(const String& command); | 800 bool queryCommandSupported(const String& command); |
801 String queryCommandValue(const String& command); | 801 String queryCommandValue(const String& command); |
802 | 802 |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1426 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1426 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1427 | 1427 |
1428 } // namespace blink | 1428 } // namespace blink |
1429 | 1429 |
1430 #ifndef NDEBUG | 1430 #ifndef NDEBUG |
1431 // Outside the WebCore namespace for ease of invocation from gdb. | 1431 // Outside the WebCore namespace for ease of invocation from gdb. |
1432 void showLiveDocumentInstances(); | 1432 void showLiveDocumentInstances(); |
1433 #endif | 1433 #endif |
1434 | 1434 |
1435 #endif // Document_h | 1435 #endif // Document_h |
OLD | NEW |