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

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

Issue 1221913003: Set the default whitespace mode to pre-wrap (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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/tests/widgets/dialog.dart » ('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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 static TextDirection initialDirection() { return LTR; } 1022 static TextDirection initialDirection() { return LTR; }
1023 static TextOrientation initialTextOrientation() { return TextOrientationVert icalRight; } 1023 static TextOrientation initialTextOrientation() { return TextOrientationVert icalRight; }
1024 static ObjectFit initialObjectFit() { return ObjectFitFill; } 1024 static ObjectFit initialObjectFit() { return ObjectFitFill; }
1025 static LengthPoint initialObjectPosition() { return LengthPoint(Length(50.0, Percent), Length(50.0, Percent)); } 1025 static LengthPoint initialObjectPosition() { return LengthPoint(Length(50.0, Percent), Length(50.0, Percent)); }
1026 static EDisplay initialDisplay() { return FLEX; } 1026 static EDisplay initialDisplay() { return FLEX; }
1027 static EOverflow initialOverflowX() { return OVISIBLE; } 1027 static EOverflow initialOverflowX() { return OVISIBLE; }
1028 static EOverflow initialOverflowY() { return OVISIBLE; } 1028 static EOverflow initialOverflowY() { return OVISIBLE; }
1029 static EPosition initialPosition() { return StaticPosition; } 1029 static EPosition initialPosition() { return StaticPosition; }
1030 static EUnicodeBidi initialUnicodeBidi() { return UBNormal; } 1030 static EUnicodeBidi initialUnicodeBidi() { return UBNormal; }
1031 static EVisibility initialVisibility() { return VISIBLE; } 1031 static EVisibility initialVisibility() { return VISIBLE; }
1032 static EWhiteSpace initialWhiteSpace() { return NORMAL; } 1032 static EWhiteSpace initialWhiteSpace() { return PRE_WRAP; }
1033 static short initialHorizontalBorderSpacing() { return 0; } 1033 static short initialHorizontalBorderSpacing() { return 0; }
1034 static short initialVerticalBorderSpacing() { return 0; } 1034 static short initialVerticalBorderSpacing() { return 0; }
1035 static Color initialColor() { return Color::white; } 1035 static Color initialColor() { return Color::white; }
1036 static unsigned initialBorderWidth() { return 3; } 1036 static unsigned initialBorderWidth() { return 3; }
1037 static unsigned short initialColumnRuleWidth() { return 3; } 1037 static unsigned short initialColumnRuleWidth() { return 3; }
1038 static unsigned short initialOutlineWidth() { return 3; } 1038 static unsigned short initialOutlineWidth() { return 3; }
1039 static float initialLetterWordSpacing() { return 0.0f; } 1039 static float initialLetterWordSpacing() { return 0.0f; }
1040 static Length initialSize() { return Length(); } 1040 static Length initialSize() { return Length(); }
1041 static Length initialMinSize() { return Length(Fixed); } 1041 static Length initialMinSize() { return Length(Fixed); }
1042 static Length initialMaxSize() { return Length(MaxSizeNone); } 1042 static Length initialMaxSize() { return Length(MaxSizeNone); }
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 1200
1201 rareInheritedData.access()->m_textOrientation = textOrientation; 1201 rareInheritedData.access()->m_textOrientation = textOrientation;
1202 return true; 1202 return true;
1203 } 1203 }
1204 1204
1205 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1205 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1206 1206
1207 } // namespace blink 1207 } // namespace blink
1208 1208
1209 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ 1209 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_
OLDNEW
« no previous file with comments | « no previous file | sky/tests/widgets/dialog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698