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

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

Issue 708283002: RLSA needsLayout on customscrollbar thickness change. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: added testcase Created 6 years, 1 month 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
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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 unsigned m_scrollDimensionsDirty : 1; 231 unsigned m_scrollDimensionsDirty : 1;
232 unsigned m_inOverflowRelayout : 1; 232 unsigned m_inOverflowRelayout : 1;
233 233
234 RenderLayer* m_nextTopmostScrollChild; 234 RenderLayer* m_nextTopmostScrollChild;
235 RenderLayer* m_topmostScrollChild; 235 RenderLayer* m_topmostScrollChild;
236 236
237 // FIXME: once cc can handle composited scrolling with clip paths, we will 237 // FIXME: once cc can handle composited scrolling with clip paths, we will
238 // no longer need this bit. 238 // no longer need this bit.
239 unsigned m_needsCompositedScrolling : 1; 239 unsigned m_needsCompositedScrolling : 1;
240 240
241 unsigned m_horizontalScrollbarRectChanged : 1;
242 unsigned m_verticalScrollbarRectChanged : 1;
243
241 // The width/height of our scrolled area. 244 // The width/height of our scrolled area.
242 LayoutRect m_overflowRect; 245 LayoutRect m_overflowRect;
243 246
244 // This is the (scroll) offset from scrollOrigin(). 247 // This is the (scroll) offset from scrollOrigin().
245 DoubleSize m_scrollOffset; 248 DoubleSize m_scrollOffset;
246 249
247 IntPoint m_cachedOverlayScrollbarOffset; 250 IntPoint m_cachedOverlayScrollbarOffset;
248 251
249 // For areas with overflow, we have a pair of scrollbars. 252 // For areas with overflow, we have a pair of scrollbars.
250 RefPtrWillBePersistent<Scrollbar> m_hBar; 253 RefPtrWillBePersistent<Scrollbar> m_hBar;
251 RefPtrWillBePersistent<Scrollbar> m_vBar; 254 RefPtrWillBePersistent<Scrollbar> m_vBar;
252 255
253 // Renderers to hold our custom scroll corner. 256 // Renderers to hold our custom scroll corner.
254 RawPtrWillBePersistent<RenderScrollbarPart> m_scrollCorner; 257 RawPtrWillBePersistent<RenderScrollbarPart> m_scrollCorner;
255 258
256 // Renderers to hold our custom resizer. 259 // Renderers to hold our custom resizer.
257 RawPtrWillBePersistent<RenderScrollbarPart> m_resizer; 260 RawPtrWillBePersistent<RenderScrollbarPart> m_resizer;
258 }; 261 };
259 262
260 } // namespace blink 263 } // namespace blink
261 264
262 #endif // RenderLayerScrollableArea_h 265 #endif // RenderLayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698