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

Side by Side Diff: Source/core/rendering/RenderLayerScrollableArea.h

Issue 203463007: Recompute overflow after transform changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests had been missing Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 // FIXME: We shouldn't allow access to m_overflowRect outside this class. 117 // FIXME: We shouldn't allow access to m_overflowRect outside this class.
118 LayoutRect overflowRect() const { return m_overflowRect; } 118 LayoutRect overflowRect() const { return m_overflowRect; }
119 119
120 void scrollToOffset(const IntSize& scrollOffset, ScrollOffsetClamping = Scro llOffsetUnclamped); 120 void scrollToOffset(const IntSize& scrollOffset, ScrollOffsetClamping = Scro llOffsetUnclamped);
121 void scrollToXOffset(int x, ScrollOffsetClamping clamp = ScrollOffsetUnclamp ed) { scrollToOffset(IntSize(x, scrollYOffset()), clamp); } 121 void scrollToXOffset(int x, ScrollOffsetClamping clamp = ScrollOffsetUnclamp ed) { scrollToOffset(IntSize(x, scrollYOffset()), clamp); }
122 void scrollToYOffset(int y, ScrollOffsetClamping clamp = ScrollOffsetUnclamp ed) { scrollToOffset(IntSize(scrollXOffset(), y), clamp); } 122 void scrollToYOffset(int y, ScrollOffsetClamping clamp = ScrollOffsetUnclamp ed) { scrollToOffset(IntSize(scrollXOffset(), y), clamp); }
123 123
124 void updateAfterLayout(); 124 void updateAfterLayout();
125 void updateAfterStyleChange(const RenderStyle*); 125 void updateAfterStyleChange(const RenderStyle*);
126 void updateAfterOverflowRecalc();
126 127
127 bool hasScrollbar() const { return m_hBar || m_vBar; } 128 bool hasScrollbar() const { return m_hBar || m_vBar; }
128 129
129 // FIXME: This should be removed. 130 // FIXME: This should be removed.
130 bool hasScrollCorner() const { return m_scrollCorner; } 131 bool hasScrollCorner() const { return m_scrollCorner; }
131 132
132 void resize(const PlatformEvent&, const LayoutSize&); 133 void resize(const PlatformEvent&, const LayoutSize&);
133 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; 134 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const;
134 135
135 bool inResizeMode() const { return m_inResizeMode; } 136 bool inResizeMode() const { return m_inResizeMode; }
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // Renderers to hold our custom scroll corner. 256 // Renderers to hold our custom scroll corner.
256 RenderScrollbarPart* m_scrollCorner; 257 RenderScrollbarPart* m_scrollCorner;
257 258
258 // Renderers to hold our custom resizer. 259 // Renderers to hold our custom resizer.
259 RenderScrollbarPart* m_resizer; 260 RenderScrollbarPart* m_resizer;
260 }; 261 };
261 262
262 } // Namespace WebCore 263 } // Namespace WebCore
263 264
264 #endif // RenderLayerScrollableArea_h 265 #endif // RenderLayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698