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

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

Issue 1070313003: Remove page-break properties and captions (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 enum TextJustify { 188 enum TextJustify {
189 TextJustifyAuto, TextJustifyNone, TextJustifyInterWord, TextJustifyDistribut e 189 TextJustifyAuto, TextJustifyNone, TextJustifyInterWord, TextJustifyDistribut e
190 }; 190 };
191 191
192 enum TextUnderlinePosition { 192 enum TextUnderlinePosition {
193 // FIXME: Implement support for 'under left' and 'under right' values. 193 // FIXME: Implement support for 'under left' and 'under right' values.
194 TextUnderlinePositionAuto, 194 TextUnderlinePositionAuto,
195 TextUnderlinePositionUnder 195 TextUnderlinePositionUnder
196 }; 196 };
197 197
198 enum EPageBreak {
199 PBAUTO, PBALWAYS, PBAVOID
200 };
201
202 enum EEmptyCell { 198 enum EEmptyCell {
203 SHOW, HIDE 199 SHOW, HIDE
204 }; 200 };
205 201
206 enum ECaptionSide {
207 CAPTOP, CAPBOTTOM, CAPLEFT, CAPRIGHT
208 };
209
210 enum EVisibility { VISIBLE, HIDDEN, COLLAPSE }; 202 enum EVisibility { VISIBLE, HIDDEN, COLLAPSE };
211 203
212 // The order of this enum must match the order of the display values in CSSValue Keywords.in. 204 // The order of this enum must match the order of the display values in CSSValue Keywords.in.
213 enum EDisplay { 205 enum EDisplay {
214 INLINE, PARAGRAPH, 206 INLINE, PARAGRAPH,
215 FLEX, INLINE_FLEX, 207 FLEX, INLINE_FLEX,
216 NONE, 208 NONE,
217 }; 209 };
218 210
219 enum EPointerEvents { 211 enum EPointerEvents {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 static const float maximumAllowedFontSize = 1000000.0f; 292 static const float maximumAllowedFontSize = 1000000.0f;
301 293
302 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 294 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
303 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 295 enum TextIndentType { TextIndentNormal, TextIndentHanging };
304 296
305 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 297 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
306 298
307 } // namespace blink 299 } // namespace blink
308 300
309 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ 301 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_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