Skip to content

Commit

Permalink
Remove friendship from RenderLayerScrollableArea
Browse files Browse the repository at this point in the history
It's time to strenghen the API between RenderLayer
and RenderLayerScrollableArea. This is the easy
friendship to break.

BUG=260899

Review URL: https://codereview.chromium.org/54603006

git-svn-id: svn://svn.chromium.org/blink/trunk@161129 bbb929c8-8fbe-4397-9dbb-9b2b20218538
  • Loading branch information
jchaffraix@chromium.org committed Nov 1, 2013
1 parent 8042b2e commit e6ab25e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ class RenderLayer;
class RenderScrollbarPart;

class RenderLayerScrollableArea FINAL : public ScrollableArea {
// FIXME: Remove once the bits from RenderLayer have been moved here.
friend class RenderLayer;
public:
RenderLayerScrollableArea(RenderBox*);
virtual ~RenderLayerScrollableArea();
Expand Down Expand Up @@ -157,6 +155,8 @@ class RenderLayerScrollableArea FINAL : public ScrollableArea {
bool isPointInResizeControl(const IntPoint& absolutePoint, ResizerHitTestType) const;
bool hitTestOverflowControls(HitTestResult&, const IntPoint& localPoint);

bool hitTestResizerInFragments(const LayerFragments&, const HitTestLocation&) const;

LayoutRect exposeRect(const LayoutRect&, const ScrollAlignment& alignX, const ScrollAlignment& alignY);

bool scrollsOverflow() const;
Expand Down Expand Up @@ -193,7 +193,6 @@ class RenderLayerScrollableArea FINAL : public ScrollableArea {
// See comments on isPointInResizeControl.
IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const;
bool overflowControlsIntersectRect(const IntRect& localRect) const;
bool hitTestResizerInFragments(const LayerFragments&, const HitTestLocation&) const;
void updateResizerAreaSet();
void updateResizerStyle();
void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect);
Expand Down

0 comments on commit e6ab25e

Please sign in to comment.