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

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

Issue 46163008: Revert "Re-land deferred compositing updates with fixed assumptions" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 IntSize adjustedScrollOffset() const { return IntSize(scrollXOffset(), scrol lYOffset()); } 142 IntSize adjustedScrollOffset() const { return IntSize(scrollXOffset(), scrol lYOffset()); }
143 143
144 void paintResizer(GraphicsContext*, const IntPoint& paintOffset, const IntRe ct& damageRect); 144 void paintResizer(GraphicsContext*, const IntPoint& paintOffset, const IntRe ct& damageRect);
145 void paintOverflowControls(GraphicsContext*, const IntPoint& paintOffset, co nst IntRect& damageRect, bool paintingOverlayControls); 145 void paintOverflowControls(GraphicsContext*, const IntPoint& paintOffset, co nst IntRect& damageRect, bool paintingOverlayControls);
146 void paintScrollCorner(GraphicsContext*, const IntPoint&, const IntRect& dam ageRect); 146 void paintScrollCorner(GraphicsContext*, const IntPoint&, const IntRect& dam ageRect);
147 147
148 // If IntSize is not given, then we must incur additional overhead to instan tiate a RenderGeometryMap 148 // If IntSize is not given, then we must incur additional overhead to instan tiate a RenderGeometryMap
149 // and compute the correct offset ourselves. 149 // and compute the correct offset ourselves.
150 void positionOverflowControls(); 150 void positionOverflowControls();
151 void positionOverflowControls(const IntSize& offsetFromRoot); 151 void positionOverflowControls(const IntSize& offsetFromRoot);
152 void positionNewlyCreatedOverflowControls();
152 153
153 // isPointInResizeControl() is used for testing if a pointer/touch position is in the resize control 154 // isPointInResizeControl() is used for testing if a pointer/touch position is in the resize control
154 // area. 155 // area.
155 bool isPointInResizeControl(const IntPoint& absolutePoint, ResizerHitTestTyp e) const; 156 bool isPointInResizeControl(const IntPoint& absolutePoint, ResizerHitTestTyp e) const;
156 bool hitTestOverflowControls(HitTestResult&, const IntPoint& localPoint); 157 bool hitTestOverflowControls(HitTestResult&, const IntPoint& localPoint);
157 158
158 bool hitTestResizerInFragments(const LayerFragments&, const HitTestLocation& ) const; 159 bool hitTestResizerInFragments(const LayerFragments&, const HitTestLocation& ) const;
159 160
160 LayoutRect exposeRect(const LayoutRect&, const ScrollAlignment& alignX, cons t ScrollAlignment& alignY); 161 LayoutRect exposeRect(const LayoutRect&, const ScrollAlignment& alignX, cons t ScrollAlignment& alignY);
161 162
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // Renderers to hold our custom scroll corner. 235 // Renderers to hold our custom scroll corner.
235 RenderScrollbarPart* m_scrollCorner; 236 RenderScrollbarPart* m_scrollCorner;
236 237
237 // Renderers to hold our custom resizer. 238 // Renderers to hold our custom resizer.
238 RenderScrollbarPart* m_resizer; 239 RenderScrollbarPart* m_resizer;
239 }; 240 };
240 241
241 } // Namespace WebCore 242 } // Namespace WebCore
242 243
243 #endif // RenderLayerScrollableArea_h 244 #endif // RenderLayerScrollableArea_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayerCompositor.cpp ('k') | Source/core/rendering/RenderLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698