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

Side by Side Diff: third_party/WebKit/Source/core/css/resolver/StyleResolverState.h

Issue 2913723002: Generate enum/getters/setters/mappings for text-orientation. (Closed)
Patch Set: Rebase Created 3 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
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698