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

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: Super hacky patch Created 4 years, 2 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 void didUpdateNeedsCompositedScrolling(); 641 void didUpdateNeedsCompositedScrolling();
642 642
643 bool hasSelfPaintingLayerDescendant() const 643 bool hasSelfPaintingLayerDescendant() const
644 { 644 {
645 if (m_hasSelfPaintingLayerDescendantDirty) 645 if (m_hasSelfPaintingLayerDescendantDirty)
646 updateHasSelfPaintingLayerDescendant(); 646 updateHasSelfPaintingLayerDescendant();
647 ASSERT(!m_hasSelfPaintingLayerDescendantDirty); 647 ASSERT(!m_hasSelfPaintingLayerDescendantDirty);
648 return m_hasSelfPaintingLayerDescendant; 648 return m_hasSelfPaintingLayerDescendant;
649 } 649 }
650 LayoutRect paintingExtent(const PaintLayer* rootLayer, const LayoutSize& sub PixelAccumulation, GlobalPaintFlags); 650 LayoutRect paintingExtent(const PaintLayer* rootLayer, const LayoutSize& sub PixelAccumulation, GlobalPaintFlags);
651 void appendSingleFragmentIgnoringPagination(PaintLayerFragments&, const Pain tLayer* rootLayer, const LayoutRect& dirtyRect, ClipRectsCacheSlot, OverlayScrol lbarClipBehavior = IgnoreOverlayScrollbarSize, ShouldRespectOverflowClipType = R espectOverflowClip, const LayoutPoint* offsetFromRoot = 0, const LayoutSize& sub PixelAccumulation = LayoutSize()); 651 void appendSingleFragmentIgnoringPagination(PaintLayerFragments&, const Pain tLayer* rootLayer, const LayoutRect& dirtyRect,
652 ClipRectsCacheSlot, OverlayScrollbarClipBehavior = IgnoreOverlayScrollba rSize, ShouldRespectOverflowClipType = RespectOverflowClip,
653 bool paintingAncestorClippingMask = false, const LayoutPoint* offsetFrom Root = 0, const LayoutSize& subPixelAccumulation = LayoutSize());
652 void collectFragments(PaintLayerFragments&, const PaintLayer* rootLayer, con st LayoutRect& dirtyRect, 654 void collectFragments(PaintLayerFragments&, const PaintLayer* rootLayer, con st LayoutRect& dirtyRect,
653 ClipRectsCacheSlot, OverlayScrollbarClipBehavior = IgnoreOverlayScrollba rSize, 655 ClipRectsCacheSlot, OverlayScrollbarClipBehavior = IgnoreOverlayScrollba rSize,
654 ShouldRespectOverflowClipType = RespectOverflowClip, const LayoutPoint* offsetFromRoot = 0, 656 ShouldRespectOverflowClipType = RespectOverflowClip, bool paintingAncest orClippingMask = false, const LayoutPoint* offsetFromRoot = 0,
655 const LayoutSize& subPixelAccumulation = LayoutSize(), const LayoutRect* layerBoundingBox = 0); 657 const LayoutSize& subPixelAccumulation = LayoutSize(), const LayoutRect* layerBoundingBox = 0);
656 658
657 LayoutPoint layoutBoxLocation() const { return layoutObject()->isBox() ? toL ayoutBox(layoutObject())->location() : LayoutPoint(); } 659 LayoutPoint layoutBoxLocation() const { return layoutObject()->isBox() ? toL ayoutBox(layoutObject())->location() : LayoutPoint(); }
658 660
659 enum TransparencyClipBoxBehavior { 661 enum TransparencyClipBoxBehavior {
660 PaintingTransparencyClipBox, 662 PaintingTransparencyClipBox,
661 HitTestingTransparencyClipBox 663 HitTestingTransparencyClipBox
662 }; 664 };
663 665
664 enum TransparencyClipBoxMode { 666 enum TransparencyClipBoxMode {
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 937
936 } // namespace blink 938 } // namespace blink
937 939
938 #ifndef NDEBUG 940 #ifndef NDEBUG
939 // Outside the WebCore namespace for ease of invocation from gdb. 941 // Outside the WebCore namespace for ease of invocation from gdb.
940 void showLayerTree(const blink::PaintLayer*); 942 void showLayerTree(const blink::PaintLayer*);
941 void showLayerTree(const blink::LayoutObject*); 943 void showLayerTree(const blink::LayoutObject*);
942 #endif 944 #endif
943 945
944 #endif // Layer_h 946 #endif // Layer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698