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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 BeforeUnloadEventCompleted, | 901 BeforeUnloadEventCompleted, |
902 PageHideInProgress, | 902 PageHideInProgress, |
903 UnloadEventInProgress, | 903 UnloadEventInProgress, |
904 UnloadEventHandled | 904 UnloadEventHandled |
905 }; | 905 }; |
906 bool loadEventStillNeeded() const { return m_loadEventProgress == LoadEventN
otRun; } | 906 bool loadEventStillNeeded() const { return m_loadEventProgress == LoadEventN
otRun; } |
907 bool processingLoadEvent() const { return m_loadEventProgress == LoadEventIn
Progress; } | 907 bool processingLoadEvent() const { return m_loadEventProgress == LoadEventIn
Progress; } |
908 bool loadEventFinished() const { return m_loadEventProgress >= LoadEventComp
leted; } | 908 bool loadEventFinished() const { return m_loadEventProgress >= LoadEventComp
leted; } |
909 bool unloadStarted() const { return m_loadEventProgress >= PageHideInProgres
s; } | 909 bool unloadStarted() const { return m_loadEventProgress >= PageHideInProgres
s; } |
910 bool processingBeforeUnload() const { return m_loadEventProgress == BeforeUn
loadEventInProgress; } | 910 bool processingBeforeUnload() const { return m_loadEventProgress == BeforeUn
loadEventInProgress; } |
911 void suppressLoadEvent() { m_loadEventProgress = LoadEventCompleted; } | 911 void suppressLoadEvent(); |
912 | 912 |
913 void setContainsPlugins() { m_containsPlugins = true; } | 913 void setContainsPlugins() { m_containsPlugins = true; } |
914 bool containsPlugins() const { return m_containsPlugins; } | 914 bool containsPlugins() const { return m_containsPlugins; } |
915 | 915 |
916 virtual bool isContextThread() const override final; | 916 virtual bool isContextThread() const override final; |
917 virtual bool isJSExecutionForbidden() const override final { return false; } | 917 virtual bool isJSExecutionForbidden() const override final { return false; } |
918 | 918 |
919 bool containsValidityStyleRules() const { return m_containsValidityStyleRule
s; } | 919 bool containsValidityStyleRules() const { return m_containsValidityStyleRule
s; } |
920 void setContainsValidityStyleRules() { m_containsValidityStyleRules = true;
} | 920 void setContainsValidityStyleRules() { m_containsValidityStyleRules = true;
} |
921 | 921 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
974 | 974 |
975 bool haveImportsLoaded() const; | 975 bool haveImportsLoaded() const; |
976 void didLoadAllImports(); | 976 void didLoadAllImports(); |
977 | 977 |
978 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje
ct&); | 978 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje
ct&); |
979 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject&); | 979 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject&); |
980 | 980 |
981 bool hasActiveParser(); | 981 bool hasActiveParser(); |
982 unsigned activeParserCount() { return m_activeParserCount; } | 982 unsigned activeParserCount() { return m_activeParserCount; } |
983 void incrementActiveParserCount() { ++m_activeParserCount; } | 983 void incrementActiveParserCount() { ++m_activeParserCount; } |
984 void decrementActiveParserCount(); | 984 void decrementActiveParserCount() { --m_activeParserCount; } |
985 | 985 |
986 void setContextFeatures(ContextFeatures&); | 986 void setContextFeatures(ContextFeatures&); |
987 ContextFeatures& contextFeatures() const { return *m_contextFeatures; } | 987 ContextFeatures& contextFeatures() const { return *m_contextFeatures; } |
988 | 988 |
989 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); } | 989 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); } |
990 | 990 |
991 void didLoadAllScriptBlockingResources(); | 991 void didLoadAllScriptBlockingResources(); |
992 void didRemoveAllPendingStylesheet(); | 992 void didRemoveAllPendingStylesheet(); |
993 void clearStyleResolver(); | 993 void clearStyleResolver(); |
994 | 994 |
(...skipping 431 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 |