| OLD | NEW |
| 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 Loading... |
| 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 const size_t PrintColorAdjustBits = 1; | |
| 41 enum PrintColorAdjust { | |
| 42 PrintColorAdjustEconomy, | |
| 43 PrintColorAdjustExact | |
| 44 }; | |
| 45 | |
| 46 // Static pseudo styles. Dynamic ones are produced on the fly. | 40 // Static pseudo styles. Dynamic ones are produced on the fly. |
| 47 enum PseudoId { | 41 enum PseudoId { |
| 48 // The order must be NOP ID, public IDs, and then internal IDs. | 42 // The order must be NOP ID, public IDs, and then internal IDs. |
| 49 // If you add or remove a public ID, you must update _pseudoBits in RenderSt
yle. | 43 // If you add or remove a public ID, you must update _pseudoBits in RenderSt
yle. |
| 50 NOPSEUDO, FIRST_LINE, SELECTION, FIRST_LINE_INHERITED, SCROLLBAR, | 44 NOPSEUDO, FIRST_LINE, SELECTION, FIRST_LINE_INHERITED, SCROLLBAR, |
| 51 // Internal IDs follow: | 45 // Internal IDs follow: |
| 52 SCROLLBAR_THUMB, SCROLLBAR_BUTTON, SCROLLBAR_TRACK, SCROLLBAR_TRACK_PIECE, S
CROLLBAR_CORNER, RESIZER, INPUT_LIST_BUTTON, | 46 SCROLLBAR_THUMB, SCROLLBAR_BUTTON, SCROLLBAR_TRACK, SCROLLBAR_TRACK_PIECE, S
CROLLBAR_CORNER, RESIZER, INPUT_LIST_BUTTON, |
| 53 // Special values follow: | 47 // Special values follow: |
| 54 AFTER_LAST_INTERNAL_PSEUDOID, | 48 AFTER_LAST_INTERNAL_PSEUDOID, |
| 55 FIRST_PUBLIC_PSEUDOID = FIRST_LINE, | 49 FIRST_PUBLIC_PSEUDOID = FIRST_LINE, |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 static const float maximumAllowedFontSize = 1000000.0f; | 449 static const float maximumAllowedFontSize = 1000000.0f; |
| 456 | 450 |
| 457 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 451 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
| 458 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 452 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
| 459 | 453 |
| 460 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; | 454 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; |
| 461 | 455 |
| 462 } // namespace blink | 456 } // namespace blink |
| 463 | 457 |
| 464 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ | 458 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ |
| OLD | NEW |