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

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

Issue 643893002: Store [-webkit-]perspective-origin as a LengthPoint. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase (again). Created 6 years, 2 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 bool transitionDataEquivalent(const StyleRareNonInheritedData&) const; 89 bool transitionDataEquivalent(const StyleRareNonInheritedData&) const;
90 bool hasFilters() const; 90 bool hasFilters() const;
91 bool hasOpacity() const { return opacity < 1; } 91 bool hasOpacity() const { return opacity < 1; }
92 92
93 float opacity; // Whether or not we're transparent. 93 float opacity; // Whether or not we're transparent.
94 94
95 float m_aspectRatioDenominator; 95 float m_aspectRatioDenominator;
96 float m_aspectRatioNumerator; 96 float m_aspectRatioNumerator;
97 97
98 float m_perspective; 98 float m_perspective;
99 Length m_perspectiveOriginX; 99 LengthPoint m_perspectiveOrigin;
100 Length m_perspectiveOriginY;
101 100
102 LineClampValue lineClamp; // An Apple extension. 101 LineClampValue lineClamp; // An Apple extension.
103 DraggableRegionMode m_draggableRegionMode; 102 DraggableRegionMode m_draggableRegionMode;
104 103
105 DataRef<StyleDeprecatedFlexibleBoxData> m_deprecatedFlexibleBox; // Flexible box properties 104 DataRef<StyleDeprecatedFlexibleBoxData> m_deprecatedFlexibleBox; // Flexible box properties
106 DataRef<StyleFlexibleBoxData> m_flexibleBox; 105 DataRef<StyleFlexibleBoxData> m_flexibleBox;
107 DataRef<StyleMarqueeData> m_marquee; // Marquee properties 106 DataRef<StyleMarqueeData> m_marquee; // Marquee properties
108 DataRef<StyleMultiColData> m_multiCol; // CSS3 multicol properties 107 DataRef<StyleMultiColData> m_multiCol; // CSS3 multicol properties
109 DataRef<StyleTransformData> m_transform; // Transform properties (rotate, sc ale, skew, etc.) 108 DataRef<StyleTransformData> m_transform; // Transform properties (rotate, sc ale, skew, etc.)
110 DataRef<StyleWillChangeData> m_willChange; // CSS Will Change 109 DataRef<StyleWillChangeData> m_willChange; // CSS Will Change
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 unsigned m_hasInlineTransform : 1; 209 unsigned m_hasInlineTransform : 1;
211 210
212 private: 211 private:
213 StyleRareNonInheritedData(); 212 StyleRareNonInheritedData();
214 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 213 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
215 }; 214 };
216 215
217 } // namespace blink 216 } // namespace blink
218 217
219 #endif // StyleRareNonInheritedData_h 218 #endif // StyleRareNonInheritedData_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698