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

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

Issue 1024083003: Use StyleNode in StockMenu (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | sky/engine/core/rendering/style/StyleBoxData.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, 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
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 static float initialOpacity() { return 1.0f; } 1155 static float initialOpacity() { return 1.0f; }
1156 static EBoxAlignment initialBoxAlign() { return BSTRETCH; } 1156 static EBoxAlignment initialBoxAlign() { return BSTRETCH; }
1157 static EBoxDecorationBreak initialBoxDecorationBreak() { return DSLICE; } 1157 static EBoxDecorationBreak initialBoxDecorationBreak() { return DSLICE; }
1158 static EBoxDirection initialBoxDirection() { return BNORMAL; } 1158 static EBoxDirection initialBoxDirection() { return BNORMAL; }
1159 static EBoxLines initialBoxLines() { return SINGLE; } 1159 static EBoxLines initialBoxLines() { return SINGLE; }
1160 static EBoxOrient initialBoxOrient() { return HORIZONTAL; } 1160 static EBoxOrient initialBoxOrient() { return HORIZONTAL; }
1161 static EBoxPack initialBoxPack() { return Start; } 1161 static EBoxPack initialBoxPack() { return Start; }
1162 static float initialBoxFlex() { return 0.0f; } 1162 static float initialBoxFlex() { return 0.0f; }
1163 static unsigned initialBoxFlexGroup() { return 1; } 1163 static unsigned initialBoxFlexGroup() { return 1; }
1164 static unsigned initialBoxOrdinalGroup() { return 1; } 1164 static unsigned initialBoxOrdinalGroup() { return 1; }
1165 static EBoxSizing initialBoxSizing() { return BORDER_BOX; } 1165 static EBoxSizing initialBoxSizing() { return CONTENT_BOX; }
1166 static float initialFlexGrow() { return 0; } 1166 static float initialFlexGrow() { return 0; }
1167 static float initialFlexShrink() { return 1; } 1167 static float initialFlexShrink() { return 1; }
1168 static Length initialFlexBasis() { return Length(Auto); } 1168 static Length initialFlexBasis() { return Length(Auto); }
1169 static int initialOrder() { return 0; } 1169 static int initialOrder() { return 0; }
1170 static EAlignContent initialAlignContent() { return AlignContentStretch; } 1170 static EAlignContent initialAlignContent() { return AlignContentStretch; }
1171 static ItemPosition initialAlignItems() { return ItemPositionAuto; } 1171 static ItemPosition initialAlignItems() { return ItemPositionAuto; }
1172 static OverflowAlignment initialAlignItemsOverflowAlignment() { return Overf lowAlignmentDefault; } 1172 static OverflowAlignment initialAlignItemsOverflowAlignment() { return Overf lowAlignmentDefault; }
1173 static ItemPosition initialAlignSelf() { return ItemPositionAuto; } 1173 static ItemPosition initialAlignSelf() { return ItemPositionAuto; }
1174 static OverflowAlignment initialAlignSelfOverflowAlignment() { return Overfl owAlignmentDefault; } 1174 static OverflowAlignment initialAlignSelfOverflowAlignment() { return Overfl owAlignmentDefault; }
1175 static EFlexDirection initialFlexDirection() { return FlowRow; } 1175 static EFlexDirection initialFlexDirection() { return FlowRow; }
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
1302 1302
1303 rareInheritedData.access()->m_textOrientation = textOrientation; 1303 rareInheritedData.access()->m_textOrientation = textOrientation;
1304 return true; 1304 return true;
1305 } 1305 }
1306 1306
1307 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1307 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1308 1308
1309 } // namespace blink 1309 } // namespace blink
1310 1310
1311 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ 1311 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/rendering/style/StyleBoxData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698