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

Side by Side Diff: Source/core/layout/LayerScrollableArea.h

Issue 949303002: Fix invalidation during painting of scrollbars (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TestExpectations Created 5 years, 10 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 LayoutUnit scrollWidth() const; 165 LayoutUnit scrollWidth() const;
166 LayoutUnit scrollHeight() const; 166 LayoutUnit scrollHeight() const;
167 int pixelSnappedScrollWidth() const; 167 int pixelSnappedScrollWidth() const;
168 int pixelSnappedScrollHeight() const; 168 int pixelSnappedScrollHeight() const;
169 169
170 int verticalScrollbarWidth(OverlayScrollbarSizeRelevancy = IgnoreOverlayScro llbarSize) const; 170 int verticalScrollbarWidth(OverlayScrollbarSizeRelevancy = IgnoreOverlayScro llbarSize) const;
171 int horizontalScrollbarHeight(OverlayScrollbarSizeRelevancy = IgnoreOverlayS crollbarSize) const; 171 int horizontalScrollbarHeight(OverlayScrollbarSizeRelevancy = IgnoreOverlayS crollbarSize) const;
172 172
173 DoubleSize adjustedScrollOffset() const { return DoubleSize(scrollXOffset(), scrollYOffset()); } 173 DoubleSize adjustedScrollOffset() const { return DoubleSize(scrollXOffset(), scrollYOffset()); }
174 174
175 void positionOverflowControls(const IntSize& offsetFromRoot); 175 void positionOverflowControls();
176 176
177 // isPointInResizeControl() is used for testing if a pointer/touch position is in the resize control 177 // isPointInResizeControl() is used for testing if a pointer/touch position is in the resize control
178 // area. 178 // area.
179 bool isPointInResizeControl(const IntPoint& absolutePoint, ResizerHitTestTyp e) const; 179 bool isPointInResizeControl(const IntPoint& absolutePoint, ResizerHitTestTyp e) const;
180 bool hitTestOverflowControls(HitTestResult&, const IntPoint& localPoint); 180 bool hitTestOverflowControls(HitTestResult&, const IntPoint& localPoint);
181 181
182 bool hitTestResizerInFragments(const LayerFragments&, const HitTestLocation& ) const; 182 bool hitTestResizerInFragments(const LayerFragments&, const HitTestLocation& ) const;
183 183
184 LayoutRect exposeRect(const LayoutRect&, const ScrollAlignment& alignX, cons t ScrollAlignment& alignY); 184 LayoutRect exposeRect(const LayoutRect&, const ScrollAlignment& alignX, cons t ScrollAlignment& alignY);
185 185
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // Renderers to hold our custom scroll corner. 280 // Renderers to hold our custom scroll corner.
281 RenderScrollbarPart* m_scrollCorner; 281 RenderScrollbarPart* m_scrollCorner;
282 282
283 // Renderers to hold our custom resizer. 283 // Renderers to hold our custom resizer.
284 RenderScrollbarPart* m_resizer; 284 RenderScrollbarPart* m_resizer;
285 }; 285 };
286 286
287 } // namespace blink 287 } // namespace blink
288 288
289 #endif // LayerScrollableArea_h 289 #endif // LayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698