OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. |
4 * All rights reserved. | 4 * All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 if (style_->SetEffectiveZoom(f)) | 194 if (style_->SetEffectiveZoom(f)) |
195 font_builder_.DidChangeEffectiveZoom(); | 195 font_builder_.DidChangeEffectiveZoom(); |
196 } | 196 } |
197 void SetWritingMode(WritingMode new_writing_mode) { | 197 void SetWritingMode(WritingMode new_writing_mode) { |
198 if (style_->GetWritingMode() == new_writing_mode) { | 198 if (style_->GetWritingMode() == new_writing_mode) { |
199 return; | 199 return; |
200 } | 200 } |
201 style_->SetWritingMode(new_writing_mode); | 201 style_->SetWritingMode(new_writing_mode); |
202 font_builder_.DidChangeWritingMode(); | 202 font_builder_.DidChangeWritingMode(); |
203 } | 203 } |
204 void SetTextOrientation(TextOrientation text_orientation) { | 204 void SetTextOrientation(ETextOrientation text_orientation) { |
205 if (style_->SetTextOrientation(text_orientation)) | 205 if (style_->SetTextOrientation(text_orientation)) |
206 font_builder_.DidChangeTextOrientation(); | 206 font_builder_.DidChangeTextOrientation(); |
207 } | 207 } |
208 | 208 |
209 void SetHasDirAutoAttribute(bool value) { has_dir_auto_attribute_ = value; } | 209 void SetHasDirAutoAttribute(bool value) { has_dir_auto_attribute_ = value; } |
210 bool HasDirAutoAttribute() const { return has_dir_auto_attribute_; } | 210 bool HasDirAutoAttribute() const { return has_dir_auto_attribute_; } |
211 | 211 |
212 void SetCustomPropertySetForApplyAtRule(const String&, StylePropertySet*); | 212 void SetCustomPropertySetForApplyAtRule(const String&, StylePropertySet*); |
213 StylePropertySet* CustomPropertySetForApplyAtRule(const String&); | 213 StylePropertySet* CustomPropertySetForApplyAtRule(const String&); |
214 | 214 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 | 252 |
253 mutable HeapHashMap< | 253 mutable HeapHashMap< |
254 Member<const CSSPendingSubstitutionValue>, | 254 Member<const CSSPendingSubstitutionValue>, |
255 Member<HeapHashMap<CSSPropertyID, Member<const CSSValue>>>> | 255 Member<HeapHashMap<CSSPropertyID, Member<const CSSValue>>>> |
256 parsed_properties_for_pending_substitution_cache_; | 256 parsed_properties_for_pending_substitution_cache_; |
257 }; | 257 }; |
258 | 258 |
259 } // namespace blink | 259 } // namespace blink |
260 | 260 |
261 #endif // StyleResolverState_h | 261 #endif // StyleResolverState_h |
OLD | NEW |