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

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

Issue 700703002: Remove more float machinery. (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
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.cpp ('k') | no next file » | 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 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 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 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 enum EBorderPrecedence { BOFF, BTABLE, BCOLGROUP, BCOL, BROWGROUP, BROW, BCELL } ; 68 enum EBorderPrecedence { BOFF, BTABLE, BCOLGROUP, BCOL, BROWGROUP, BROW, BCELL } ;
69 69
70 enum OutlineIsAuto { AUTO_OFF = 0, AUTO_ON }; 70 enum OutlineIsAuto { AUTO_OFF = 0, AUTO_ON };
71 71
72 enum EPosition { 72 enum EPosition {
73 StaticPosition = 0, 73 StaticPosition = 0,
74 RelativePosition = 1, 74 RelativePosition = 1,
75 AbsolutePosition = 2, 75 AbsolutePosition = 2,
76 }; 76 };
77 77
78 enum EFloat {
79 NoFloat, LeftFloat, RightFloat
80 };
81
82 enum EMarginCollapse { MCOLLAPSE, MSEPARATE, MDISCARD }; 78 enum EMarginCollapse { MCOLLAPSE, MSEPARATE, MDISCARD };
83 79
84 // Box decoration attributes. Not inherited. 80 // Box decoration attributes. Not inherited.
85 81
86 enum EBoxDecorationBreak { DSLICE, DCLONE }; 82 enum EBoxDecorationBreak { DSLICE, DCLONE };
87 83
88 // Box attributes. Not inherited. 84 // Box attributes. Not inherited.
89 85
90 enum EBoxSizing { CONTENT_BOX, BORDER_BOX }; 86 enum EBoxSizing { CONTENT_BOX, BORDER_BOX };
91 87
92 // Random visual rendering model attributes. Not inherited. 88 // Random visual rendering model attributes. Not inherited.
93 89
94 enum EOverflow { 90 enum EOverflow {
95 OVISIBLE, OHIDDEN, OSCROLL, OAUTO, OOVERLAY, OPAGEDX, OPAGEDY 91 OVISIBLE, OHIDDEN, OSCROLL, OAUTO, OOVERLAY, OPAGEDX, OPAGEDY
96 }; 92 };
97 93
98 enum EVerticalAlign { 94 enum EVerticalAlign {
99 BASELINE, MIDDLE, SUB, SUPER, TEXT_TOP, 95 BASELINE, MIDDLE, SUB, SUPER, TEXT_TOP,
100 TEXT_BOTTOM, TOP, BOTTOM, BASELINE_MIDDLE, LENGTH 96 TEXT_BOTTOM, TOP, BOTTOM, BASELINE_MIDDLE, LENGTH
101 }; 97 };
102 98
103 enum EClear {
104 CNONE = 0, CLEFT = 1, CRIGHT = 2, CBOTH = 3
105 };
106
107 enum ETableLayout { 99 enum ETableLayout {
108 TAUTO, TFIXED 100 TAUTO, TFIXED
109 }; 101 };
110 102
111 enum EFillAttachment { 103 enum EFillAttachment {
112 ScrollBackgroundAttachment, LocalBackgroundAttachment, FixedBackgroundAttach ment 104 ScrollBackgroundAttachment, LocalBackgroundAttachment, FixedBackgroundAttach ment
113 }; 105 };
114 106
115 enum EFillBox { 107 enum EFillBox {
116 BorderFillBox, PaddingFillBox, ContentFillBox, TextFillBox 108 BorderFillBox, PaddingFillBox, ContentFillBox, TextFillBox
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 static const float maximumAllowedFontSize = 1000000.0f; 467 static const float maximumAllowedFontSize = 1000000.0f;
476 468
477 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 469 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
478 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 470 enum TextIndentType { TextIndentNormal, TextIndentHanging };
479 471
480 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 472 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
481 473
482 } // namespace blink 474 } // namespace blink
483 475
484 #endif // RenderStyleConstants_h 476 #endif // RenderStyleConstants_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698