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

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

Issue 2730343003: Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: rebase Created 3 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
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 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 } 838 }
839 LayoutRect paintingExtent(const PaintLayer* rootLayer, 839 LayoutRect paintingExtent(const PaintLayer* rootLayer,
840 const LayoutSize& subPixelAccumulation, 840 const LayoutSize& subPixelAccumulation,
841 GlobalPaintFlags); 841 GlobalPaintFlags);
842 void appendSingleFragmentIgnoringPagination( 842 void appendSingleFragmentIgnoringPagination(
843 PaintLayerFragments&, 843 PaintLayerFragments&,
844 const PaintLayer* rootLayer, 844 const PaintLayer* rootLayer,
845 const LayoutRect& dirtyRect, 845 const LayoutRect& dirtyRect,
846 ClipRectsCacheSlot, 846 ClipRectsCacheSlot,
847 GeometryMapperOption, 847 GeometryMapperOption,
848 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize, 848 OverlayScrollbarClipBehavior = IgnorePlatformOverlayScrollbarSize,
849 ShouldRespectOverflowClipType = RespectOverflowClip, 849 ShouldRespectOverflowClipType = RespectOverflowClip,
850 const LayoutPoint* offsetFromRoot = 0, 850 const LayoutPoint* offsetFromRoot = 0,
851 const LayoutSize& subPixelAccumulation = LayoutSize()); 851 const LayoutSize& subPixelAccumulation = LayoutSize());
852 void collectFragments( 852 void collectFragments(
853 PaintLayerFragments&, 853 PaintLayerFragments&,
854 const PaintLayer* rootLayer, 854 const PaintLayer* rootLayer,
855 const LayoutRect& dirtyRect, 855 const LayoutRect& dirtyRect,
856 ClipRectsCacheSlot, 856 ClipRectsCacheSlot,
857 GeometryMapperOption, 857 GeometryMapperOption,
858 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize, 858 OverlayScrollbarClipBehavior = IgnorePlatformOverlayScrollbarSize,
859 ShouldRespectOverflowClipType = RespectOverflowClip, 859 ShouldRespectOverflowClipType = RespectOverflowClip,
860 const LayoutPoint* offsetFromRoot = 0, 860 const LayoutPoint* offsetFromRoot = 0,
861 const LayoutSize& subPixelAccumulation = LayoutSize(), 861 const LayoutSize& subPixelAccumulation = LayoutSize(),
862 const LayoutRect* layerBoundingBox = 0); 862 const LayoutRect* layerBoundingBox = 0);
863 863
864 LayoutPoint layoutBoxLocation() const { 864 LayoutPoint layoutBoxLocation() const {
865 return layoutObject().isBox() ? toLayoutBox(layoutObject()).location() 865 return layoutObject().isBox() ? toLayoutBox(layoutObject()).location()
866 : LayoutPoint(); 866 : LayoutPoint();
867 } 867 }
868 868
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 1246
1247 } // namespace blink 1247 } // namespace blink
1248 1248
1249 #ifndef NDEBUG 1249 #ifndef NDEBUG
1250 // Outside the WebCore namespace for ease of invocation from gdb. 1250 // Outside the WebCore namespace for ease of invocation from gdb.
1251 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); 1251 CORE_EXPORT void showLayerTree(const blink::PaintLayer*);
1252 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); 1252 CORE_EXPORT void showLayerTree(const blink::LayoutObject*);
1253 #endif 1253 #endif
1254 1254
1255 #endif // Layer_h 1255 #endif // Layer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/ClipRectsCache.h ('k') | third_party/WebKit/Source/core/paint/PaintLayerClipper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698