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

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

Issue 463123003: Cleanup namespace usage in Source/core/rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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
« no previous file with comments | « Source/core/rendering/style/FillLayer.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 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 bool isFlippedBlocksWritingMode() const { return blink::isFlippedBlocksWriti ngMode(writingMode()); } 941 bool isFlippedBlocksWritingMode() const { return blink::isFlippedBlocksWriti ngMode(writingMode()); }
942 942
943 EImageRendering imageRendering() const { return static_cast<EImageRendering> (rareInheritedData->m_imageRendering); } 943 EImageRendering imageRendering() const { return static_cast<EImageRendering> (rareInheritedData->m_imageRendering); }
944 944
945 ESpeak speak() const { return static_cast<ESpeak>(rareInheritedData->speak); } 945 ESpeak speak() const { return static_cast<ESpeak>(rareInheritedData->speak); }
946 946
947 FilterOperations& mutableFilter() { return rareNonInheritedData.access()->m_ filter.access()->m_operations; } 947 FilterOperations& mutableFilter() { return rareNonInheritedData.access()->m_ filter.access()->m_operations; }
948 const FilterOperations& filter() const { return rareNonInheritedData->m_filt er->m_operations; } 948 const FilterOperations& filter() const { return rareNonInheritedData->m_filt er->m_operations; }
949 bool hasFilter() const { return !rareNonInheritedData->m_filter->m_operation s.operations().isEmpty(); } 949 bool hasFilter() const { return !rareNonInheritedData->m_filter->m_operation s.operations().isEmpty(); }
950 950
951 blink::WebBlendMode blendMode() const; 951 WebBlendMode blendMode() const;
952 void setBlendMode(blink::WebBlendMode v); 952 void setBlendMode(WebBlendMode v);
953 bool hasBlendMode() const; 953 bool hasBlendMode() const;
954 954
955 EIsolation isolation() const; 955 EIsolation isolation() const;
956 void setIsolation(EIsolation v); 956 void setIsolation(EIsolation v);
957 bool hasIsolation() const; 957 bool hasIsolation() const;
958 958
959 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef tToRightDirection() && isHorizontalWritingMode(); } 959 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef tToRightDirection() && isHorizontalWritingMode(); }
960 960
961 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh eritedData->m_touchAction); } 961 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh eritedData->m_touchAction); }
962 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe lay>(rareInheritedData->m_touchActionDelay); } 962 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe lay>(rareInheritedData->m_touchActionDelay); }
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after
1719 static WrapThrough initialWrapThrough() { return WrapThroughWrap; } 1719 static WrapThrough initialWrapThrough() { return WrapThroughWrap; }
1720 1720
1721 static QuotesData* initialQuotes() { return 0; } 1721 static QuotesData* initialQuotes() { return 0; }
1722 1722
1723 // Keep these at the end. 1723 // Keep these at the end.
1724 // FIXME: Why? Seems these should all be one big sorted list. 1724 // FIXME: Why? Seems these should all be one big sorted list.
1725 static LineClampValue initialLineClamp() { return LineClampValue(); } 1725 static LineClampValue initialLineClamp() { return LineClampValue(); }
1726 static ETextSecurity initialTextSecurity() { return TSNONE; } 1726 static ETextSecurity initialTextSecurity() { return TSNONE; }
1727 static Color initialTapHighlightColor(); 1727 static Color initialTapHighlightColor();
1728 static const FilterOperations& initialFilter() { DEFINE_STATIC_LOCAL(FilterO perations, ops, ()); return ops; } 1728 static const FilterOperations& initialFilter() { DEFINE_STATIC_LOCAL(FilterO perations, ops, ()); return ops; }
1729 static blink::WebBlendMode initialBlendMode() { return blink::WebBlendModeNo rmal; } 1729 static WebBlendMode initialBlendMode() { return WebBlendModeNormal; }
1730 static EIsolation initialIsolation() { return IsolationAuto; } 1730 static EIsolation initialIsolation() { return IsolationAuto; }
1731 private: 1731 private:
1732 void setVisitedLinkColor(const Color&); 1732 void setVisitedLinkColor(const Color&);
1733 void setVisitedLinkBackgroundColor(const StyleColor& v) { SET_VAR(rareNonInh eritedData, m_visitedLinkBackgroundColor, v); } 1733 void setVisitedLinkBackgroundColor(const StyleColor& v) { SET_VAR(rareNonInh eritedData, m_visitedLinkBackgroundColor, v); }
1734 void setVisitedLinkBorderLeftColor(const StyleColor& v) { SET_VAR(rareNonInh eritedData, m_visitedLinkBorderLeftColor, v); } 1734 void setVisitedLinkBorderLeftColor(const StyleColor& v) { SET_VAR(rareNonInh eritedData, m_visitedLinkBorderLeftColor, v); }
1735 void setVisitedLinkBorderRightColor(const StyleColor& v) { SET_VAR(rareNonIn heritedData, m_visitedLinkBorderRightColor, v); } 1735 void setVisitedLinkBorderRightColor(const StyleColor& v) { SET_VAR(rareNonIn heritedData, m_visitedLinkBorderRightColor, v); }
1736 void setVisitedLinkBorderBottomColor(const StyleColor& v) { SET_VAR(rareNonI nheritedData, m_visitedLinkBorderBottomColor, v); } 1736 void setVisitedLinkBorderBottomColor(const StyleColor& v) { SET_VAR(rareNonI nheritedData, m_visitedLinkBorderBottomColor, v); }
1737 void setVisitedLinkBorderTopColor(const StyleColor& v) { SET_VAR(rareNonInhe ritedData, m_visitedLinkBorderTopColor, v); } 1737 void setVisitedLinkBorderTopColor(const StyleColor& v) { SET_VAR(rareNonInhe ritedData, m_visitedLinkBorderTopColor, v); }
1738 void setVisitedLinkOutlineColor(const StyleColor& v) { SET_VAR(rareNonInheri tedData, m_visitedLinkOutlineColor, v); } 1738 void setVisitedLinkOutlineColor(const StyleColor& v) { SET_VAR(rareNonInheri tedData, m_visitedLinkOutlineColor, v); }
1739 void setVisitedLinkColumnRuleColor(const StyleColor& v) { SET_VAR(rareNonInh eritedData.access()->m_multiCol, m_visitedLinkColumnRuleColor, v); } 1739 void setVisitedLinkColumnRuleColor(const StyleColor& v) { SET_VAR(rareNonInh eritedData.access()->m_multiCol, m_visitedLinkColumnRuleColor, v); }
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1915 inline bool RenderStyle::hasPseudoElementStyle() const 1915 inline bool RenderStyle::hasPseudoElementStyle() const
1916 { 1916 {
1917 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 1917 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
1918 } 1918 }
1919 1919
1920 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1920 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1921 1921
1922 } // namespace blink 1922 } // namespace blink
1923 1923
1924 #endif // RenderStyle_h 1924 #endif // RenderStyle_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/FillLayer.cpp ('k') | Source/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698