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

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

Issue 869393002: Remove hasInlineTransform bit. (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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi or has a third 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. 152 // value (that can only be specified using CSSOM scroll APIs) so 2 bits are needed.
153 unsigned m_scrollBehavior: 2; 153 unsigned m_scrollBehavior: 2;
154 154
155 // Plugins require accelerated compositing for reasons external to blink. 155 // Plugins require accelerated compositing for reasons external to blink.
156 // In which case, we need to update the RenderStyle on the RenderEmbeddedObj ect, 156 // 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 157 // so store this bit so that the style actually changes when the plugin
158 // becomes composited. 158 // becomes composited.
159 unsigned m_requiresAcceleratedCompositingForExternalReasons: 1; 159 unsigned m_requiresAcceleratedCompositingForExternalReasons: 1;
160 160
161 // Whether the transform (if it exists) is stored in the element's inline st yle.
162 unsigned m_hasInlineTransform : 1;
163
164 private: 161 private:
165 StyleRareNonInheritedData(); 162 StyleRareNonInheritedData();
166 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 163 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
167 }; 164 };
168 165
169 } // namespace blink 166 } // namespace blink
170 167
171 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_STYLERARENONINHERITEDDATA_H_ 168 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_STYLERARENONINHERITEDDATA_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.h ('k') | sky/engine/core/rendering/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698