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

Side by Side Diff: Source/core/rendering/style/StyleRareNonInheritedData.h

Issue 723373006: Add CSS parsing support for the scroll-blocks-on property (in place of touch-action-delay) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Apply CR feedback Created 6 years, 1 month 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 | Annotate | Revision Log
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 unsigned m_justifyItemsOverflowAlignment : 2; // OverflowAlignment 189 unsigned m_justifyItemsOverflowAlignment : 2; // OverflowAlignment
190 unsigned m_justifyItemsPositionType: 1; // Whether or not alignment uses the 'legacy' keyword. 190 unsigned m_justifyItemsPositionType: 1; // Whether or not alignment uses the 'legacy' keyword.
191 191
192 unsigned m_justifySelf : 4; // ItemPosition 192 unsigned m_justifySelf : 4; // ItemPosition
193 unsigned m_justifySelfOverflowAlignment : 2; // OverflowAlignment 193 unsigned m_justifySelfOverflowAlignment : 2; // OverflowAlignment
194 194
195 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi or has a third 195 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi or has a third
196 // value (that can only be specified using CSSOM scroll APIs) so 2 bits are needed. 196 // value (that can only be specified using CSSOM scroll APIs) so 2 bits are needed.
197 unsigned m_scrollBehavior: 2; 197 unsigned m_scrollBehavior: 2;
198 198
199 unsigned m_scrollBlocksOn: 3;
200
199 // Plugins require accelerated compositing for reasons external to blink. 201 // Plugins require accelerated compositing for reasons external to blink.
200 // In which case, we need to update the RenderStyle on the RenderEmbeddedObj ect, 202 // In which case, we need to update the RenderStyle on the RenderEmbeddedObj ect,
201 // so store this bit so that the style actually changes when the plugin 203 // so store this bit so that the style actually changes when the plugin
202 // becomes composited. 204 // becomes composited.
203 unsigned m_requiresAcceleratedCompositingForExternalReasons: 1; 205 unsigned m_requiresAcceleratedCompositingForExternalReasons: 1;
204 206
205 // Whether the transform (if it exists) is stored in the element's inline st yle. 207 // Whether the transform (if it exists) is stored in the element's inline st yle.
206 unsigned m_hasInlineTransform : 1; 208 unsigned m_hasInlineTransform : 1;
207 unsigned m_resize : 2; // EResize 209 unsigned m_resize : 2; // EResize
208 210
209 private: 211 private:
210 StyleRareNonInheritedData(); 212 StyleRareNonInheritedData();
211 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 213 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
212 }; 214 };
213 215
214 } // namespace blink 216 } // namespace blink
215 217
216 #endif // StyleRareNonInheritedData_h 218 #endif // StyleRareNonInheritedData_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/StyleRareInheritedData.cpp ('k') | Source/core/rendering/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698