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

Side by Side Diff: Source/core/rendering/style/RenderStyle.h

Issue 75303002: [Blending and compositing] Implement the isolation CSS property in software (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/rendering/RenderObject.cpp ('k') | Source/core/rendering/style/RenderStyle.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) 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 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 FilterOperations& mutableFilter() { return rareNonInheritedData.access()->m_ filter.access()->m_operations; } 917 FilterOperations& mutableFilter() { return rareNonInheritedData.access()->m_ filter.access()->m_operations; }
918 const FilterOperations& filter() const { return rareNonInheritedData->m_filt er->m_operations; } 918 const FilterOperations& filter() const { return rareNonInheritedData->m_filt er->m_operations; }
919 bool hasFilter() const { return !rareNonInheritedData->m_filter->m_operation s.operations().isEmpty(); } 919 bool hasFilter() const { return !rareNonInheritedData->m_filter->m_operation s.operations().isEmpty(); }
920 920
921 BlendMode blendMode() const; 921 BlendMode blendMode() const;
922 void setBlendMode(BlendMode v); 922 void setBlendMode(BlendMode v);
923 bool hasBlendMode() const; 923 bool hasBlendMode() const;
924 924
925 EIsolation isolation() const; 925 EIsolation isolation() const;
926 void setIsolation(EIsolation v); 926 void setIsolation(EIsolation v);
927 bool hasIsolation() const;
927 928
928 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef tToRightDirection() && isHorizontalWritingMode(); } 929 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef tToRightDirection() && isHorizontalWritingMode(); }
929 930
930 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh eritedData->m_touchAction); } 931 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh eritedData->m_touchAction); }
931 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe lay>(rareInheritedData->m_touchActionDelay); } 932 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe lay>(rareInheritedData->m_touchActionDelay); }
932 933
933 // attribute setter methods 934 // attribute setter methods
934 935
935 void setDisplay(EDisplay v) { noninherited_flags._effectiveDisplay = v; } 936 void setDisplay(EDisplay v) { noninherited_flags._effectiveDisplay = v; }
936 void setOriginalDisplay(EDisplay v) { noninherited_flags._originalDisplay = v; } 937 void setOriginalDisplay(EDisplay v) { noninherited_flags._originalDisplay = v; }
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
1848 inline void RenderStyle::setHasPseudoStyle(PseudoId pseudo) 1849 inline void RenderStyle::setHasPseudoStyle(PseudoId pseudo)
1849 { 1850 {
1850 ASSERT(pseudo > NOPSEUDO); 1851 ASSERT(pseudo > NOPSEUDO);
1851 ASSERT(pseudo < FIRST_INTERNAL_PSEUDOID); 1852 ASSERT(pseudo < FIRST_INTERNAL_PSEUDOID);
1852 noninherited_flags._pseudoBits |= 1 << (pseudo - 1); 1853 noninherited_flags._pseudoBits |= 1 << (pseudo - 1);
1853 } 1854 }
1854 1855
1855 } // namespace WebCore 1856 } // namespace WebCore
1856 1857
1857 #endif // RenderStyle_h 1858 #endif // RenderStyle_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderObject.cpp ('k') | Source/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698