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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 HTMLHeadElement* head() const; | 785 HTMLHeadElement* head() const; |
786 | 786 |
787 // Decide which element is to define the viewport's overflow policy. If |roo
tStyle| is set, use | 787 // Decide which element is to define the viewport's overflow policy. If |roo
tStyle| is set, use |
788 // that as the style for the root element, rather than obtaining it on our o
wn. The reason for | 788 // that as the style for the root element, rather than obtaining it on our o
wn. The reason for |
789 // this is that style may not have been associated with the elements yet - i
n which case it may | 789 // this is that style may not have been associated with the elements yet - i
n which case it may |
790 // have been calculated on the fly (without associating it with the actual e
lement) somewhere. | 790 // have been calculated on the fly (without associating it with the actual e
lement) somewhere. |
791 Element* viewportDefiningElement(RenderStyle* rootStyle = nullptr) const; | 791 Element* viewportDefiningElement(RenderStyle* rootStyle = nullptr) const; |
792 | 792 |
793 DocumentMarkerController& markers() const { return *m_markers; } | 793 DocumentMarkerController& markers() const { return *m_markers; } |
794 | 794 |
795 bool directionSetOnDocumentElement() const { return m_directionSetOnDocument
Element; } | |
796 bool writingModeSetOnDocumentElement() const { return m_writingModeSetOnDocu
mentElement; } | |
797 void setDirectionSetOnDocumentElement(bool b) { m_directionSetOnDocumentElem
ent = b; } | |
798 void setWritingModeSetOnDocumentElement(bool b) { m_writingModeSetOnDocument
Element = b; } | |
799 | |
800 bool execCommand(const String& command, bool userInterface = false, const St
ring& value = String()); | 795 bool execCommand(const String& command, bool userInterface = false, const St
ring& value = String()); |
801 bool queryCommandEnabled(const String& command); | 796 bool queryCommandEnabled(const String& command); |
802 bool queryCommandIndeterm(const String& command); | 797 bool queryCommandIndeterm(const String& command); |
803 bool queryCommandState(const String& command); | 798 bool queryCommandState(const String& command); |
804 bool queryCommandSupported(const String& command); | 799 bool queryCommandSupported(const String& command); |
805 String queryCommandValue(const String& command); | 800 String queryCommandValue(const String& command); |
806 | 801 |
807 KURL openSearchDescriptionURL(); | 802 KURL openSearchDescriptionURL(); |
808 | 803 |
809 // designMode support | 804 // designMode support |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1337 int m_loadEventDelayCount; | 1332 int m_loadEventDelayCount; |
1338 Timer<Document> m_loadEventDelayTimer; | 1333 Timer<Document> m_loadEventDelayTimer; |
1339 Timer<Document> m_pluginLoadingTimer; | 1334 Timer<Document> m_pluginLoadingTimer; |
1340 | 1335 |
1341 ViewportDescription m_viewportDescription; | 1336 ViewportDescription m_viewportDescription; |
1342 ViewportDescription m_legacyViewportDescription; | 1337 ViewportDescription m_legacyViewportDescription; |
1343 Length m_viewportDefaultMinWidth; | 1338 Length m_viewportDefaultMinWidth; |
1344 | 1339 |
1345 ReferrerPolicy m_referrerPolicy; | 1340 ReferrerPolicy m_referrerPolicy; |
1346 | 1341 |
1347 bool m_directionSetOnDocumentElement; | |
1348 bool m_writingModeSetOnDocumentElement; | |
1349 DocumentTiming m_documentTiming; | 1342 DocumentTiming m_documentTiming; |
1350 RefPtrWillBeMember<MediaQueryMatcher> m_mediaQueryMatcher; | 1343 RefPtrWillBeMember<MediaQueryMatcher> m_mediaQueryMatcher; |
1351 bool m_writeRecursionIsTooDeep; | 1344 bool m_writeRecursionIsTooDeep; |
1352 unsigned m_writeRecursionDepth; | 1345 unsigned m_writeRecursionDepth; |
1353 | 1346 |
1354 RefPtrWillBeMember<ScriptedAnimationController> m_scriptedAnimationControlle
r; | 1347 RefPtrWillBeMember<ScriptedAnimationController> m_scriptedAnimationControlle
r; |
1355 OwnPtr<MainThreadTaskRunner> m_taskRunner; | 1348 OwnPtr<MainThreadTaskRunner> m_taskRunner; |
1356 OwnPtrWillBeMember<TextAutosizer> m_textAutosizer; | 1349 OwnPtrWillBeMember<TextAutosizer> m_textAutosizer; |
1357 | 1350 |
1358 RefPtrWillBeMember<CustomElementRegistrationContext> m_registrationContext; | 1351 RefPtrWillBeMember<CustomElementRegistrationContext> m_registrationContext; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1428 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1421 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1429 | 1422 |
1430 } // namespace blink | 1423 } // namespace blink |
1431 | 1424 |
1432 #ifndef NDEBUG | 1425 #ifndef NDEBUG |
1433 // Outside the WebCore namespace for ease of invocation from gdb. | 1426 // Outside the WebCore namespace for ease of invocation from gdb. |
1434 void showLiveDocumentInstances(); | 1427 void showLiveDocumentInstances(); |
1435 #endif | 1428 #endif |
1436 | 1429 |
1437 #endif // Document_h | 1430 #endif // Document_h |
OLD | NEW |