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

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

Issue 2730343003: Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: logic fix 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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 } 845 }
846 LayoutRect paintingExtent(const PaintLayer* rootLayer, 846 LayoutRect paintingExtent(const PaintLayer* rootLayer,
847 const LayoutSize& subPixelAccumulation, 847 const LayoutSize& subPixelAccumulation,
848 GlobalPaintFlags); 848 GlobalPaintFlags);
849 void appendSingleFragmentIgnoringPagination( 849 void appendSingleFragmentIgnoringPagination(
850 PaintLayerFragments&, 850 PaintLayerFragments&,
851 const PaintLayer* rootLayer, 851 const PaintLayer* rootLayer,
852 const LayoutRect& dirtyRect, 852 const LayoutRect& dirtyRect,
853 ClipRectsCacheSlot, 853 ClipRectsCacheSlot,
854 GeometryMapperOption, 854 GeometryMapperOption,
855 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize, 855 OverlayScrollbarClipBehavior = IgnorePlatformOverlayScrollbarSize,
856 ShouldRespectOverflowClipType = RespectOverflowClip, 856 ShouldRespectOverflowClipType = RespectOverflowClip,
857 const LayoutPoint* offsetFromRoot = 0, 857 const LayoutPoint* offsetFromRoot = 0,
858 const LayoutSize& subPixelAccumulation = LayoutSize()); 858 const LayoutSize& subPixelAccumulation = LayoutSize());
859 void collectFragments( 859 void collectFragments(
860 PaintLayerFragments&, 860 PaintLayerFragments&,
861 const PaintLayer* rootLayer, 861 const PaintLayer* rootLayer,
862 const LayoutRect& dirtyRect, 862 const LayoutRect& dirtyRect,
863 ClipRectsCacheSlot, 863 ClipRectsCacheSlot,
864 GeometryMapperOption, 864 GeometryMapperOption,
865 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize, 865 OverlayScrollbarClipBehavior = IgnorePlatformOverlayScrollbarSize,
866 ShouldRespectOverflowClipType = RespectOverflowClip, 866 ShouldRespectOverflowClipType = RespectOverflowClip,
867 const LayoutPoint* offsetFromRoot = 0, 867 const LayoutPoint* offsetFromRoot = 0,
868 const LayoutSize& subPixelAccumulation = LayoutSize(), 868 const LayoutSize& subPixelAccumulation = LayoutSize(),
869 const LayoutRect* layerBoundingBox = 0); 869 const LayoutRect* layerBoundingBox = 0);
870 870
871 LayoutPoint layoutBoxLocation() const { 871 LayoutPoint layoutBoxLocation() const {
872 return layoutObject().isBox() ? toLayoutBox(layoutObject()).location() 872 return layoutObject().isBox() ? toLayoutBox(layoutObject()).location()
873 : LayoutPoint(); 873 : LayoutPoint();
874 } 874 }
875 875
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 1254
1255 } // namespace blink 1255 } // namespace blink
1256 1256
1257 #ifndef NDEBUG 1257 #ifndef NDEBUG
1258 // Outside the WebCore namespace for ease of invocation from gdb. 1258 // Outside the WebCore namespace for ease of invocation from gdb.
1259 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); 1259 CORE_EXPORT void showLayerTree(const blink::PaintLayer*);
1260 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); 1260 CORE_EXPORT void showLayerTree(const blink::LayoutObject*);
1261 #endif 1261 #endif
1262 1262
1263 #endif // Layer_h 1263 #endif // Layer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698