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

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

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
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, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights 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
11 * version 2 of the License, or (at your option) any later version. 11 * version 2 of the License, or (at your option) any later version.
12 * 12 *
13 * This library is distributed in the hope that it will be useful, 13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details. 16 * Library General Public License for more details.
17 * 17 *
18 * You should have received a copy of the GNU Library General Public License 18 * You should have received a copy of the GNU Library General Public License
19 * along with this library; see the file COPYING.LIB. If not, write to 19 * along with this library; see the file COPYING.LIB. If not, write to
20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA. 21 * Boston, MA 02110-1301, USA.
22 * 22 *
23 */ 23 */
24 24
25 #ifndef RenderStyle_h 25 #ifndef RenderStyle_h
26 #define RenderStyle_h 26 #define RenderStyle_h
27 27
28 #include "core/animation/css/CSSAnimationData.h"
29 #include "core/animation/css/CSSTransitionData.h"
30 #include "core/css/CSSLineBoxContainValue.h"
31 #include "core/css/CSSPrimitiveValue.h"
32 #include "core/rendering/style/BorderValue.h"
33 #include "core/rendering/style/CounterDirectives.h"
34 #include "core/rendering/style/DataRef.h"
35 #include "core/rendering/style/LineClampValue.h"
36 #include "core/rendering/style/NinePieceImage.h"
37 #include "core/rendering/style/OutlineValue.h"
38 #include "core/rendering/style/RenderStyleConstants.h"
39 #include "core/rendering/style/ShapeValue.h"
40 #include "core/rendering/style/StyleBackgroundData.h"
41 #include "core/rendering/style/StyleBoxData.h"
42 #include "core/rendering/style/StyleDifference.h"
43 #include "core/rendering/style/StyleFilterData.h"
44 #include "core/rendering/style/StyleFlexibleBoxData.h"
45 #include "core/rendering/style/StyleInheritedData.h"
46 #include "core/rendering/style/StyleRareInheritedData.h"
47 #include "core/rendering/style/StyleRareNonInheritedData.h"
48 #include "core/rendering/style/StyleSurroundData.h"
49 #include "core/rendering/style/StyleTransformData.h"
50 #include "core/rendering/style/StyleVisualData.h"
51 #include "core/rendering/style/StyleWillChangeData.h"
52 #include "gen/sky/core/CSSPropertyNames.h" 28 #include "gen/sky/core/CSSPropertyNames.h"
53 #include "platform/Length.h" 29 #include "sky/engine/core/animation/css/CSSAnimationData.h"
54 #include "platform/LengthBox.h" 30 #include "sky/engine/core/animation/css/CSSTransitionData.h"
55 #include "platform/LengthSize.h" 31 #include "sky/engine/core/css/CSSLineBoxContainValue.h"
56 #include "platform/fonts/FontBaseline.h" 32 #include "sky/engine/core/css/CSSPrimitiveValue.h"
57 #include "platform/fonts/FontDescription.h" 33 #include "sky/engine/core/rendering/style/BorderValue.h"
58 #include "platform/geometry/FloatRoundedRect.h" 34 #include "sky/engine/core/rendering/style/CounterDirectives.h"
59 #include "platform/geometry/LayoutBoxExtent.h" 35 #include "sky/engine/core/rendering/style/DataRef.h"
60 #include "platform/geometry/RoundedRect.h" 36 #include "sky/engine/core/rendering/style/LineClampValue.h"
61 #include "platform/graphics/Color.h" 37 #include "sky/engine/core/rendering/style/NinePieceImage.h"
62 #include "platform/graphics/GraphicsTypes.h" 38 #include "sky/engine/core/rendering/style/OutlineValue.h"
63 #include "platform/scroll/ScrollableArea.h" 39 #include "sky/engine/core/rendering/style/RenderStyleConstants.h"
64 #include "platform/text/TextDirection.h" 40 #include "sky/engine/core/rendering/style/ShapeValue.h"
65 #include "platform/text/UnicodeBidi.h" 41 #include "sky/engine/core/rendering/style/StyleBackgroundData.h"
66 #include "platform/transforms/TransformOperations.h" 42 #include "sky/engine/core/rendering/style/StyleBoxData.h"
67 #include "wtf/Forward.h" 43 #include "sky/engine/core/rendering/style/StyleDifference.h"
68 #include "wtf/OwnPtr.h" 44 #include "sky/engine/core/rendering/style/StyleFilterData.h"
69 #include "wtf/RefCounted.h" 45 #include "sky/engine/core/rendering/style/StyleFlexibleBoxData.h"
70 #include "wtf/StdLibExtras.h" 46 #include "sky/engine/core/rendering/style/StyleInheritedData.h"
71 #include "wtf/Vector.h" 47 #include "sky/engine/core/rendering/style/StyleRareInheritedData.h"
48 #include "sky/engine/core/rendering/style/StyleRareNonInheritedData.h"
49 #include "sky/engine/core/rendering/style/StyleSurroundData.h"
50 #include "sky/engine/core/rendering/style/StyleTransformData.h"
51 #include "sky/engine/core/rendering/style/StyleVisualData.h"
52 #include "sky/engine/core/rendering/style/StyleWillChangeData.h"
53 #include "sky/engine/platform/Length.h"
54 #include "sky/engine/platform/LengthBox.h"
55 #include "sky/engine/platform/LengthSize.h"
56 #include "sky/engine/platform/fonts/FontBaseline.h"
57 #include "sky/engine/platform/fonts/FontDescription.h"
58 #include "sky/engine/platform/geometry/FloatRoundedRect.h"
59 #include "sky/engine/platform/geometry/LayoutBoxExtent.h"
60 #include "sky/engine/platform/geometry/RoundedRect.h"
61 #include "sky/engine/platform/graphics/Color.h"
62 #include "sky/engine/platform/graphics/GraphicsTypes.h"
63 #include "sky/engine/platform/scroll/ScrollableArea.h"
64 #include "sky/engine/platform/text/TextDirection.h"
65 #include "sky/engine/platform/text/UnicodeBidi.h"
66 #include "sky/engine/platform/transforms/TransformOperations.h"
67 #include "sky/engine/wtf/Forward.h"
68 #include "sky/engine/wtf/OwnPtr.h"
69 #include "sky/engine/wtf/RefCounted.h"
70 #include "sky/engine/wtf/StdLibExtras.h"
71 #include "sky/engine/wtf/Vector.h"
72 72
73 template<typename T, typename U> inline bool compareEqual(const T& t, const U& u ) { return t == static_cast<T>(u); } 73 template<typename T, typename U> inline bool compareEqual(const T& t, const U& u ) { return t == static_cast<T>(u); }
74 74
75 #define SET_VAR(group, variable, value) \ 75 #define SET_VAR(group, variable, value) \
76 if (!compareEqual(group->variable, value)) \ 76 if (!compareEqual(group->variable, value)) \
77 group.access()->variable = value 77 group.access()->variable = value
78 78
79 #define SET_VAR_WITH_SETTER(group, getter, setter, value) \ 79 #define SET_VAR_WITH_SETTER(group, getter, setter, value) \
80 if (!compareEqual(group->getter(), value)) \ 80 if (!compareEqual(group->getter(), value)) \
81 group.access()->setter(value) 81 group.access()->setter(value)
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 1428
1429 rareInheritedData.access()->m_textOrientation = textOrientation; 1429 rareInheritedData.access()->m_textOrientation = textOrientation;
1430 return true; 1430 return true;
1431 } 1431 }
1432 1432
1433 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1433 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1434 1434
1435 } // namespace blink 1435 } // namespace blink
1436 1436
1437 #endif // RenderStyle_h 1437 #endif // RenderStyle_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/QuotesData.cpp ('k') | sky/engine/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698