| 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 | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
| 7 * rights reserved. | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 class VisitedLinkState; | 175 class VisitedLinkState; |
| 176 enum class SelectionBehaviorOnFocus; | 176 enum class SelectionBehaviorOnFocus; |
| 177 struct AnnotatedRegionValue; | 177 struct AnnotatedRegionValue; |
| 178 struct FocusParams; | 178 struct FocusParams; |
| 179 struct IconURL; | 179 struct IconURL; |
| 180 | 180 |
| 181 using MouseEventWithHitTestResults = | 181 using MouseEventWithHitTestResults = |
| 182 EventWithHitTestResults<PlatformMouseEvent>; | 182 EventWithHitTestResults<PlatformMouseEvent>; |
| 183 using ExceptionCode = int; | 183 using ExceptionCode = int; |
| 184 | 184 |
| 185 enum StyleResolverUpdateMode { | |
| 186 // Discards the StyleResolver and rebuilds it. | |
| 187 FullStyleUpdate, | |
| 188 // Attempts to use StyleInvalidationAnalysis to avoid discarding the entire | |
| 189 // StyleResolver. | |
| 190 AnalyzedStyleUpdate | |
| 191 }; | |
| 192 | |
| 193 enum NodeListInvalidationType { | 185 enum NodeListInvalidationType { |
| 194 DoNotInvalidateOnAttributeChanges = 0, | 186 DoNotInvalidateOnAttributeChanges = 0, |
| 195 InvalidateOnClassAttrChange, | 187 InvalidateOnClassAttrChange, |
| 196 InvalidateOnIdNameAttrChange, | 188 InvalidateOnIdNameAttrChange, |
| 197 InvalidateOnNameAttrChange, | 189 InvalidateOnNameAttrChange, |
| 198 InvalidateOnForAttrChange, | 190 InvalidateOnForAttrChange, |
| 199 InvalidateForFormControls, | 191 InvalidateForFormControls, |
| 200 InvalidateOnHRefAttrChange, | 192 InvalidateOnHRefAttrChange, |
| 201 InvalidateOnAnyAttrChange, | 193 InvalidateOnAnyAttrChange, |
| 202 }; | 194 }; |
| (...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1226 enum HttpRefreshType { HttpRefreshFromHeader, HttpRefreshFromMetaTag }; | 1218 enum HttpRefreshType { HttpRefreshFromHeader, HttpRefreshFromMetaTag }; |
| 1227 void maybeHandleHttpRefresh(const String&, HttpRefreshType); | 1219 void maybeHandleHttpRefresh(const String&, HttpRefreshType); |
| 1228 | 1220 |
| 1229 void updateSecurityOrigin(PassRefPtr<SecurityOrigin>); | 1221 void updateSecurityOrigin(PassRefPtr<SecurityOrigin>); |
| 1230 | 1222 |
| 1231 void setHasViewportUnits() { m_hasViewportUnits = true; } | 1223 void setHasViewportUnits() { m_hasViewportUnits = true; } |
| 1232 bool hasViewportUnits() const { return m_hasViewportUnits; } | 1224 bool hasViewportUnits() const { return m_hasViewportUnits; } |
| 1233 void notifyResizeForViewportUnits(); | 1225 void notifyResizeForViewportUnits(); |
| 1234 | 1226 |
| 1235 void updateActiveStyle(); | 1227 void updateActiveStyle(); |
| 1236 void updateStyleInvalidationIfNeeded(); | |
| 1237 | 1228 |
| 1238 DECLARE_VIRTUAL_TRACE(); | 1229 DECLARE_VIRTUAL_TRACE(); |
| 1239 | 1230 |
| 1240 DECLARE_VIRTUAL_TRACE_WRAPPERS(); | 1231 DECLARE_VIRTUAL_TRACE_WRAPPERS(); |
| 1241 | 1232 |
| 1242 AtomicString convertLocalName(const AtomicString&); | 1233 AtomicString convertLocalName(const AtomicString&); |
| 1243 | 1234 |
| 1244 void platformColorsChanged(); | 1235 void platformColorsChanged(); |
| 1245 | 1236 |
| 1246 DOMTimerCoordinator* timers() final; | 1237 DOMTimerCoordinator* timers() final; |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1360 bool shouldScheduleLayoutTreeUpdate() const; | 1351 bool shouldScheduleLayoutTreeUpdate() const; |
| 1361 void scheduleLayoutTreeUpdate(); | 1352 void scheduleLayoutTreeUpdate(); |
| 1362 | 1353 |
| 1363 bool needsFullLayoutTreeUpdate() const; | 1354 bool needsFullLayoutTreeUpdate() const; |
| 1364 | 1355 |
| 1365 void inheritHtmlAndBodyElementStyles(StyleRecalcChange); | 1356 void inheritHtmlAndBodyElementStyles(StyleRecalcChange); |
| 1366 | 1357 |
| 1367 void updateUseShadowTreesIfNeeded(); | 1358 void updateUseShadowTreesIfNeeded(); |
| 1368 void evaluateMediaQueryListIfNeeded(); | 1359 void evaluateMediaQueryListIfNeeded(); |
| 1369 | 1360 |
| 1361 void updateStyleInvalidationIfNeeded(); |
| 1370 void updateStyle(); | 1362 void updateStyle(); |
| 1371 void notifyLayoutTreeOfSubtreeChanges(); | 1363 void notifyLayoutTreeOfSubtreeChanges(); |
| 1372 | 1364 |
| 1373 void detachParser(); | 1365 void detachParser(); |
| 1374 | 1366 |
| 1375 void beginLifecycleUpdatesIfRenderingReady(); | 1367 void beginLifecycleUpdatesIfRenderingReady(); |
| 1376 | 1368 |
| 1377 bool isDocument() const final { return true; } | 1369 bool isDocument() const final { return true; } |
| 1378 | 1370 |
| 1379 void childrenChanged(const ChildrenChange&) override; | 1371 void childrenChanged(const ChildrenChange&) override; |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1713 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1722 | 1714 |
| 1723 } // namespace blink | 1715 } // namespace blink |
| 1724 | 1716 |
| 1725 #ifndef NDEBUG | 1717 #ifndef NDEBUG |
| 1726 // Outside the WebCore namespace for ease of invocation from gdb. | 1718 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1727 CORE_EXPORT void showLiveDocumentInstances(); | 1719 CORE_EXPORT void showLiveDocumentInstances(); |
| 1728 #endif | 1720 #endif |
| 1729 | 1721 |
| 1730 #endif // Document_h | 1722 #endif // Document_h |
| OLD | NEW |