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

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

Issue 2868783005: Make ETextSecurity 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
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 text_stroke_color_is_current_color_(true), 71 text_stroke_color_is_current_color_(true),
72 text_fill_color_is_current_color_(true), 72 text_fill_color_is_current_color_(true),
73 text_emphasis_color_is_current_color_(true), 73 text_emphasis_color_is_current_color_(true),
74 caret_color_is_current_color_(false), 74 caret_color_is_current_color_(false),
75 caret_color_is_auto_(true), 75 caret_color_is_auto_(true),
76 visited_link_text_stroke_color_is_current_color_(true), 76 visited_link_text_stroke_color_is_current_color_(true),
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_(ComputedStyle::InitialTextSecurity()), 81 text_security_(
82 static_cast<unsigned>(ComputedStyle::InitialTextSecurity())),
82 user_modify_(READ_ONLY), 83 user_modify_(READ_ONLY),
83 word_break_(ComputedStyle::InitialWordBreak()), 84 word_break_(ComputedStyle::InitialWordBreak()),
84 overflow_wrap_(ComputedStyle::InitialOverflowWrap()), 85 overflow_wrap_(ComputedStyle::InitialOverflowWrap()),
85 line_break_(kLineBreakAuto), 86 line_break_(kLineBreakAuto),
86 user_select_(ComputedStyle::InitialUserSelect()), 87 user_select_(ComputedStyle::InitialUserSelect()),
87 speak_(kSpeakNormal), 88 speak_(kSpeakNormal),
88 hyphens_(kHyphensManual), 89 hyphens_(kHyphensManual),
89 text_emphasis_fill_(kTextEmphasisFillFilled), 90 text_emphasis_fill_(kTextEmphasisFillFilled),
90 text_emphasis_mark_(kTextEmphasisMarkNone), 91 text_emphasis_mark_(kTextEmphasisMarkNone),
91 text_emphasis_position_(kTextEmphasisPositionOver), 92 text_emphasis_position_(kTextEmphasisPositionOver),
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 const StyleRareInheritedData& o) const { 258 const StyleRareInheritedData& o) const {
258 return DataEquivalent(text_shadow_, o.text_shadow_); 259 return DataEquivalent(text_shadow_, o.text_shadow_);
259 } 260 }
260 261
261 bool StyleRareInheritedData::QuotesDataEquivalent( 262 bool StyleRareInheritedData::QuotesDataEquivalent(
262 const StyleRareInheritedData& o) const { 263 const StyleRareInheritedData& o) const {
263 return DataEquivalent(quotes_, o.quotes_); 264 return DataEquivalent(quotes_, o.quotes_);
264 } 265 }
265 266
266 } // namespace blink 267 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698