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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 1678443002: Revert of Layers that have a backdrop-filter should paints contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp ('k') | no next file » | 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1609 matching lines...) Expand 10 before | Expand all | Expand 10 after
1620 1620
1621 void setHasExplicitlyInheritedProperties() { noninherited_flags.explicitInhe ritance = true; } 1621 void setHasExplicitlyInheritedProperties() { noninherited_flags.explicitInhe ritance = true; }
1622 bool hasExplicitlyInheritedProperties() const { return noninherited_flags.ex plicitInheritance; } 1622 bool hasExplicitlyInheritedProperties() const { return noninherited_flags.ex plicitInheritance; }
1623 1623
1624 void setHasVariableReferenceFromNonInheritedProperty() { noninherited_flags. variableReference = true; } 1624 void setHasVariableReferenceFromNonInheritedProperty() { noninherited_flags. variableReference = true; }
1625 bool hasVariableReferenceFromNonInheritedProperty() const { return noninheri ted_flags.variableReference; } 1625 bool hasVariableReferenceFromNonInheritedProperty() const { return noninheri ted_flags.variableReference; }
1626 1626
1627 bool hasChildDependentFlags() const { return emptyState() || hasExplicitlyIn heritedProperties(); } 1627 bool hasChildDependentFlags() const { return emptyState() || hasExplicitlyIn heritedProperties(); }
1628 void copyChildDependentFlagsFrom(const ComputedStyle&); 1628 void copyChildDependentFlagsFrom(const ComputedStyle&);
1629 1629
1630 bool hasBoxDecorations() const { return hasBorderDecoration() || hasBorderRa dius() || hasOutline() || hasAppearance() || boxShadow() || hasFilter() || hasBa ckdropFilter() || resize() != RESIZE_NONE; } 1630 bool hasBoxDecorations() const { return hasBorderDecoration() || hasBorderRa dius() || hasOutline() || hasAppearance() || boxShadow() || hasFilter() || resiz e() != RESIZE_NONE; }
1631 1631
1632 bool borderObscuresBackground() const; 1632 bool borderObscuresBackground() const;
1633 void getBorderEdgeInfo(BorderEdge edges[], bool includeLogicalLeftEdge = tru e, bool includeLogicalRightEdge = true) const; 1633 void getBorderEdgeInfo(BorderEdge edges[], bool includeLogicalLeftEdge = tru e, bool includeLogicalRightEdge = true) const;
1634 1634
1635 void setHasAuthorBackground(bool authorBackground) { SET_VAR(rareNonInherite dData, m_hasAuthorBackground, authorBackground); } 1635 void setHasAuthorBackground(bool authorBackground) { SET_VAR(rareNonInherite dData, m_hasAuthorBackground, authorBackground); }
1636 void setHasAuthorBorder(bool authorBorder) { SET_VAR(rareNonInheritedData, m _hasAuthorBorder, authorBorder); } 1636 void setHasAuthorBorder(bool authorBorder) { SET_VAR(rareNonInheritedData, m _hasAuthorBorder, authorBorder); }
1637 bool hasAuthorBackground() const { return rareNonInheritedData->m_hasAuthorB ackground; }; 1637 bool hasAuthorBackground() const { return rareNonInheritedData->m_hasAuthorB ackground; };
1638 bool hasAuthorBorder() const { return rareNonInheritedData->m_hasAuthorBorde r; }; 1638 bool hasAuthorBorder() const { return rareNonInheritedData->m_hasAuthorBorde r; };
1639 1639
1640 // Initial values for all the properties 1640 // Initial values for all the properties
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
2018 } 2018 }
2019 2019
2020 inline bool ComputedStyle::hasPseudoElementStyle() const 2020 inline bool ComputedStyle::hasPseudoElementStyle() const
2021 { 2021 {
2022 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 2022 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
2023 } 2023 }
2024 2024
2025 } // namespace blink 2025 } // namespace blink
2026 2026
2027 #endif // ComputedStyle_h 2027 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698