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

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

Issue 883443003: Remove PseudoId. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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.h ('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 19 matching lines...) Expand all
30 30
31 enum StyleRecalcChange { 31 enum StyleRecalcChange {
32 NoChange, 32 NoChange,
33 NoInherit, 33 NoInherit,
34 Inherit, 34 Inherit,
35 Force, 35 Force,
36 Reattach, 36 Reattach,
37 ReattachNoRenderer 37 ReattachNoRenderer
38 }; 38 };
39 39
40 // Static pseudo styles. Dynamic ones are produced on the fly.
41 enum PseudoId {
42 // The order must be NOP ID, public IDs, and then internal IDs.
43 // If you add or remove a public ID, you must update _pseudoBits in RenderSt yle.
44 NOPSEUDO, FIRST_LINE, SELECTION, FIRST_LINE_INHERITED, SCROLLBAR,
45 // Internal IDs follow:
46 SCROLLBAR_THUMB, SCROLLBAR_BUTTON, SCROLLBAR_TRACK, SCROLLBAR_TRACK_PIECE, S CROLLBAR_CORNER, RESIZER, INPUT_LIST_BUTTON,
47 // Special values follow:
48 AFTER_LAST_INTERNAL_PSEUDOID,
49 FIRST_PUBLIC_PSEUDOID = FIRST_LINE,
50 FIRST_INTERNAL_PSEUDOID = SCROLLBAR_THUMB,
51 PUBLIC_PSEUDOID_MASK = ((1 << FIRST_INTERNAL_PSEUDOID) - 1) & ~((1 << FIRST_ PUBLIC_PSEUDOID) - 1),
52 };
53
54 enum ColumnFill { ColumnFillBalance, ColumnFillAuto }; 40 enum ColumnFill { ColumnFillBalance, ColumnFillAuto };
55 41
56 // These have been defined in the order of their precedence for border-collapsin g. Do 42 // These have been defined in the order of their precedence for border-collapsin g. Do
57 // not change this order! This order also must match the order in CSSValueKeywor ds.in. 43 // not change this order! This order also must match the order in CSSValueKeywor ds.in.
58 enum EBorderStyle { BNONE, BHIDDEN, INSET, GROOVE, OUTSET, RIDGE, DOTTED, DASHED , SOLID, DOUBLE }; 44 enum EBorderStyle { BNONE, BHIDDEN, INSET, GROOVE, OUTSET, RIDGE, DOTTED, DASHED , SOLID, DOUBLE };
59 45
60 enum EBorderPrecedence { BOFF, BTABLE, BCOLGROUP, BCOL, BROWGROUP, BROW, BCELL } ; 46 enum EBorderPrecedence { BOFF, BTABLE, BCOLGROUP, BCOL, BROWGROUP, BROW, BCELL } ;
61 47
62 enum OutlineIsAuto { AUTO_OFF = 0, AUTO_ON }; 48 enum OutlineIsAuto { AUTO_OFF = 0, AUTO_ON };
63 49
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 static const float maximumAllowedFontSize = 1000000.0f; 435 static const float maximumAllowedFontSize = 1000000.0f;
450 436
451 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 437 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
452 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 438 enum TextIndentType { TextIndentNormal, TextIndentHanging };
453 439
454 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 440 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
455 441
456 } // namespace blink 442 } // namespace blink
457 443
458 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ 444 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698