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

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: Fix lifetime issue with Internals::m_currentTouchEventRects 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 8016e8ea4712766ccf8d1e1736fc42a38136acb2..b0502e5059ee49b36af6120a2e0293fc4d987684 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