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

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

Issue 1194733002: Adding the 'filter' context attribute to 2D canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: applied corrections Created 5 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
« no previous file with comments | « Source/core/paint/FilterEffectBuilder.cpp ('k') | Source/core/style/ComputedStyle.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 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 1101
1102 void setHasAutoClip() { SET_VAR(visual, hasAutoClip, true); SET_VAR(visual, clip, ComputedStyle::initialClip()); } 1102 void setHasAutoClip() { SET_VAR(visual, hasAutoClip, true); SET_VAR(visual, clip, ComputedStyle::initialClip()); }
1103 void setClip(const LengthBox& box) { SET_VAR(visual, hasAutoClip, false); SE T_VAR(visual, clip, box); } 1103 void setClip(const LengthBox& box) { SET_VAR(visual, hasAutoClip, false); SE T_VAR(visual, clip, box); }
1104 1104
1105 void setUnicodeBidi(EUnicodeBidi b) { noninherited_flags.unicodeBidi = b; } 1105 void setUnicodeBidi(EUnicodeBidi b) { noninherited_flags.unicodeBidi = b; }
1106 1106
1107 void setClear(EClear v) { noninherited_flags.clear = v; } 1107 void setClear(EClear v) { noninherited_flags.clear = v; }
1108 void setTableLayout(ETableLayout v) { noninherited_flags.tableLayout = v; } 1108 void setTableLayout(ETableLayout v) { noninherited_flags.tableLayout = v; }
1109 1109
1110 bool setFontDescription(const FontDescription&); 1110 bool setFontDescription(const FontDescription&);
1111 void setFont(const Font&);
1111 1112
1112 void setTextAutosizingMultiplier(float); 1113 void setTextAutosizingMultiplier(float);
1113 1114
1114 void setColor(const Color&); 1115 void setColor(const Color&);
1115 void setTextIndent(const Length& v) { SET_VAR(rareInheritedData, indent, v); } 1116 void setTextIndent(const Length& v) { SET_VAR(rareInheritedData, indent, v); }
1116 void setTextIndentLine(TextIndentLine v) { SET_VAR(rareInheritedData, m_text IndentLine, v); } 1117 void setTextIndentLine(TextIndentLine v) { SET_VAR(rareInheritedData, m_text IndentLine, v); }
1117 void setTextIndentType(TextIndentType v) { SET_VAR(rareInheritedData, m_text IndentType, v); } 1118 void setTextIndentType(TextIndentType v) { SET_VAR(rareInheritedData, m_text IndentType, v); }
1118 void setTextAlign(ETextAlign v) { inherited_flags._text_align = v; } 1119 void setTextAlign(ETextAlign v) { inherited_flags._text_align = v; }
1119 void setTextAlignLast(TextAlignLast v) { SET_VAR(rareInheritedData, m_textAl ignLast, v); } 1120 void setTextAlignLast(TextAlignLast v) { SET_VAR(rareInheritedData, m_textAl ignLast, v); }
1120 void setTextJustify(TextJustify v) { SET_VAR(rareInheritedData, m_textJustif y, v); } 1121 void setTextJustify(TextJustify v) { SET_VAR(rareInheritedData, m_textJustif y, v); }
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
1931 } 1932 }
1932 1933
1933 inline bool ComputedStyle::hasPseudoElementStyle() const 1934 inline bool ComputedStyle::hasPseudoElementStyle() const
1934 { 1935 {
1935 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 1936 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
1936 } 1937 }
1937 1938
1938 } // namespace blink 1939 } // namespace blink
1939 1940
1940 #endif // ComputedStyle_h 1941 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « Source/core/paint/FilterEffectBuilder.cpp ('k') | Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698