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

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

Issue 2923683002: Fix nested border radius with composited child. (Closed)
Patch Set: Split tests, check layer sizes, document Created 3 years, 6 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 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 GlobalPaintFlags); 868 GlobalPaintFlags);
869 void AppendSingleFragmentIgnoringPagination( 869 void AppendSingleFragmentIgnoringPagination(
870 PaintLayerFragments&, 870 PaintLayerFragments&,
871 const PaintLayer* root_layer, 871 const PaintLayer* root_layer,
872 const LayoutRect& dirty_rect, 872 const LayoutRect& dirty_rect,
873 ClipRectsCacheSlot, 873 ClipRectsCacheSlot,
874 GeometryMapperOption, 874 GeometryMapperOption,
875 OverlayScrollbarClipBehavior = kIgnorePlatformOverlayScrollbarSize, 875 OverlayScrollbarClipBehavior = kIgnorePlatformOverlayScrollbarSize,
876 ShouldRespectOverflowClipType = kRespectOverflowClip, 876 ShouldRespectOverflowClipType = kRespectOverflowClip,
877 const LayoutPoint* offset_from_root = 0, 877 const LayoutPoint* offset_from_root = 0,
878 const LayoutSize& sub_pixel_accumulation = LayoutSize()); 878 const LayoutSize& sub_pixel_accumulation = LayoutSize()) const;
879 void CollectFragments( 879 void CollectFragments(
880 PaintLayerFragments&, 880 PaintLayerFragments&,
881 const PaintLayer* root_layer, 881 const PaintLayer* root_layer,
882 const LayoutRect& dirty_rect, 882 const LayoutRect& dirty_rect,
883 ClipRectsCacheSlot, 883 ClipRectsCacheSlot,
884 GeometryMapperOption, 884 GeometryMapperOption,
885 OverlayScrollbarClipBehavior = kIgnorePlatformOverlayScrollbarSize, 885 OverlayScrollbarClipBehavior = kIgnorePlatformOverlayScrollbarSize,
886 ShouldRespectOverflowClipType = kRespectOverflowClip, 886 ShouldRespectOverflowClipType = kRespectOverflowClip,
887 const LayoutPoint* offset_from_root = 0, 887 const LayoutPoint* offset_from_root = 0,
888 const LayoutSize& sub_pixel_accumulation = LayoutSize(), 888 const LayoutSize& sub_pixel_accumulation = LayoutSize(),
889 const LayoutRect* layer_bounding_box = 0); 889 const LayoutRect* layer_bounding_box = 0) const;
890 890
891 LayoutPoint LayoutBoxLocation() const { 891 LayoutPoint LayoutBoxLocation() const {
892 return GetLayoutObject().IsBox() ? ToLayoutBox(GetLayoutObject()).Location() 892 return GetLayoutObject().IsBox() ? ToLayoutBox(GetLayoutObject()).Location()
893 : LayoutPoint(); 893 : LayoutPoint();
894 } 894 }
895 895
896 enum TransparencyClipBoxBehavior { 896 enum TransparencyClipBoxBehavior {
897 kPaintingTransparencyClipBox, 897 kPaintingTransparencyClipBox,
898 kHitTestingTransparencyClipBox 898 kHitTestingTransparencyClipBox
899 }; 899 };
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
1276 1276
1277 } // namespace blink 1277 } // namespace blink
1278 1278
1279 #ifndef NDEBUG 1279 #ifndef NDEBUG
1280 // Outside the WebCore namespace for ease of invocation from gdb. 1280 // Outside the WebCore namespace for ease of invocation from gdb.
1281 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); 1281 CORE_EXPORT void showLayerTree(const blink::PaintLayer*);
1282 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); 1282 CORE_EXPORT void showLayerTree(const blink::LayoutObject*);
1283 #endif 1283 #endif
1284 1284
1285 #endif // Layer_h 1285 #endif // Layer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698