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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
464 bool gotoAnchorNeededAfterStylesheetsLoad() { | 464 bool gotoAnchorNeededAfterStylesheetsLoad() { |
465 return m_gotoAnchorNeededAfterStylesheetsLoad; | 465 return m_gotoAnchorNeededAfterStylesheetsLoad; |
466 } | 466 } |
467 void setGotoAnchorNeededAfterStylesheetsLoad(bool b) { | 467 void setGotoAnchorNeededAfterStylesheetsLoad(bool b) { |
468 m_gotoAnchorNeededAfterStylesheetsLoad = b; | 468 m_gotoAnchorNeededAfterStylesheetsLoad = b; |
469 } | 469 } |
470 | 470 |
471 void scheduleUseShadowTreeUpdate(SVGUseElement&); | 471 void scheduleUseShadowTreeUpdate(SVGUseElement&); |
472 void unscheduleUseShadowTreeUpdate(SVGUseElement&); | 472 void unscheduleUseShadowTreeUpdate(SVGUseElement&); |
473 | 473 |
474 // FIXME: SVG filters should change to store the filter on the ComputedStyle | |
475 // instead of the LayoutObject so we can get rid of this hack. | |
476 void scheduleSVGFilterLayerUpdateHack(Element&); | |
pdr.
2016/11/02 06:35:22
Woooooooooooooohoooooooooooooo!!!
| |
477 void unscheduleSVGFilterLayerUpdateHack(Element&); | |
478 | |
479 void evaluateMediaQueryList(); | 474 void evaluateMediaQueryList(); |
480 | 475 |
481 FormController& formController(); | 476 FormController& formController(); |
482 DocumentState* formElementsState() const; | 477 DocumentState* formElementsState() const; |
483 void setStateForNewFormElements(const Vector<String>&); | 478 void setStateForNewFormElements(const Vector<String>&); |
484 | 479 |
485 FrameView* view() const; // can be null | 480 FrameView* view() const; // can be null |
486 LocalFrame* frame() const { return m_frame; } // can be null | 481 LocalFrame* frame() const { return m_frame; } // can be null |
487 FrameHost* frameHost() const; // can be null | 482 FrameHost* frameHost() const; // can be null |
488 Page* page() const; // can be null | 483 Page* page() const; // can be null |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1226 void setHasViewportUnits() { m_hasViewportUnits = true; } | 1221 void setHasViewportUnits() { m_hasViewportUnits = true; } |
1227 bool hasViewportUnits() const { return m_hasViewportUnits; } | 1222 bool hasViewportUnits() const { return m_hasViewportUnits; } |
1228 void notifyResizeForViewportUnits(); | 1223 void notifyResizeForViewportUnits(); |
1229 | 1224 |
1230 void updateStyleInvalidationIfNeeded(); | 1225 void updateStyleInvalidationIfNeeded(); |
1231 | 1226 |
1232 DECLARE_VIRTUAL_TRACE(); | 1227 DECLARE_VIRTUAL_TRACE(); |
1233 | 1228 |
1234 DECLARE_VIRTUAL_TRACE_WRAPPERS(); | 1229 DECLARE_VIRTUAL_TRACE_WRAPPERS(); |
1235 | 1230 |
1236 bool hasSVGFilterElementsRequiringLayerUpdate() const { | |
1237 return m_layerUpdateSVGFilterElements.size(); | |
1238 } | |
1239 | |
1240 AtomicString convertLocalName(const AtomicString&); | 1231 AtomicString convertLocalName(const AtomicString&); |
1241 | 1232 |
1242 void platformColorsChanged(); | 1233 void platformColorsChanged(); |
1243 | 1234 |
1244 DOMTimerCoordinator* timers() final; | 1235 DOMTimerCoordinator* timers() final; |
1245 | 1236 |
1246 v8::Local<v8::Object> wrap(v8::Isolate*, | 1237 v8::Local<v8::Object> wrap(v8::Isolate*, |
1247 v8::Local<v8::Object> creationContext) override; | 1238 v8::Local<v8::Object> creationContext) override; |
1248 v8::Local<v8::Object> associateWithWrapper( | 1239 v8::Local<v8::Object> associateWithWrapper( |
1249 v8::Isolate*, | 1240 v8::Isolate*, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1349 return m_lifecycle.state() == DocumentLifecycle::VisualUpdatePending; | 1340 return m_lifecycle.state() == DocumentLifecycle::VisualUpdatePending; |
1350 } | 1341 } |
1351 | 1342 |
1352 bool shouldScheduleLayoutTreeUpdate() const; | 1343 bool shouldScheduleLayoutTreeUpdate() const; |
1353 void scheduleLayoutTreeUpdate(); | 1344 void scheduleLayoutTreeUpdate(); |
1354 | 1345 |
1355 bool needsFullLayoutTreeUpdate() const; | 1346 bool needsFullLayoutTreeUpdate() const; |
1356 | 1347 |
1357 void inheritHtmlAndBodyElementStyles(StyleRecalcChange); | 1348 void inheritHtmlAndBodyElementStyles(StyleRecalcChange); |
1358 | 1349 |
1359 bool dirtyElementsForLayerUpdate(); | |
1360 | |
1361 void updateUseShadowTreesIfNeeded(); | 1350 void updateUseShadowTreesIfNeeded(); |
1362 void evaluateMediaQueryListIfNeeded(); | 1351 void evaluateMediaQueryListIfNeeded(); |
1363 | 1352 |
1364 void updateStyle(); | 1353 void updateStyle(); |
1365 void notifyLayoutTreeOfSubtreeChanges(); | 1354 void notifyLayoutTreeOfSubtreeChanges(); |
1366 | 1355 |
1367 void detachParser(); | 1356 void detachParser(); |
1368 | 1357 |
1369 void beginLifecycleUpdatesIfRenderingReady(); | 1358 void beginLifecycleUpdatesIfRenderingReady(); |
1370 | 1359 |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1631 | 1620 |
1632 Member<DocumentTimeline> m_timeline; | 1621 Member<DocumentTimeline> m_timeline; |
1633 Member<CompositorPendingAnimations> m_compositorPendingAnimations; | 1622 Member<CompositorPendingAnimations> m_compositorPendingAnimations; |
1634 | 1623 |
1635 Member<Document> m_templateDocument; | 1624 Member<Document> m_templateDocument; |
1636 Member<Document> m_templateDocumentHost; | 1625 Member<Document> m_templateDocumentHost; |
1637 | 1626 |
1638 TaskRunnerTimer<Document> m_didAssociateFormControlsTimer; | 1627 TaskRunnerTimer<Document> m_didAssociateFormControlsTimer; |
1639 | 1628 |
1640 HeapHashSet<Member<SVGUseElement>> m_useElementsNeedingUpdate; | 1629 HeapHashSet<Member<SVGUseElement>> m_useElementsNeedingUpdate; |
1641 HeapHashSet<Member<Element>> m_layerUpdateSVGFilterElements; | |
1642 | 1630 |
1643 DOMTimerCoordinator m_timers; | 1631 DOMTimerCoordinator m_timers; |
1644 | 1632 |
1645 bool m_hasViewportUnits; | 1633 bool m_hasViewportUnits; |
1646 | 1634 |
1647 ParserSynchronizationPolicy m_parserSyncPolicy; | 1635 ParserSynchronizationPolicy m_parserSyncPolicy; |
1648 | 1636 |
1649 HostsUsingFeatures::Value m_hostsUsingFeaturesValue; | 1637 HostsUsingFeatures::Value m_hostsUsingFeaturesValue; |
1650 | 1638 |
1651 ClientHintsPreferences m_clientHintsPreferences; | 1639 ClientHintsPreferences m_clientHintsPreferences; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1712 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1700 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1713 | 1701 |
1714 } // namespace blink | 1702 } // namespace blink |
1715 | 1703 |
1716 #ifndef NDEBUG | 1704 #ifndef NDEBUG |
1717 // Outside the WebCore namespace for ease of invocation from gdb. | 1705 // Outside the WebCore namespace for ease of invocation from gdb. |
1718 CORE_EXPORT void showLiveDocumentInstances(); | 1706 CORE_EXPORT void showLiveDocumentInstances(); |
1719 #endif | 1707 #endif |
1720 | 1708 |
1721 #endif // Document_h | 1709 #endif // Document_h |
OLD | NEW |