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

Side by Side Diff: Source/core/paint/DeprecatedPaintLayer.h

Issue 1235133004: Use LayoutObject to locate the flow thread. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fold updatePagination() into updatePaginationRecursive() Created 5 years, 5 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 | Annotate | Revision Log
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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 bool attemptDirectCompositingUpdate(StyleDifference, const ComputedStyle* ol dStyle); 597 bool attemptDirectCompositingUpdate(StyleDifference, const ComputedStyle* ol dStyle);
598 void updateTransform(const ComputedStyle* oldStyle, const ComputedStyle& new Style); 598 void updateTransform(const ComputedStyle* oldStyle, const ComputedStyle& new Style);
599 599
600 void dirty3DTransformedDescendantStatus(); 600 void dirty3DTransformedDescendantStatus();
601 // Both updates the status, and returns true if descendants of this have 3d. 601 // Both updates the status, and returns true if descendants of this have 3d.
602 bool update3DTransformedDescendantStatus(); 602 bool update3DTransformedDescendantStatus();
603 603
604 void updateOrRemoveFilterClients(); 604 void updateOrRemoveFilterClients();
605 605
606 void updatePaginationRecursive(bool needsPaginationUpdate = false); 606 void updatePaginationRecursive(bool needsPaginationUpdate = false);
607 void updatePagination();
608 void clearPaginationRecursive(); 607 void clearPaginationRecursive();
609 608
610 DeprecatedPaintLayerType m_layerType; 609 DeprecatedPaintLayerType m_layerType;
611 610
612 // Self-painting layer is an optimization where we avoid the heavy Layer pai nting 611 // Self-painting layer is an optimization where we avoid the heavy Layer pai nting
613 // machinery for a Layer allocated only to handle the overflow clip case. 612 // machinery for a Layer allocated only to handle the overflow clip case.
614 // FIXME(crbug.com/332791): Self-painting layer should be merged into the ov erflow-only concept. 613 // FIXME(crbug.com/332791): Self-painting layer should be merged into the ov erflow-only concept.
615 unsigned m_isSelfPaintingLayer : 1; 614 unsigned m_isSelfPaintingLayer : 1;
616 615
617 // If have no self-painting descendants, we don't have to walk our children during painting. This can lead to 616 // If have no self-painting descendants, we don't have to walk our children during painting. This can lead to
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 716
718 } // namespace blink 717 } // namespace blink
719 718
720 #ifndef NDEBUG 719 #ifndef NDEBUG
721 // Outside the WebCore namespace for ease of invocation from gdb. 720 // Outside the WebCore namespace for ease of invocation from gdb.
722 void showLayerTree(const blink::DeprecatedPaintLayer*); 721 void showLayerTree(const blink::DeprecatedPaintLayer*);
723 void showLayerTree(const blink::LayoutObject*); 722 void showLayerTree(const blink::LayoutObject*);
724 #endif 723 #endif
725 724
726 #endif // Layer_h 725 #endif // Layer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698