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

Side by Side Diff: Source/core/layout/Layer.h

Issue 801053005: [New Multicolumn] Render transformed layers into multiple fragments. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase master Created 5 years, 10 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 Layer* rootLayer, const LayoutRect& paintDir tyRect, const LayoutSize& subPixelAccumulation, PaintBehavior); 505 LayoutRect paintingExtent(const Layer* rootLayer, const LayoutRect& paintDir tyRect, const LayoutSize& subPixelAccumulation, PaintBehavior);
506 void appendSingleFragmentIgnoringPagination(LayerFragments&, const Layer* ro otLayer, const LayoutRect& dirtyRect, ClipRectsCacheSlot, OverlayScrollbarSizeRe levancy = IgnoreOverlayScrollbarSize, ShouldRespectOverflowClip = RespectOverflo wClip, const LayoutPoint* offsetFromRoot = 0, const LayoutSize& subPixelAccumula tion = LayoutSize());
506 void collectFragments(LayerFragments&, const Layer* rootLayer, const LayoutR ect& dirtyRect, 507 void collectFragments(LayerFragments&, const Layer* rootLayer, const LayoutR ect& 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::Layer*); 722 void showLayerTree(const blink::Layer*);
722 void showLayerTree(const blink::LayoutObject*); 723 void showLayerTree(const blink::LayoutObject*);
723 #endif 724 #endif
724 725
725 #endif // Layer_h 726 #endif // Layer_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/multicol/composited-layer-will-change-expected.html ('k') | Source/core/layout/Layer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698