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

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

Issue 2624703002: Removed ComputedStyle::inheritUnicodeBidiFrom (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | third_party/WebKit/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 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
6 * rights reserved. 6 * rights reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 3708 matching lines...) Expand 10 before | Expand all | Expand 10 after
3719 } 3719 }
3720 void setVisitedLinkTextStrokeColor(const StyleColor& v) { 3720 void setVisitedLinkTextStrokeColor(const StyleColor& v) {
3721 SET_VAR_WITH_SETTER(m_rareInheritedData, visitedLinkTextStrokeColor, 3721 SET_VAR_WITH_SETTER(m_rareInheritedData, visitedLinkTextStrokeColor,
3722 setVisitedLinkTextStrokeColor, v); 3722 setVisitedLinkTextStrokeColor, v);
3723 } 3723 }
3724 void setVisitedLinkCaretColor(const StyleAutoColor& v) { 3724 void setVisitedLinkCaretColor(const StyleAutoColor& v) {
3725 SET_VAR_WITH_SETTER(m_rareInheritedData, visitedLinkCaretColor, 3725 SET_VAR_WITH_SETTER(m_rareInheritedData, visitedLinkCaretColor,
3726 setVisitedLinkCaretColor, v); 3726 setVisitedLinkCaretColor, v);
3727 } 3727 }
3728 3728
3729 void inheritUnicodeBidiFrom(const ComputedStyle& parent) {
3730 m_nonInheritedData.m_unicodeBidi = parent.m_nonInheritedData.m_unicodeBidi;
3731 }
3732
3733 static bool isDisplayFlexibleBox(EDisplay display) { 3729 static bool isDisplayFlexibleBox(EDisplay display) {
3734 return display == EDisplay::Flex || display == EDisplay::InlineFlex; 3730 return display == EDisplay::Flex || display == EDisplay::InlineFlex;
3735 } 3731 }
3736 3732
3737 static bool isDisplayGridBox(EDisplay display) { 3733 static bool isDisplayGridBox(EDisplay display) {
3738 return display == EDisplay::Grid || display == EDisplay::InlineGrid; 3734 return display == EDisplay::Grid || display == EDisplay::InlineGrid;
3739 } 3735 }
3740 3736
3741 static bool isDisplayReplacedType(EDisplay display) { 3737 static bool isDisplayReplacedType(EDisplay display) {
3742 return display == EDisplay::InlineBlock || 3738 return display == EDisplay::InlineBlock ||
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
3953 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); 3949 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1);
3954 } 3950 }
3955 3951
3956 inline bool ComputedStyle::hasPseudoElementStyle() const { 3952 inline bool ComputedStyle::hasPseudoElementStyle() const {
3957 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; 3953 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask;
3958 } 3954 }
3959 3955
3960 } // namespace blink 3956 } // namespace blink
3961 3957
3962 #endif // ComputedStyle_h 3958 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698