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

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

Issue 234423007: Minor cleanup to RenderLayerScrollableArea::setNeedsCompositedScrolling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix windows compile error 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
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayerScrollableArea.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 void updateResizerAreaSet(); 214 void updateResizerAreaSet();
215 void updateResizerStyle(); 215 void updateResizerStyle();
216 void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect); 216 void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect);
217 217
218 RenderLayer* layer() const; 218 RenderLayer* layer() const;
219 219
220 void updateScrollableAreaSet(bool hasOverflow); 220 void updateScrollableAreaSet(bool hasOverflow);
221 221
222 void updateCompositingLayersAfterScroll(); 222 void updateCompositingLayersAfterScroll();
223 virtual void updateNeedsCompositedScrolling() OVERRIDE; 223 virtual void updateNeedsCompositedScrolling() OVERRIDE;
224 bool setNeedsCompositedScrolling(bool); 224 void setNeedsCompositedScrolling(bool needsCompositedScrolling) { m_needsCom positedScrolling = needsCompositedScrolling; }
225 225
226 void setForceNeedsCompositedScrolling(ForceNeedsCompositedScrollingMode); 226 void setForceNeedsCompositedScrolling(ForceNeedsCompositedScrollingMode);
227 227
228 RenderBox* m_box; 228 RenderBox* m_box;
229 229
230 // Keeps track of whether the layer is currently resizing, so events can cau se resizing to start and stop. 230 // Keeps track of whether the layer is currently resizing, so events can cau se resizing to start and stop.
231 unsigned m_inResizeMode : 1; 231 unsigned m_inResizeMode : 1;
232 232
233 unsigned m_scrollDimensionsDirty : 1; 233 unsigned m_scrollDimensionsDirty : 1;
234 unsigned m_inOverflowRelayout : 1; 234 unsigned m_inOverflowRelayout : 1;
(...skipping 17 matching lines...) Expand all
252 // Renderers to hold our custom scroll corner. 252 // Renderers to hold our custom scroll corner.
253 RenderScrollbarPart* m_scrollCorner; 253 RenderScrollbarPart* m_scrollCorner;
254 254
255 // Renderers to hold our custom resizer. 255 // Renderers to hold our custom resizer.
256 RenderScrollbarPart* m_resizer; 256 RenderScrollbarPart* m_resizer;
257 }; 257 };
258 258
259 } // Namespace WebCore 259 } // Namespace WebCore
260 260
261 #endif // RenderLayerScrollableArea_h 261 #endif // RenderLayerScrollableArea_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698