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

Side by Side Diff: third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp

Issue 2882113002: Make ESpeak an enum class. (Closed)
Patch Set: Created 3 years, 7 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 | « third_party/WebKit/Source/core/style/ComputedStyleConstants.h ('k') | no next file » | 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) 1999 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
4 * reserved. 4 * 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 visited_link_text_emphasis_color_is_current_color_(true), 78 visited_link_text_emphasis_color_is_current_color_(true),
79 visited_link_caret_color_is_current_color_(false), 79 visited_link_caret_color_is_current_color_(false),
80 visited_link_caret_color_is_auto_(true), 80 visited_link_caret_color_is_auto_(true),
81 text_security_( 81 text_security_(
82 static_cast<unsigned>(ComputedStyle::InitialTextSecurity())), 82 static_cast<unsigned>(ComputedStyle::InitialTextSecurity())),
83 user_modify_(READ_ONLY), 83 user_modify_(READ_ONLY),
84 word_break_(ComputedStyle::InitialWordBreak()), 84 word_break_(ComputedStyle::InitialWordBreak()),
85 overflow_wrap_(ComputedStyle::InitialOverflowWrap()), 85 overflow_wrap_(ComputedStyle::InitialOverflowWrap()),
86 line_break_(kLineBreakAuto), 86 line_break_(kLineBreakAuto),
87 user_select_(ComputedStyle::InitialUserSelect()), 87 user_select_(ComputedStyle::InitialUserSelect()),
88 speak_(kSpeakNormal), 88 speak_(static_cast<unsigned>(ESpeak::kNormal)),
89 hyphens_(kHyphensManual), 89 hyphens_(kHyphensManual),
90 text_emphasis_fill_(kTextEmphasisFillFilled), 90 text_emphasis_fill_(kTextEmphasisFillFilled),
91 text_emphasis_mark_(kTextEmphasisMarkNone), 91 text_emphasis_mark_(kTextEmphasisMarkNone),
92 text_emphasis_position_(kTextEmphasisPositionOver), 92 text_emphasis_position_(kTextEmphasisPositionOver),
93 text_align_last_(ComputedStyle::InitialTextAlignLast()), 93 text_align_last_(ComputedStyle::InitialTextAlignLast()),
94 text_justify_(ComputedStyle::InitialTextJustify()), 94 text_justify_(ComputedStyle::InitialTextJustify()),
95 text_orientation_(kTextOrientationMixed), 95 text_orientation_(kTextOrientationMixed),
96 text_combine_(ComputedStyle::InitialTextCombine()), 96 text_combine_(ComputedStyle::InitialTextCombine()),
97 text_indent_line_(ComputedStyle::InitialTextIndentLine()), 97 text_indent_line_(ComputedStyle::InitialTextIndentLine()),
98 text_indent_type_(ComputedStyle::InitialTextIndentLine()), 98 text_indent_type_(ComputedStyle::InitialTextIndentLine()),
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 const StyleRareInheritedData& o) const { 261 const StyleRareInheritedData& o) const {
262 return DataEquivalent(text_shadow_, o.text_shadow_); 262 return DataEquivalent(text_shadow_, o.text_shadow_);
263 } 263 }
264 264
265 bool StyleRareInheritedData::QuotesDataEquivalent( 265 bool StyleRareInheritedData::QuotesDataEquivalent(
266 const StyleRareInheritedData& o) const { 266 const StyleRareInheritedData& o) const {
267 return DataEquivalent(quotes_, o.quotes_); 267 return DataEquivalent(quotes_, o.quotes_);
268 } 268 }
269 269
270 } // namespace blink 270 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyleConstants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698