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

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

Issue 1287623002: Delete blink code for scroll-blocks-on (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge with trunk (no changes from previous patch) Created 5 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/style/ComputedStyle.h ('k') | Source/core/style/StyleRareNonInheritedData.cpp » ('j') | 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) 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 unsigned m_touchAction : TouchActionBits; // TouchAction 182 unsigned m_touchAction : TouchActionBits; // TouchAction
183 183
184 unsigned m_objectFit : 3; // ObjectFit 184 unsigned m_objectFit : 3; // ObjectFit
185 185
186 unsigned m_isolation : 1; // Isolation 186 unsigned m_isolation : 1; // Isolation
187 187
188 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi or has a third 188 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi or has a third
189 // value (that can only be specified using CSSOM scroll APIs) so 2 bits are needed. 189 // value (that can only be specified using CSSOM scroll APIs) so 2 bits are needed.
190 unsigned m_scrollBehavior: 2; 190 unsigned m_scrollBehavior: 2;
191 191
192 unsigned m_scrollBlocksOn: 3; // WebScrollBlocksOn
193
194 unsigned m_scrollSnapType: 2; // ScrollSnapType 192 unsigned m_scrollSnapType: 2; // ScrollSnapType
195 193
196 // Plugins require accelerated compositing for reasons external to blink. 194 // Plugins require accelerated compositing for reasons external to blink.
197 // In which case, we need to update the ComputedStyle on the LayoutEmbeddedO bject, 195 // In which case, we need to update the ComputedStyle on the LayoutEmbeddedO bject,
198 // so store this bit so that the style actually changes when the plugin 196 // so store this bit so that the style actually changes when the plugin
199 // becomes composited. 197 // becomes composited.
200 unsigned m_requiresAcceleratedCompositingForExternalReasons: 1; 198 unsigned m_requiresAcceleratedCompositingForExternalReasons: 1;
201 199
202 // Whether the transform (if it exists) is stored in the element's inline st yle. 200 // Whether the transform (if it exists) is stored in the element's inline st yle.
203 unsigned m_hasInlineTransform : 1; 201 unsigned m_hasInlineTransform : 1;
204 unsigned m_resize : 2; // EResize 202 unsigned m_resize : 2; // EResize
205 unsigned m_hasCompositorProxy : 1; 203 unsigned m_hasCompositorProxy : 1;
206 204
207 private: 205 private:
208 StyleRareNonInheritedData(); 206 StyleRareNonInheritedData();
209 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 207 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
210 }; 208 };
211 209
212 } // namespace blink 210 } // namespace blink
213 211
214 #endif // StyleRareNonInheritedData_h 212 #endif // StyleRareNonInheritedData_h
OLDNEW
« no previous file with comments | « Source/core/style/ComputedStyle.h ('k') | Source/core/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698