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

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

Powered by Google App Engine
This is Rietveld 408576698