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

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

Issue 471623003: WebLocalFrameImpl::printPage needs to ensure layout, style, and compositing are up-to-date (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 // We should never be asking for this value when that is the case. 475 // We should never be asking for this value when that is the case.
476 ASSERT(m_needsDescendantDependentCompositingInputsUpdate == m_needsAnces torDependentCompositingInputsUpdate); 476 ASSERT(m_needsDescendantDependentCompositingInputsUpdate == m_needsAnces torDependentCompositingInputsUpdate);
477 return m_needsDescendantDependentCompositingInputsUpdate; 477 return m_needsDescendantDependentCompositingInputsUpdate;
478 } 478 }
479 479
480 void updateAncestorDependentCompositingInputs(const AncestorDependentComposi tingInputs&); 480 void updateAncestorDependentCompositingInputs(const AncestorDependentComposi tingInputs&);
481 void updateDescendantDependentCompositingInputs(const DescendantDependentCom positingInputs&); 481 void updateDescendantDependentCompositingInputs(const DescendantDependentCom positingInputs&);
482 void didUpdateCompositingInputs(); 482 void didUpdateCompositingInputs();
483 483
484 const AncestorDependentCompositingInputs& ancestorDependentCompositingInputs () const { ASSERT(!m_needsAncestorDependentCompositingInputsUpdate); return m_an cestorDependentCompositingInputs; } 484 const AncestorDependentCompositingInputs& ancestorDependentCompositingInputs () const { ASSERT(!m_needsAncestorDependentCompositingInputsUpdate); return m_an cestorDependentCompositingInputs; }
485 485 const DescendantDependentCompositingInputs& descendantDependentCompositingIn puts() const { ASSERT(!m_needsDescendantDependentCompositingInputsUpdate); retur n m_descendantDependentCompositingInputs; }
486 // FIXME: This function should ASSERT(!m_needsDescendantDependentCompositing InputsUpdate).
487 const DescendantDependentCompositingInputs& descendantDependentCompositingIn puts() const { return m_descendantDependentCompositingInputs; }
488 486
489 IntRect clippedAbsoluteBoundingBox() const { return ancestorDependentComposi tingInputs().clippedAbsoluteBoundingBox; } 487 IntRect clippedAbsoluteBoundingBox() const { return ancestorDependentComposi tingInputs().clippedAbsoluteBoundingBox; }
490 const RenderLayer* opacityAncestor() const { return ancestorDependentComposi tingInputs().opacityAncestor; } 488 const RenderLayer* opacityAncestor() const { return ancestorDependentComposi tingInputs().opacityAncestor; }
491 const RenderLayer* transformAncestor() const { return ancestorDependentCompo sitingInputs().transformAncestor; } 489 const RenderLayer* transformAncestor() const { return ancestorDependentCompo sitingInputs().transformAncestor; }
492 const RenderLayer* filterAncestor() const { return ancestorDependentComposit ingInputs().filterAncestor; } 490 const RenderLayer* filterAncestor() const { return ancestorDependentComposit ingInputs().filterAncestor; }
493 const RenderObject* clippingContainer() const { return ancestorDependentComp ositingInputs().clippingContainer; } 491 const RenderObject* clippingContainer() const { return ancestorDependentComp ositingInputs().clippingContainer; }
494 const RenderLayer* ancestorScrollingLayer() const { return ancestorDependent CompositingInputs().ancestorScrollingLayer; } 492 const RenderLayer* ancestorScrollingLayer() const { return ancestorDependent CompositingInputs().ancestorScrollingLayer; }
495 RenderLayer* scrollParent() const { return const_cast<RenderLayer*>(ancestor DependentCompositingInputs().scrollParent); } 493 RenderLayer* scrollParent() const { return const_cast<RenderLayer*>(ancestor DependentCompositingInputs().scrollParent); }
496 RenderLayer* clipParent() const { return const_cast<RenderLayer*>(ancestorDe pendentCompositingInputs().clipParent); } 494 RenderLayer* clipParent() const { return const_cast<RenderLayer*>(ancestorDe pendentCompositingInputs().clipParent); }
497 bool isUnclippedDescendant() const { return ancestorDependentCompositingInpu ts().isUnclippedDescendant; } 495 bool isUnclippedDescendant() const { return ancestorDependentCompositingInpu ts().isUnclippedDescendant; }
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 744
747 } // namespace blink 745 } // namespace blink
748 746
749 #ifndef NDEBUG 747 #ifndef NDEBUG
750 // Outside the WebCore namespace for ease of invocation from gdb. 748 // Outside the WebCore namespace for ease of invocation from gdb.
751 void showLayerTree(const blink::RenderLayer*); 749 void showLayerTree(const blink::RenderLayer*);
752 void showLayerTree(const blink::RenderObject*); 750 void showLayerTree(const blink::RenderObject*);
753 #endif 751 #endif
754 752
755 #endif // RenderLayer_h 753 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698