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

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

Issue 327593002: Remove illegal compositing queries in RenderObject::adjustStyleDifference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | « no previous file | Source/core/rendering/RenderObject.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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 429
430 PassOwnPtr<Vector<FloatRect> > collectTrackedRepaintRects() const; 430 PassOwnPtr<Vector<FloatRect> > collectTrackedRepaintRects() const;
431 431
432 RenderLayerBlendInfo& blendInfo() { return m_blendInfo; } 432 RenderLayerBlendInfo& blendInfo() { return m_blendInfo; }
433 433
434 void setOffsetFromSquashingLayerOrigin(IntSize offset) { m_offsetFromSquashi ngLayerOrigin = offset; } 434 void setOffsetFromSquashingLayerOrigin(IntSize offset) { m_offsetFromSquashi ngLayerOrigin = offset; }
435 IntSize offsetFromSquashingLayerOrigin() const { ASSERT(isAllowedToQueryComp ositingState()); return m_offsetFromSquashingLayerOrigin; } 435 IntSize offsetFromSquashingLayerOrigin() const { ASSERT(isAllowedToQueryComp ositingState()); return m_offsetFromSquashingLayerOrigin; }
436 436
437 bool scrollsOverflow() const; 437 bool scrollsOverflow() const;
438 438
439 bool hasDirectReasonsForCompositing() const { return compositingReasons() & CompositingReasonComboAllDirectReasons; }
440
441 CompositingReasons styleDeterminedCompositingReasons() const { return m_styl eDeterminedCompositingReasons; } 439 CompositingReasons styleDeterminedCompositingReasons() const { return m_styl eDeterminedCompositingReasons; }
442 void setStyleDeterminedCompositingReasons(CompositingReasons reasons) { ASSE RT(reasons == (reasons & CompositingReasonComboAllStyleDeterminedReasons)); m_st yleDeterminedCompositingReasons = reasons; } 440 void setStyleDeterminedCompositingReasons(CompositingReasons reasons) { ASSE RT(reasons == (reasons & CompositingReasonComboAllStyleDeterminedReasons)); m_st yleDeterminedCompositingReasons = reasons; }
443 441
444 class AncestorDependentProperties { 442 class AncestorDependentProperties {
445 public: 443 public:
446 AncestorDependentProperties() 444 AncestorDependentProperties()
447 : opacityAncestor(0) 445 : opacityAncestor(0)
448 , transformAncestor(0) 446 , transformAncestor(0)
449 , filterAncestor(0) 447 , filterAncestor(0)
450 , isUnclippedDescendant(false) 448 , isUnclippedDescendant(false)
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 723
726 } // namespace WebCore 724 } // namespace WebCore
727 725
728 #ifndef NDEBUG 726 #ifndef NDEBUG
729 // Outside the WebCore namespace for ease of invocation from gdb. 727 // Outside the WebCore namespace for ease of invocation from gdb.
730 void showLayerTree(const WebCore::RenderLayer*); 728 void showLayerTree(const WebCore::RenderLayer*);
731 void showLayerTree(const WebCore::RenderObject*); 729 void showLayerTree(const WebCore::RenderObject*);
732 #endif 730 #endif
733 731
734 #endif // RenderLayer_h 732 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698