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

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

Issue 2882093002: Make EUserSelect an enum class. (Closed)
Patch Set: Rebase 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 visited_link_text_fill_color_is_current_color_(true), 77 visited_link_text_fill_color_is_current_color_(true),
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_(static_cast<unsigned>(EUserModify::kReadOnly)), 83 user_modify_(static_cast<unsigned>(EUserModify::kReadOnly)),
84 word_break_(ComputedStyle::InitialWordBreak()), 84 word_break_(ComputedStyle::InitialWordBreak()),
85 overflow_wrap_(ComputedStyle::InitialOverflowWrap()), 85 overflow_wrap_(ComputedStyle::InitialOverflowWrap()),
86 line_break_(static_cast<unsigned>(LineBreak::kAuto)), 86 line_break_(static_cast<unsigned>(LineBreak::kAuto)),
87 user_select_(ComputedStyle::InitialUserSelect()), 87 user_select_(static_cast<unsigned>(ComputedStyle::InitialUserSelect())),
88 speak_(static_cast<unsigned>(ESpeak::kNormal)), 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()),
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 text_decoration_skip_ == o.text_decoration_skip_ && 178 text_decoration_skip_ == o.text_decoration_skip_ &&
179 ruby_position_ == o.ruby_position_ && 179 ruby_position_ == o.ruby_position_ &&
180 DataEquivalent(list_style_image_, o.list_style_image_) && 180 DataEquivalent(list_style_image_, o.list_style_image_) &&
181 DataEquivalent(applied_text_decorations_, 181 DataEquivalent(applied_text_decorations_,
182 o.applied_text_decorations_) && 182 o.applied_text_decorations_) &&
183 DataEquivalent(variables_, o.variables_) && 183 DataEquivalent(variables_, o.variables_) &&
184 text_size_adjust_ == o.text_size_adjust_; 184 text_size_adjust_ == o.text_size_adjust_;
185 } 185 }
186 186
187 } // namespace blink 187 } // 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