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

Unified Diff: sky/engine/core/rendering/RenderObject.h

Issue 844023003: Delete InvalidationReason. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/rendering/RenderBox.cpp ('k') | sky/engine/core/rendering/RenderObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderObject.h
diff --git a/sky/engine/core/rendering/RenderObject.h b/sky/engine/core/rendering/RenderObject.h
index b7c4a877f8ba4b3f018429184e07c90dba8f6336..64b5f6487fc787a5a6c89ecd9ac3ea2199c9d6d4 100644
--- a/sky/engine/core/rendering/RenderObject.h
+++ b/sky/engine/core/rendering/RenderObject.h
@@ -106,20 +106,6 @@ enum MapCoordinatesMode {
};
typedef unsigned MapCoordinatesFlags;
-enum InvalidationReason {
- InvalidationNone,
- InvalidationIncremental,
- InvalidationFull,
- InvalidationBorderBoxChange,
- InvalidationBoundsChange,
- InvalidationLocationChange,
- InvalidationScroll,
- InvalidationSelection,
- InvalidationLayer,
- InvalidationPaint,
- InvalidationPaintRectangle
-};
-
const int caretWidth = 1;
struct AnnotatedRegionValue {
@@ -634,9 +620,6 @@ public:
// Walk the tree after layout issuing paint invalidations for renderers that have changed or moved, updating bounds that have changed, and clearing paint invalidation state.
virtual void invalidateTreeIfNeeded(const PaintInvalidationState&);
- virtual void invalidatePaintForOverflow();
- void invalidatePaintForOverflowIfNeeded();
-
bool checkForPaintInvalidation() const;
// Returns the rect that should have paint invalidated whenever this object changes. The rect is in the view's
@@ -830,10 +813,6 @@ protected:
void setDocumentForAnonymous(Document* document) { ASSERT(isAnonymous()); m_node = document; }
- virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModelObject& paintInvalidationContainer,
- const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInvalidationContainer,
- const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInvalidationContainer);
-
#if ENABLE(ASSERT)
virtual bool paintInvalidationStateIsDirty() const
{
@@ -852,7 +831,6 @@ private:
#if ENABLE(ASSERT)
void checkBlockPositionedObjectsNeedLayout();
#endif
- const char* invalidationReasonToString(InvalidationReason) const;
// FIXME(sky): This method is just to avoid copy-paste.
// Merge container into containingBlock and then get rid of this method.
« no previous file with comments | « sky/engine/core/rendering/RenderBox.cpp ('k') | sky/engine/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698