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

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

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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 unsigned isolation_ : 1; // Isolation 192 unsigned isolation_ : 1; // Isolation
193 193
194 unsigned contain_ : 4; // Containment 194 unsigned contain_ : 4; // Containment
195 195
196 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavior 196 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavior
197 // has a third value (that can only be specified using CSSOM scroll APIs) so 2 197 // has a third value (that can only be specified using CSSOM scroll APIs) so 2
198 // bits are needed. 198 // bits are needed.
199 unsigned scroll_behavior_ : 2; 199 unsigned scroll_behavior_ : 2;
200 200
201 unsigned scroll_snap_type_ : 2; // ScrollSnapType
202
203 // Plugins require accelerated compositing for reasons external to blink. 201 // Plugins require accelerated compositing for reasons external to blink.
204 // In which case, we need to update the ComputedStyle on the 202 // In which case, we need to update the ComputedStyle on the
205 // LayoutEmbeddedObject, so store this bit so that the style actually changes 203 // LayoutEmbeddedObject, so store this bit so that the style actually changes
206 // when the plugin becomes composited. 204 // when the plugin becomes composited.
207 unsigned requires_accelerated_compositing_for_external_reasons_ : 1; 205 unsigned requires_accelerated_compositing_for_external_reasons_ : 1;
208 206
209 // Whether the transform (if it exists) is stored in the element's inline 207 // Whether the transform (if it exists) is stored in the element's inline
210 // style. 208 // style.
211 unsigned has_inline_transform_ : 1; 209 unsigned has_inline_transform_ : 1;
212 unsigned resize_ : 2; // EResize 210 unsigned resize_ : 2; // EResize
213 unsigned has_compositor_proxy_ : 1; 211 unsigned has_compositor_proxy_ : 1;
214 212
215 // Style adjustment for appearance is disabled when certain properties are 213 // Style adjustment for appearance is disabled when certain properties are
216 // set. 214 // set.
217 unsigned has_author_background_ : 1; // Whether there is a author-defined 215 unsigned has_author_background_ : 1; // Whether there is a author-defined
218 // background. 216 // background.
219 unsigned has_author_border_ : 1; // Whether there is a author-defined border. 217 unsigned has_author_border_ : 1; // Whether there is a author-defined border.
220 218
221 private: 219 private:
222 StyleRareNonInheritedData(); 220 StyleRareNonInheritedData();
223 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 221 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
224 }; 222 };
225 223
226 } // namespace blink 224 } // namespace blink
227 225
228 #endif // StyleRareNonInheritedData_h 226 #endif // StyleRareNonInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698