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 26 matching lines...) Expand all Loading... |
37 Reattach, | 37 Reattach, |
38 ReattachNoRenderer | 38 ReattachNoRenderer |
39 }; | 39 }; |
40 | 40 |
41 static const size_t PrintColorAdjustBits = 1; | 41 static const size_t PrintColorAdjustBits = 1; |
42 enum PrintColorAdjust { | 42 enum PrintColorAdjust { |
43 PrintColorAdjustEconomy, | 43 PrintColorAdjustEconomy, |
44 PrintColorAdjustExact | 44 PrintColorAdjustExact |
45 }; | 45 }; |
46 | 46 |
| 47 // FIXME: To be replaced by StyleDifference defined in StyleDifference.h. |
47 // The difference between two styles. The following values are used: | 48 // The difference between two styles. The following values are used: |
48 // - StyleDifferenceEqual - The two styles are identical. | 49 // - StyleDifferenceEqual - The two styles are identical. |
49 // FIXME: When style difference is context sensitive, RenderStyle::visualInval
idationDiff() may return | 50 // FIXME: When style difference is context sensitive, RenderStyle::visualInval
idationDiff() may return |
50 // StyleDifferenceEqual even there is difference. Will resolve the issue when
fixing crbug.com/358460. | 51 // StyleDifferenceEqual even there is difference. Will resolve the issue when
fixing crbug.com/358460. |
51 // - StyleDifferenceRecompositeLayer - The layer needs its position and transfor
m updated, but no repaint. | 52 // - StyleDifferenceRecompositeLayer - The layer needs its position and transfor
m updated, but no repaint. |
52 // - StyleDifferenceRepaint - The object just needs to be repainted. | 53 // - StyleDifferenceRepaint - The object just needs to be repainted. |
53 // - StyleDifferenceRepaintLayer - The layer and its descendant layers need to b
e repainted. | 54 // - StyleDifferenceRepaintLayer - The layer and its descendant layers need to b
e repainted. |
54 // - StyleDifferenceLayoutPositionedMovementOnly - Only the position of this pos
itioned object has been updated. | 55 // - StyleDifferenceLayoutPositionedMovementOnly - Only the position of this pos
itioned object has been updated. |
55 // - StyleDifferenceSimplifiedLayout - Only overflow needs to be recomputed. | 56 // - StyleDifferenceSimplifiedLayout - Only overflow needs to be recomputed. |
56 // - StyleDifferenceSimplifiedLayoutAndPositionedMovement - Both positioned move
ment and simplified layout updates are required. | 57 // - StyleDifferenceSimplifiedLayoutAndPositionedMovement - Both positioned move
ment and simplified layout updates are required. |
57 // - StyleDifferenceLayout - A full layout is required. | 58 // - StyleDifferenceLayout - A full layout is required. |
58 enum StyleDifference { | 59 enum StyleDifferenceLegacy { |
59 StyleDifferenceEqual, | 60 StyleDifferenceEqual, |
60 StyleDifferenceRecompositeLayer, | 61 StyleDifferenceRecompositeLayer, |
61 StyleDifferenceRepaint, | 62 StyleDifferenceRepaint, |
62 StyleDifferenceRepaintLayer, | 63 StyleDifferenceRepaintLayer, |
63 StyleDifferenceLayoutPositionedMovementOnly, | 64 StyleDifferenceLayoutPositionedMovementOnly, |
64 StyleDifferenceSimplifiedLayout, | 65 StyleDifferenceSimplifiedLayout, |
65 StyleDifferenceSimplifiedLayoutAndPositionedMovement, | 66 StyleDifferenceSimplifiedLayoutAndPositionedMovement, |
66 StyleDifferenceLayout | 67 StyleDifferenceLayout |
67 }; | 68 }; |
68 | 69 |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 static const float maximumAllowedFontSize = 1000000.0f; | 553 static const float maximumAllowedFontSize = 1000000.0f; |
553 | 554 |
554 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 555 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
555 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 556 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
556 | 557 |
557 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; | 558 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; |
558 | 559 |
559 } // namespace WebCore | 560 } // namespace WebCore |
560 | 561 |
561 #endif // RenderStyleConstants_h | 562 #endif // RenderStyleConstants_h |
OLD | NEW |