| 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&); | 
|  | 477   void unscheduleSVGFilterLayerUpdateHack(Element&); | 
|  | 478 | 
| 474   void evaluateMediaQueryList(); | 479   void evaluateMediaQueryList(); | 
| 475 | 480 | 
| 476   FormController& formController(); | 481   FormController& formController(); | 
| 477   DocumentState* formElementsState() const; | 482   DocumentState* formElementsState() const; | 
| 478   void setStateForNewFormElements(const Vector<String>&); | 483   void setStateForNewFormElements(const Vector<String>&); | 
| 479 | 484 | 
| 480   FrameView* view() const;                       // can be null | 485   FrameView* view() const;                       // can be null | 
| 481   LocalFrame* frame() const { return m_frame; }  // can be null | 486   LocalFrame* frame() const { return m_frame; }  // can be null | 
| 482   FrameHost* frameHost() const;                  // can be null | 487   FrameHost* frameHost() const;                  // can be null | 
| 483   Page* page() const;                            // can be null | 488   Page* page() const;                            // can be null | 
| (...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1223   void setHasViewportUnits() { m_hasViewportUnits = true; } | 1228   void setHasViewportUnits() { m_hasViewportUnits = true; } | 
| 1224   bool hasViewportUnits() const { return m_hasViewportUnits; } | 1229   bool hasViewportUnits() const { return m_hasViewportUnits; } | 
| 1225   void notifyResizeForViewportUnits(); | 1230   void notifyResizeForViewportUnits(); | 
| 1226 | 1231 | 
| 1227   void updateStyleInvalidationIfNeeded(); | 1232   void updateStyleInvalidationIfNeeded(); | 
| 1228 | 1233 | 
| 1229   DECLARE_VIRTUAL_TRACE(); | 1234   DECLARE_VIRTUAL_TRACE(); | 
| 1230 | 1235 | 
| 1231   DECLARE_VIRTUAL_TRACE_WRAPPERS(); | 1236   DECLARE_VIRTUAL_TRACE_WRAPPERS(); | 
| 1232 | 1237 | 
|  | 1238   bool hasSVGFilterElementsRequiringLayerUpdate() const { | 
|  | 1239     return m_layerUpdateSVGFilterElements.size(); | 
|  | 1240   } | 
|  | 1241 | 
| 1233   AtomicString convertLocalName(const AtomicString&); | 1242   AtomicString convertLocalName(const AtomicString&); | 
| 1234 | 1243 | 
| 1235   void platformColorsChanged(); | 1244   void platformColorsChanged(); | 
| 1236 | 1245 | 
| 1237   DOMTimerCoordinator* timers() final; | 1246   DOMTimerCoordinator* timers() final; | 
| 1238 | 1247 | 
| 1239   v8::Local<v8::Object> wrap(v8::Isolate*, | 1248   v8::Local<v8::Object> wrap(v8::Isolate*, | 
| 1240                              v8::Local<v8::Object> creationContext) override; | 1249                              v8::Local<v8::Object> creationContext) override; | 
| 1241   v8::Local<v8::Object> associateWithWrapper( | 1250   v8::Local<v8::Object> associateWithWrapper( | 
| 1242       v8::Isolate*, | 1251       v8::Isolate*, | 
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1349     return m_lifecycle.state() == DocumentLifecycle::VisualUpdatePending; | 1358     return m_lifecycle.state() == DocumentLifecycle::VisualUpdatePending; | 
| 1350   } | 1359   } | 
| 1351 | 1360 | 
| 1352   bool shouldScheduleLayoutTreeUpdate() const; | 1361   bool shouldScheduleLayoutTreeUpdate() const; | 
| 1353   void scheduleLayoutTreeUpdate(); | 1362   void scheduleLayoutTreeUpdate(); | 
| 1354 | 1363 | 
| 1355   bool needsFullLayoutTreeUpdate() const; | 1364   bool needsFullLayoutTreeUpdate() const; | 
| 1356 | 1365 | 
| 1357   void inheritHtmlAndBodyElementStyles(StyleRecalcChange); | 1366   void inheritHtmlAndBodyElementStyles(StyleRecalcChange); | 
| 1358 | 1367 | 
|  | 1368   bool dirtyElementsForLayerUpdate(); | 
|  | 1369 | 
| 1359   void updateUseShadowTreesIfNeeded(); | 1370   void updateUseShadowTreesIfNeeded(); | 
| 1360   void evaluateMediaQueryListIfNeeded(); | 1371   void evaluateMediaQueryListIfNeeded(); | 
| 1361 | 1372 | 
| 1362   void updateStyle(); | 1373   void updateStyle(); | 
| 1363   void notifyLayoutTreeOfSubtreeChanges(); | 1374   void notifyLayoutTreeOfSubtreeChanges(); | 
| 1364 | 1375 | 
| 1365   void detachParser(); | 1376   void detachParser(); | 
| 1366 | 1377 | 
| 1367   void beginLifecycleUpdatesIfRenderingReady(); | 1378   void beginLifecycleUpdatesIfRenderingReady(); | 
| 1368 | 1379 | 
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1629 | 1640 | 
| 1630   Member<DocumentTimeline> m_timeline; | 1641   Member<DocumentTimeline> m_timeline; | 
| 1631   Member<CompositorPendingAnimations> m_compositorPendingAnimations; | 1642   Member<CompositorPendingAnimations> m_compositorPendingAnimations; | 
| 1632 | 1643 | 
| 1633   Member<Document> m_templateDocument; | 1644   Member<Document> m_templateDocument; | 
| 1634   Member<Document> m_templateDocumentHost; | 1645   Member<Document> m_templateDocumentHost; | 
| 1635 | 1646 | 
| 1636   TaskRunnerTimer<Document> m_didAssociateFormControlsTimer; | 1647   TaskRunnerTimer<Document> m_didAssociateFormControlsTimer; | 
| 1637 | 1648 | 
| 1638   HeapHashSet<Member<SVGUseElement>> m_useElementsNeedingUpdate; | 1649   HeapHashSet<Member<SVGUseElement>> m_useElementsNeedingUpdate; | 
|  | 1650   HeapHashSet<Member<Element>> m_layerUpdateSVGFilterElements; | 
| 1639 | 1651 | 
| 1640   DOMTimerCoordinator m_timers; | 1652   DOMTimerCoordinator m_timers; | 
| 1641 | 1653 | 
| 1642   bool m_hasViewportUnits; | 1654   bool m_hasViewportUnits; | 
| 1643 | 1655 | 
| 1644   ParserSynchronizationPolicy m_parserSyncPolicy; | 1656   ParserSynchronizationPolicy m_parserSyncPolicy; | 
| 1645 | 1657 | 
| 1646   HostsUsingFeatures::Value m_hostsUsingFeaturesValue; | 1658   HostsUsingFeatures::Value m_hostsUsingFeaturesValue; | 
| 1647 | 1659 | 
| 1648   ClientHintsPreferences m_clientHintsPreferences; | 1660   ClientHintsPreferences m_clientHintsPreferences; | 
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1711 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1723 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 
| 1712 | 1724 | 
| 1713 }  // namespace blink | 1725 }  // namespace blink | 
| 1714 | 1726 | 
| 1715 #ifndef NDEBUG | 1727 #ifndef NDEBUG | 
| 1716 // Outside the WebCore namespace for ease of invocation from gdb. | 1728 // Outside the WebCore namespace for ease of invocation from gdb. | 
| 1717 CORE_EXPORT void showLiveDocumentInstances(); | 1729 CORE_EXPORT void showLiveDocumentInstances(); | 
| 1718 #endif | 1730 #endif | 
| 1719 | 1731 | 
| 1720 #endif  // Document_h | 1732 #endif  // Document_h | 
| OLD | NEW | 
|---|