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

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

Issue 2194273002: Fix border radius on composited children. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Now working on basic test cases Created 4 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
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 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 829
830 bool hasSelfPaintingLayerDescendant() const { 830 bool hasSelfPaintingLayerDescendant() const {
831 if (m_hasSelfPaintingLayerDescendantDirty) 831 if (m_hasSelfPaintingLayerDescendantDirty)
832 updateHasSelfPaintingLayerDescendant(); 832 updateHasSelfPaintingLayerDescendant();
833 DCHECK(!m_hasSelfPaintingLayerDescendantDirty); 833 DCHECK(!m_hasSelfPaintingLayerDescendantDirty);
834 return m_hasSelfPaintingLayerDescendant; 834 return m_hasSelfPaintingLayerDescendant;
835 } 835 }
836 LayoutRect paintingExtent(const PaintLayer* rootLayer, 836 LayoutRect paintingExtent(const PaintLayer* rootLayer,
837 const LayoutSize& subPixelAccumulation, 837 const LayoutSize& subPixelAccumulation,
838 GlobalPaintFlags); 838 GlobalPaintFlags);
839
839 void appendSingleFragmentIgnoringPagination( 840 void appendSingleFragmentIgnoringPagination(
840 PaintLayerFragments&, 841 PaintLayerFragments&,
841 const PaintLayer* rootLayer, 842 const PaintLayer* rootLayer,
842 const LayoutRect& dirtyRect, 843 const LayoutRect& dirtyRect,
843 ClipRectsCacheSlot, 844 ClipRectsCacheSlot,
844 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize, 845 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize,
845 ShouldRespectOverflowClipType = RespectOverflowClip, 846 ShouldRespectOverflowClipType = RespectOverflowClip,
846 const LayoutPoint* offsetFromRoot = 0, 847 const LayoutPoint* offsetFromRoot = 0,
847 const LayoutSize& subPixelAccumulation = LayoutSize()); 848 const LayoutSize& subPixelAccumulation = LayoutSize());
848 void collectFragments( 849 void collectFragments(
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
1224 1225
1225 } // namespace blink 1226 } // namespace blink
1226 1227
1227 #ifndef NDEBUG 1228 #ifndef NDEBUG
1228 // Outside the WebCore namespace for ease of invocation from gdb. 1229 // Outside the WebCore namespace for ease of invocation from gdb.
1229 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); 1230 CORE_EXPORT void showLayerTree(const blink::PaintLayer*);
1230 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); 1231 CORE_EXPORT void showLayerTree(const blink::LayoutObject*);
1231 #endif 1232 #endif
1232 1233
1233 #endif // Layer_h 1234 #endif // Layer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698