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

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

Issue 143323014: *** DO NOT LAND *** Attempt to understand Regions complexity Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Source/core/rendering/FlowThreadController.cpp ('k') | Source/core/rendering/HitTestLocation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/HitTestLocation.h
diff --git a/Source/core/rendering/HitTestLocation.h b/Source/core/rendering/HitTestLocation.h
index 7edcd8e03bc57a46854bfa47f719439b11cb2d39..32d53718e3500e113b97d9d6fc63baaeb115b230 100644
--- a/Source/core/rendering/HitTestLocation.h
+++ b/Source/core/rendering/HitTestLocation.h
@@ -38,7 +38,6 @@ class Frame;
class Image;
class KURL;
class Node;
-class RenderRegion;
class Scrollbar;
class HitTestLocation {
@@ -50,8 +49,8 @@ public:
HitTestLocation(const FloatPoint&, const FloatQuad&);
// Pass non-zero padding values to perform a rect-based hit test.
HitTestLocation(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding);
- // Make a copy the HitTestLocation in a new region by applying given offset to internal point and area.
- HitTestLocation(const HitTestLocation&, const LayoutSize& offset, RenderRegion* = 0);
+ // FIXME: is copy + offset still used?
+ HitTestLocation(const HitTestLocation&, const LayoutSize& offset);
HitTestLocation(const HitTestLocation&);
~HitTestLocation();
HitTestLocation& operator=(const HitTestLocation&);
@@ -59,8 +58,6 @@ public:
const LayoutPoint& point() const { return m_point; }
IntPoint roundedPoint() const { return roundedIntPoint(m_point); }
- RenderRegion* region() const { return m_region; }
-
// Rect-based hit test related methods.
bool isRectBasedTest() const { return m_isRectBased; }
bool isRectilinear() const { return m_isRectilinear; }
@@ -91,8 +88,6 @@ private:
FloatPoint m_transformedPoint;
FloatQuad m_transformedRect;
- RenderRegion* m_region; // The region we're inside.
-
bool m_isRectBased;
bool m_isRectilinear;
};
« no previous file with comments | « Source/core/rendering/FlowThreadController.cpp ('k') | Source/core/rendering/HitTestLocation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698