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

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

Issue 713073003: remove updateTouchEventTargetRectsIfNeeded (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: moar Created 6 years, 1 month 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: sky/engine/core/rendering/RenderObject.h
diff --git a/sky/engine/core/rendering/RenderObject.h b/sky/engine/core/rendering/RenderObject.h
index 20ae860aad4aa972fbb296a234547c8eb078588d..1cbbc93a1491b18f181f93ffccbb052b8968386c 100644
--- a/sky/engine/core/rendering/RenderObject.h
+++ b/sky/engine/core/rendering/RenderObject.h
@@ -821,9 +821,6 @@ public:
virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& /* additionalOffset */, const RenderLayerModelObject* /* paintContainer */ = 0) const { };
- // Compute a list of hit-test rectangles per layer rooted at this renderer.
- virtual void computeLayerHitTestRects(LayerHitTestRects&) const;
-
RespectImageOrientationEnum shouldRespectImageOrientation() const;
bool isRelayoutBoundaryForInspector() const;
@@ -931,20 +928,6 @@ protected:
void setDocumentForAnonymous(Document* document) { ASSERT(isAnonymous()); m_node = document; }
- // Add hit-test rects for the render tree rooted at this node to the provided collection on a
- // per-RenderLayer basis.
- // currentLayer must be the enclosing layer, and layerOffset is the current offset within
- // this layer. Subclass implementations will add any offset for this renderer within it's
- // container, so callers should provide only the offset of the container within it's layer.
- // containerRect is a rect that has already been added for the currentLayer which is likely to
- // be a container for child elements. Any rect wholly contained by containerRect can be
- // skipped.
- virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const;
-
- // Add hit-test rects for this renderer only to the provided list. layerOffset is the offset
- // of this renderer within the current layer that should be used for each result.
- virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const { };
-
virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModelObject& paintInvalidationContainer,
const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInvalidationContainer,
const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInvalidationContainer);

Powered by Google App Engine
This is Rietveld 408576698