Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Unified Diff: Source/core/dom/Document.h

Issue 143983007: Remove PostAttachCallbacks and replace with something more specialized (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index fd6775c0781c13bbb5b6451610b2ad4e0ae568d7..2b9bd5f6f648136d2724469e17352e5caf6e15d1 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -439,6 +439,12 @@ public:
void scheduleUseShadowTreeUpdate(SVGUseElement&);
void unscheduleUseShadowTreeUpdate(SVGUseElement&);
+ // FIXME: This should be eliminated and elements that use it should be made to
+ // always have a layer so they don't need to go about creating one from reasons
+ // external to style.
+ void scheduleLayerUpdate(Element&);
+ void unscheduleLayerUpdate(Element&);
ojan 2014/03/24 19:39:15 The overloading of layer to mean RenderLayer and G
+
void evaluateMediaQueryList();
FormController& formController();
@@ -1076,6 +1082,7 @@ private:
void inheritHtmlAndBodyElementStyles(StyleRecalcChange);
+ bool dirtyElementsForLayerUpdate();
void updateDistributionIfNeeded();
void updateUseShadowTreesIfNeeded();
@@ -1348,6 +1355,7 @@ private:
HashSet<RefPtr<Element> > m_associatedFormControls;
HashSet<SVGUseElement*> m_useElementsNeedingUpdate;
+ HashSet<Element*> m_layerUpdateElements;
bool m_hasViewportUnits;

Powered by Google App Engine
This is Rietveld 408576698