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

Side by Side Diff: sky/engine/core/rendering/style/StyleRareNonInheritedData.h

Issue 878303002: Remove more scrolling code from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 unsigned m_isolation : 1; // Isolation 142 unsigned m_isolation : 1; // Isolation
143 143
144 unsigned m_justifyItems : 4; // ItemPosition 144 unsigned m_justifyItems : 4; // ItemPosition
145 unsigned m_justifyItemsOverflowAlignment : 2; // OverflowAlignment 145 unsigned m_justifyItemsOverflowAlignment : 2; // OverflowAlignment
146 unsigned m_justifyItemsPositionType: 1; // Whether or not alignment uses the 'legacy' keyword. 146 unsigned m_justifyItemsPositionType: 1; // Whether or not alignment uses the 'legacy' keyword.
147 147
148 unsigned m_justifySelf : 4; // ItemPosition 148 unsigned m_justifySelf : 4; // ItemPosition
149 unsigned m_justifySelfOverflowAlignment : 2; // OverflowAlignment 149 unsigned m_justifySelfOverflowAlignment : 2; // OverflowAlignment
150 150
151 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi or has a third
152 // value (that can only be specified using CSSOM scroll APIs) so 2 bits are needed.
153 unsigned m_scrollBehavior: 2;
154
155 // Plugins require accelerated compositing for reasons external to blink. 151 // Plugins require accelerated compositing for reasons external to blink.
156 // In which case, we need to update the RenderStyle on the RenderEmbeddedObj ect, 152 // In which case, we need to update the RenderStyle on the RenderEmbeddedObj ect,
157 // so store this bit so that the style actually changes when the plugin 153 // so store this bit so that the style actually changes when the plugin
158 // becomes composited. 154 // becomes composited.
159 unsigned m_requiresAcceleratedCompositingForExternalReasons: 1; 155 unsigned m_requiresAcceleratedCompositingForExternalReasons: 1;
160 156
161 private: 157 private:
162 StyleRareNonInheritedData(); 158 StyleRareNonInheritedData();
163 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 159 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
164 }; 160 };
165 161
166 } // namespace blink 162 } // namespace blink
167 163
168 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_STYLERARENONINHERITEDDATA_H_ 164 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_STYLERARENONINHERITEDDATA_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyleConstants.h ('k') | sky/engine/core/rendering/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698