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

Unified Diff: Source/core/rendering/svg/RenderSVGShape.h

Issue 62943002: Implement SVGGeometryElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update copyrights Created 7 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: Source/core/rendering/svg/RenderSVGShape.h
diff --git a/Source/core/rendering/svg/RenderSVGShape.h b/Source/core/rendering/svg/RenderSVGShape.h
index 4cd4fb7a0ff6482f190aca6cd5f86ed7453f8d97..c3cbdc23101940fdf70a1fa6916fa6d3c01fd0f9 100644
--- a/Source/core/rendering/svg/RenderSVGShape.h
+++ b/Source/core/rendering/svg/RenderSVGShape.h
@@ -37,6 +37,7 @@ namespace WebCore {
class FloatPoint;
class GraphicsContextStateSaver;
+class PointerEventsHitRules;
class RenderSVGContainer;
class RenderSVGPath;
class RenderSVGResource;
@@ -78,6 +79,8 @@ protected:
FloatRect m_strokeBoundingBox;
private:
+ friend class SVGGeometryElement;
krit 2013/11/09 02:20:18 The new IDL was designed to avoid things like that
rwlbuis 2013/11/11 16:54:58 I just did not want to expose nodeAtFloatPointInte
+
// Hit-detection separated for the fill and the stroke
bool fillContains(const FloatPoint&, bool requiresFill = true, const WindRule fillRule = RULE_NONZERO);
bool strokeContains(const FloatPoint&, bool requiresStroke = true);
@@ -94,6 +97,7 @@ private:
virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE FINAL;
virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint& pointInParent, HitTestAction) OVERRIDE FINAL;
+ bool nodeAtFloatPointInternal(const HitTestRequest&, const FloatPoint&, PointerEventsHitRules);
virtual FloatRect objectBoundingBox() const OVERRIDE FINAL { return m_fillBoundingBox; }
virtual FloatRect strokeBoundingBox() const OVERRIDE FINAL { return m_strokeBoundingBox; }

Powered by Google App Engine
This is Rietveld 408576698