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

Unified Diff: Source/core/rendering/RenderView.h

Issue 17471008: Rework compositor touch hit testing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Various fixes and test additions Created 7 years, 5 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/rendering/RenderView.h
diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h
index 340a3e294297adac9791d742c220f29c834ad45b..e09de053b1984e1bbf13a5352bfe477b0c800637 100644
--- a/Source/core/rendering/RenderView.h
+++ b/Source/core/rendering/RenderView.h
@@ -37,6 +37,9 @@ class RenderLazyBlock;
class RenderQuote;
class RenderWidget;
+// The root of the render tree, corresponding to the CSS initial containing block.
+// It's dimensions match that of the viewport, and it is always at position (0,0)
+// relative to the document (and so isn't necessarily in view).
class RenderView FINAL : public RenderBlock {
public:
explicit RenderView(Document*);
@@ -203,6 +206,7 @@ protected:
virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE;
virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) const;
virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE;
+ virtual void computeOwnHitTestRects(Vector<IntRect>&, const LayoutPoint& layerOffset) const OVERRIDE;
private:
bool initializeLayoutState(LayoutState&);

Powered by Google App Engine
This is Rietveld 408576698