| OLD | NEW |
| 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 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1139 static Length InitialOffsetDistance() { return Length(0, kFixed); } | 1139 static Length InitialOffsetDistance() { return Length(0, kFixed); } |
| 1140 const Length& OffsetDistance() const { | 1140 const Length& OffsetDistance() const { |
| 1141 return rare_non_inherited_data_->transform_->motion_.distance_; | 1141 return rare_non_inherited_data_->transform_->motion_.distance_; |
| 1142 } | 1142 } |
| 1143 void SetOffsetDistance(const Length& offset_distance) { | 1143 void SetOffsetDistance(const Length& offset_distance) { |
| 1144 SET_NESTED_VAR(rare_non_inherited_data_, transform_, motion_.distance_, | 1144 SET_NESTED_VAR(rare_non_inherited_data_, transform_, motion_.distance_, |
| 1145 offset_distance); | 1145 offset_distance); |
| 1146 } | 1146 } |
| 1147 | 1147 |
| 1148 // offset-path | 1148 // offset-path |
| 1149 static StylePath* InitialOffsetPath() { return nullptr; } | 1149 static BasicShape* InitialOffsetPath() { return nullptr; } |
| 1150 StylePath* OffsetPath() const { | 1150 BasicShape* OffsetPath() const { |
| 1151 return rare_non_inherited_data_->transform_->motion_.path_.Get(); | 1151 return rare_non_inherited_data_->transform_->motion_.path_.Get(); |
| 1152 } | 1152 } |
| 1153 void SetOffsetPath(PassRefPtr<StylePath>); | 1153 void SetOffsetPath(PassRefPtr<BasicShape>); |
| 1154 | 1154 |
| 1155 // offset-position | 1155 // offset-position |
| 1156 static LengthPoint InitialOffsetPosition() { | 1156 static LengthPoint InitialOffsetPosition() { |
| 1157 return LengthPoint(Length(kAuto), Length(kAuto)); | 1157 return LengthPoint(Length(kAuto), Length(kAuto)); |
| 1158 } | 1158 } |
| 1159 const LengthPoint& OffsetPosition() const { | 1159 const LengthPoint& OffsetPosition() const { |
| 1160 return rare_non_inherited_data_->transform_->motion_.position_; | 1160 return rare_non_inherited_data_->transform_->motion_.position_; |
| 1161 } | 1161 } |
| 1162 void SetOffsetPosition(const LengthPoint& offset_position) { | 1162 void SetOffsetPosition(const LengthPoint& offset_position) { |
| 1163 SET_NESTED_VAR(rare_non_inherited_data_, transform_, motion_.position_, | 1163 SET_NESTED_VAR(rare_non_inherited_data_, transform_, motion_.position_, |
| (...skipping 2657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3821 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3821 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
| 3822 } | 3822 } |
| 3823 | 3823 |
| 3824 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3824 inline bool ComputedStyle::HasPseudoElementStyle() const { |
| 3825 return PseudoBitsInternal() & kElementPseudoIdMask; | 3825 return PseudoBitsInternal() & kElementPseudoIdMask; |
| 3826 } | 3826 } |
| 3827 | 3827 |
| 3828 } // namespace blink | 3828 } // namespace blink |
| 3829 | 3829 |
| 3830 #endif // ComputedStyle_h | 3830 #endif // ComputedStyle_h |
| OLD | NEW |