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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerClipper.h

Issue 2623213002: Expand PaintLayer clip to account for hidden URL bar with document.rootScroller (Closed)
Patch Set: Rebase Created 3 years, 11 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
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 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 const LayoutRect& paintDirtyRect, 227 const LayoutRect& paintDirtyRect,
228 LayoutRect& layerBounds, 228 LayoutRect& layerBounds,
229 ClipRect& backgroundRect, 229 ClipRect& backgroundRect,
230 ClipRect& foregroundRect, 230 ClipRect& foregroundRect,
231 const LayoutPoint* offsetFromRoot = 0) const; 231 const LayoutPoint* offsetFromRoot = 0) const;
232 232
233 ClipRect applyOverflowClipToBackgroundRectWithGeometryMapper( 233 ClipRect applyOverflowClipToBackgroundRectWithGeometryMapper(
234 const ClipRectsContext&, 234 const ClipRectsContext&,
235 const ClipRect&) const; 235 const ClipRect&) const;
236 236
237 bool isClippingRoot(const ClipRectsContext&) const;
238
237 const PaintLayer& m_layer; 239 const PaintLayer& m_layer;
238 std::unique_ptr<GeometryMapper> m_geometryMapper; 240 std::unique_ptr<GeometryMapper> m_geometryMapper;
239 241
240 friend class PaintLayerClipperTest; 242 friend class PaintLayerClipperTest;
241 }; 243 };
242 244
243 } // namespace blink 245 } // namespace blink
244 246
245 #endif // LayerClipper_h 247 #endif // LayerClipper_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698