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

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

Issue 2920133003: Rename RareInheritedData::variables and RareNonInheritedData::variables. (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
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareNonInheritedData.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 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 page_size_(), 86 page_size_(),
87 shape_margin_(ComputedStyle::InitialShapeMargin()), 87 shape_margin_(ComputedStyle::InitialShapeMargin()),
88 text_decoration_color_(StyleColor::CurrentColor()), 88 text_decoration_color_(StyleColor::CurrentColor()),
89 visited_link_text_decoration_color_(StyleColor::CurrentColor()), 89 visited_link_text_decoration_color_(StyleColor::CurrentColor()),
90 visited_link_background_color_(ComputedStyle::InitialBackgroundColor()), 90 visited_link_background_color_(ComputedStyle::InitialBackgroundColor()),
91 visited_link_outline_color_(StyleColor::CurrentColor()), 91 visited_link_outline_color_(StyleColor::CurrentColor()),
92 visited_link_border_left_color_(StyleColor::CurrentColor()), 92 visited_link_border_left_color_(StyleColor::CurrentColor()),
93 visited_link_border_right_color_(StyleColor::CurrentColor()), 93 visited_link_border_right_color_(StyleColor::CurrentColor()),
94 visited_link_border_top_color_(StyleColor::CurrentColor()), 94 visited_link_border_top_color_(StyleColor::CurrentColor()),
95 visited_link_border_bottom_color_(StyleColor::CurrentColor()), 95 visited_link_border_bottom_color_(StyleColor::CurrentColor()),
96 variables_(ComputedStyle::InitialNonInheritedVariables()), 96 non_inherited_variables_(ComputedStyle::InitialNonInheritedVariables()),
97 align_content_(ComputedStyle::InitialContentAlignment()), 97 align_content_(ComputedStyle::InitialContentAlignment()),
98 align_items_(ComputedStyle::InitialDefaultAlignment()), 98 align_items_(ComputedStyle::InitialDefaultAlignment()),
99 align_self_(ComputedStyle::InitialSelfAlignment()), 99 align_self_(ComputedStyle::InitialSelfAlignment()),
100 justify_content_(ComputedStyle::InitialContentAlignment()), 100 justify_content_(ComputedStyle::InitialContentAlignment()),
101 justify_items_(ComputedStyle::InitialSelfAlignment()), 101 justify_items_(ComputedStyle::InitialSelfAlignment()),
102 justify_self_(ComputedStyle::InitialSelfAlignment()), 102 justify_self_(ComputedStyle::InitialSelfAlignment()),
103 page_size_type_(static_cast<unsigned>(PageSizeType::kAuto)), 103 page_size_type_(static_cast<unsigned>(PageSizeType::kAuto)),
104 transform_style_3d_(ComputedStyle::InitialTransformStyle3D()), 104 transform_style_3d_(ComputedStyle::InitialTransformStyle3D()),
105 backface_visibility_(ComputedStyle::InitialBackfaceVisibility()), 105 backface_visibility_(ComputedStyle::InitialBackfaceVisibility()),
106 user_drag_(ComputedStyle::InitialUserDrag()), 106 user_drag_(ComputedStyle::InitialUserDrag()),
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 o.visited_link_text_decoration_color_), 172 o.visited_link_text_decoration_color_),
173 visited_link_background_color_(o.visited_link_background_color_), 173 visited_link_background_color_(o.visited_link_background_color_),
174 visited_link_outline_color_(o.visited_link_outline_color_), 174 visited_link_outline_color_(o.visited_link_outline_color_),
175 visited_link_border_left_color_(o.visited_link_border_left_color_), 175 visited_link_border_left_color_(o.visited_link_border_left_color_),
176 visited_link_border_right_color_(o.visited_link_border_right_color_), 176 visited_link_border_right_color_(o.visited_link_border_right_color_),
177 visited_link_border_top_color_(o.visited_link_border_top_color_), 177 visited_link_border_top_color_(o.visited_link_border_top_color_),
178 visited_link_border_bottom_color_(o.visited_link_border_bottom_color_), 178 visited_link_border_bottom_color_(o.visited_link_border_bottom_color_),
179 callback_selectors_(o.callback_selectors_), 179 callback_selectors_(o.callback_selectors_),
180 paint_images_(o.paint_images_ ? new PaintImages(*o.paint_images_) 180 paint_images_(o.paint_images_ ? new PaintImages(*o.paint_images_)
181 : nullptr), 181 : nullptr),
182 variables_(o.variables_ ? o.variables_->Clone() : nullptr), 182 non_inherited_variables_(o.non_inherited_variables_
183 ? o.non_inherited_variables_->Clone()
184 : nullptr),
183 align_content_(o.align_content_), 185 align_content_(o.align_content_),
184 align_items_(o.align_items_), 186 align_items_(o.align_items_),
185 align_self_(o.align_self_), 187 align_self_(o.align_self_),
186 justify_content_(o.justify_content_), 188 justify_content_(o.justify_content_),
187 justify_items_(o.justify_items_), 189 justify_items_(o.justify_items_),
188 justify_self_(o.justify_self_), 190 justify_self_(o.justify_self_),
189 page_size_type_(o.page_size_type_), 191 page_size_type_(o.page_size_type_),
190 transform_style_3d_(o.transform_style_3d_), 192 transform_style_3d_(o.transform_style_3d_),
191 backface_visibility_(o.backface_visibility_), 193 backface_visibility_(o.backface_visibility_),
192 user_drag_(o.user_drag_), 194 user_drag_(o.user_drag_),
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 o.visited_link_text_decoration_color_ && 257 o.visited_link_text_decoration_color_ &&
256 visited_link_background_color_ == o.visited_link_background_color_ && 258 visited_link_background_color_ == o.visited_link_background_color_ &&
257 visited_link_outline_color_ == o.visited_link_outline_color_ && 259 visited_link_outline_color_ == o.visited_link_outline_color_ &&
258 visited_link_border_left_color_ == o.visited_link_border_left_color_ && 260 visited_link_border_left_color_ == o.visited_link_border_left_color_ &&
259 visited_link_border_right_color_ == 261 visited_link_border_right_color_ ==
260 o.visited_link_border_right_color_ && 262 o.visited_link_border_right_color_ &&
261 visited_link_border_top_color_ == o.visited_link_border_top_color_ && 263 visited_link_border_top_color_ == o.visited_link_border_top_color_ &&
262 visited_link_border_bottom_color_ == 264 visited_link_border_bottom_color_ ==
263 o.visited_link_border_bottom_color_ && 265 o.visited_link_border_bottom_color_ &&
264 callback_selectors_ == o.callback_selectors_ && 266 callback_selectors_ == o.callback_selectors_ &&
265 DataEquivalent(variables_, o.variables_) && 267 DataEquivalent(non_inherited_variables_, o.non_inherited_variables_) &&
266 align_content_ == o.align_content_ && align_items_ == o.align_items_ && 268 align_content_ == o.align_content_ && align_items_ == o.align_items_ &&
267 align_self_ == o.align_self_ && 269 align_self_ == o.align_self_ &&
268 justify_content_ == o.justify_content_ && 270 justify_content_ == o.justify_content_ &&
269 justify_items_ == o.justify_items_ && 271 justify_items_ == o.justify_items_ &&
270 justify_self_ == o.justify_self_ && 272 justify_self_ == o.justify_self_ &&
271 page_size_type_ == o.page_size_type_ && 273 page_size_type_ == o.page_size_type_ &&
272 transform_style_3d_ == o.transform_style_3d_ && 274 transform_style_3d_ == o.transform_style_3d_ &&
273 backface_visibility_ == o.backface_visibility_ && 275 backface_visibility_ == o.backface_visibility_ &&
274 user_drag_ == o.user_drag_ && text_overflow_ == o.text_overflow_ && 276 user_drag_ == o.user_drag_ && text_overflow_ == o.text_overflow_ &&
275 margin_before_collapse_ == o.margin_before_collapse_ && 277 margin_before_collapse_ == o.margin_before_collapse_ &&
(...skipping 15 matching lines...) Expand all
291 requires_accelerated_compositing_for_external_reasons_ == 293 requires_accelerated_compositing_for_external_reasons_ ==
292 o.requires_accelerated_compositing_for_external_reasons_ && 294 o.requires_accelerated_compositing_for_external_reasons_ &&
293 has_inline_transform_ == o.has_inline_transform_ && 295 has_inline_transform_ == o.has_inline_transform_ &&
294 resize_ == o.resize_ && 296 resize_ == o.resize_ &&
295 has_compositor_proxy_ == o.has_compositor_proxy_ && 297 has_compositor_proxy_ == o.has_compositor_proxy_ &&
296 has_author_background_ == o.has_author_background_ && 298 has_author_background_ == o.has_author_background_ &&
297 has_author_border_ == o.has_author_border_; 299 has_author_border_ == o.has_author_border_;
298 } 300 }
299 301
300 } // namespace blink 302 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698