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

Side by Side Diff: Source/core/rendering/RenderLayer.h

Issue 801053005: [New Multicolumn] Render transformed layers into multiple fragments. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); 496 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants();
497 497
498 bool hasSelfPaintingLayerDescendant() const 498 bool hasSelfPaintingLayerDescendant() const
499 { 499 {
500 if (m_hasSelfPaintingLayerDescendantDirty) 500 if (m_hasSelfPaintingLayerDescendantDirty)
501 updateHasSelfPaintingLayerDescendant(); 501 updateHasSelfPaintingLayerDescendant();
502 ASSERT(!m_hasSelfPaintingLayerDescendantDirty); 502 ASSERT(!m_hasSelfPaintingLayerDescendantDirty);
503 return m_hasSelfPaintingLayerDescendant; 503 return m_hasSelfPaintingLayerDescendant;
504 } 504 }
505 LayoutRect paintingExtent(const RenderLayer* rootLayer, const LayoutRect& pa intDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior); 505 LayoutRect paintingExtent(const RenderLayer* rootLayer, const LayoutRect& pa intDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior);
506 void appendSingleFragmentIgnoringPagination(LayerFragments&, const RenderLay er* rootLayer, const LayoutRect& dirtyRect, ClipRectsCacheSlot, OverlayScrollbar SizeRelevancy = IgnoreOverlayScrollbarSize, ShouldRespectOverflowClip = RespectO verflowClip, const LayoutPoint* offsetFromRoot = 0, const LayoutSize& subPixelAc cumulation = LayoutSize());
506 void collectFragments(LayerFragments&, const RenderLayer* rootLayer, const L ayoutRect& dirtyRect, 507 void collectFragments(LayerFragments&, const RenderLayer* rootLayer, const L ayoutRect& dirtyRect,
507 ClipRectsCacheSlot, OverlayScrollbarSizeRelevancy inOverlayScrollbarSize Relevancy = IgnoreOverlayScrollbarSize, 508 ClipRectsCacheSlot, OverlayScrollbarSizeRelevancy inOverlayScrollbarSize Relevancy = IgnoreOverlayScrollbarSize,
508 ShouldRespectOverflowClip = RespectOverflowClip, const LayoutPoint* offs etFromRoot = 0, 509 ShouldRespectOverflowClip = RespectOverflowClip, const LayoutPoint* offs etFromRoot = 0,
509 const LayoutSize& subPixelAccumulation = LayoutSize(), const LayoutRect* layerBoundingBox = 0); 510 const LayoutSize& subPixelAccumulation = LayoutSize(), const LayoutRect* layerBoundingBox = 0);
510 511
511 LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRende rBox(renderer())->location() : LayoutPoint(); } 512 LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRende rBox(renderer())->location() : LayoutPoint(); }
512 513
513 enum TransparencyClipBoxBehavior { 514 enum TransparencyClipBoxBehavior {
514 PaintingTransparencyClipBox, 515 PaintingTransparencyClipBox,
515 HitTestingTransparencyClipBox 516 HitTestingTransparencyClipBox
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 717
717 } // namespace blink 718 } // namespace blink
718 719
719 #ifndef NDEBUG 720 #ifndef NDEBUG
720 // Outside the WebCore namespace for ease of invocation from gdb. 721 // Outside the WebCore namespace for ease of invocation from gdb.
721 void showLayerTree(const blink::RenderLayer*); 722 void showLayerTree(const blink::RenderLayer*);
722 void showLayerTree(const blink::RenderObject*); 723 void showLayerTree(const blink::RenderObject*);
723 #endif 724 #endif
724 725
725 #endif // RenderLayer_h 726 #endif // RenderLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698