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

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

Issue 2932593004: Update the snap points css properties (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 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 running_transform_animation_on_compositor_(false), 118 running_transform_animation_on_compositor_(false),
119 running_filter_animation_on_compositor_(false), 119 running_filter_animation_on_compositor_(false),
120 running_backdrop_filter_animation_on_compositor_(false), 120 running_backdrop_filter_animation_on_compositor_(false),
121 is_stacking_context_(false), 121 is_stacking_context_(false),
122 effective_blend_mode_(ComputedStyle::InitialBlendMode()), 122 effective_blend_mode_(ComputedStyle::InitialBlendMode()),
123 touch_action_(ComputedStyle::InitialTouchAction()), 123 touch_action_(ComputedStyle::InitialTouchAction()),
124 object_fit_(ComputedStyle::InitialObjectFit()), 124 object_fit_(ComputedStyle::InitialObjectFit()),
125 isolation_(ComputedStyle::InitialIsolation()), 125 isolation_(ComputedStyle::InitialIsolation()),
126 contain_(ComputedStyle::InitialContain()), 126 contain_(ComputedStyle::InitialContain()),
127 scroll_behavior_(ComputedStyle::InitialScrollBehavior()), 127 scroll_behavior_(ComputedStyle::InitialScrollBehavior()),
128 scroll_snap_type_(ComputedStyle::InitialScrollSnapType()),
129 requires_accelerated_compositing_for_external_reasons_(false), 128 requires_accelerated_compositing_for_external_reasons_(false),
130 has_inline_transform_(false), 129 has_inline_transform_(false),
131 resize_(ComputedStyle::InitialResize()), 130 resize_(ComputedStyle::InitialResize()),
132 has_compositor_proxy_(false), 131 has_compositor_proxy_(false),
133 has_author_background_(false), 132 has_author_background_(false),
134 has_author_border_(false) {} 133 has_author_border_(false) {}
135 134
136 StyleRareNonInheritedData::StyleRareNonInheritedData( 135 StyleRareNonInheritedData::StyleRareNonInheritedData(
137 const StyleRareNonInheritedData& o) 136 const StyleRareNonInheritedData& o)
138 : RefCounted<StyleRareNonInheritedData>(), 137 : RefCounted<StyleRareNonInheritedData>(),
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 o.running_filter_animation_on_compositor_), 207 o.running_filter_animation_on_compositor_),
209 running_backdrop_filter_animation_on_compositor_( 208 running_backdrop_filter_animation_on_compositor_(
210 o.running_backdrop_filter_animation_on_compositor_), 209 o.running_backdrop_filter_animation_on_compositor_),
211 is_stacking_context_(o.is_stacking_context_), 210 is_stacking_context_(o.is_stacking_context_),
212 effective_blend_mode_(o.effective_blend_mode_), 211 effective_blend_mode_(o.effective_blend_mode_),
213 touch_action_(o.touch_action_), 212 touch_action_(o.touch_action_),
214 object_fit_(o.object_fit_), 213 object_fit_(o.object_fit_),
215 isolation_(o.isolation_), 214 isolation_(o.isolation_),
216 contain_(o.contain_), 215 contain_(o.contain_),
217 scroll_behavior_(o.scroll_behavior_), 216 scroll_behavior_(o.scroll_behavior_),
218 scroll_snap_type_(o.scroll_snap_type_),
219 requires_accelerated_compositing_for_external_reasons_( 217 requires_accelerated_compositing_for_external_reasons_(
220 o.requires_accelerated_compositing_for_external_reasons_), 218 o.requires_accelerated_compositing_for_external_reasons_),
221 has_inline_transform_(o.has_inline_transform_), 219 has_inline_transform_(o.has_inline_transform_),
222 resize_(o.resize_), 220 resize_(o.resize_),
223 has_compositor_proxy_(o.has_compositor_proxy_), 221 has_compositor_proxy_(o.has_compositor_proxy_),
224 has_author_background_(o.has_author_background_), 222 has_author_background_(o.has_author_background_),
225 has_author_border_(o.has_author_border_) {} 223 has_author_border_(o.has_author_border_) {}
226 224
227 StyleRareNonInheritedData::~StyleRareNonInheritedData() {} 225 StyleRareNonInheritedData::~StyleRareNonInheritedData() {}
228 226
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 has_current_transform_animation_ == 283 has_current_transform_animation_ ==
286 o.has_current_transform_animation_ && 284 o.has_current_transform_animation_ &&
287 has_current_filter_animation_ == o.has_current_filter_animation_ && 285 has_current_filter_animation_ == o.has_current_filter_animation_ &&
288 has_current_backdrop_filter_animation_ == 286 has_current_backdrop_filter_animation_ ==
289 o.has_current_backdrop_filter_animation_ && 287 o.has_current_backdrop_filter_animation_ &&
290 is_stacking_context_ == o.is_stacking_context_ && 288 is_stacking_context_ == o.is_stacking_context_ &&
291 effective_blend_mode_ == o.effective_blend_mode_ && 289 effective_blend_mode_ == o.effective_blend_mode_ &&
292 touch_action_ == o.touch_action_ && object_fit_ == o.object_fit_ && 290 touch_action_ == o.touch_action_ && object_fit_ == o.object_fit_ &&
293 isolation_ == o.isolation_ && contain_ == o.contain_ && 291 isolation_ == o.isolation_ && contain_ == o.contain_ &&
294 scroll_behavior_ == o.scroll_behavior_ && 292 scroll_behavior_ == o.scroll_behavior_ &&
295 scroll_snap_type_ == o.scroll_snap_type_ &&
296 requires_accelerated_compositing_for_external_reasons_ == 293 requires_accelerated_compositing_for_external_reasons_ ==
297 o.requires_accelerated_compositing_for_external_reasons_ && 294 o.requires_accelerated_compositing_for_external_reasons_ &&
298 has_inline_transform_ == o.has_inline_transform_ && 295 has_inline_transform_ == o.has_inline_transform_ &&
299 resize_ == o.resize_ && 296 resize_ == o.resize_ &&
300 has_compositor_proxy_ == o.has_compositor_proxy_ && 297 has_compositor_proxy_ == o.has_compositor_proxy_ &&
301 has_author_background_ == o.has_author_background_ && 298 has_author_background_ == o.has_author_background_ &&
302 has_author_border_ == o.has_author_border_; 299 has_author_border_ == o.has_author_border_;
303 } 300 }
304 301
305 } // namespace blink 302 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698