| 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. | |
| 48 // The difference between two styles. The following values are used: | 47 // The difference between two styles. The following values are used: |
| 49 // - StyleDifferenceEqual - The two styles are identical. | 48 // - StyleDifferenceEqual - The two styles are identical. |
| 50 // FIXME: When style difference is context sensitive, RenderStyle::visualInval
idationDiff() may return | 49 // FIXME: When style difference is context sensitive, RenderStyle::visualInval
idationDiff() may return |
| 51 // StyleDifferenceEqual even there is difference. Will resolve the issue when
fixing crbug.com/358460. | 50 // StyleDifferenceEqual even there is difference. Will resolve the issue when
fixing crbug.com/358460. |
| 52 // - StyleDifferenceRecompositeLayer - The layer needs its position and transfor
m updated, but no repaint. | 51 // - StyleDifferenceRecompositeLayer - The layer needs its position and transfor
m updated, but no repaint. |
| 53 // - StyleDifferenceRepaint - The object just needs to be repainted. | 52 // - StyleDifferenceRepaint - The object just needs to be repainted. |
| 54 // - StyleDifferenceRepaintLayer - The layer and its descendant layers need to b
e repainted. | 53 // - StyleDifferenceRepaintLayer - The layer and its descendant layers need to b
e repainted. |
| 55 // - StyleDifferenceLayoutPositionedMovementOnly - Only the position of this pos
itioned object has been updated. | 54 // - StyleDifferenceLayoutPositionedMovementOnly - Only the position of this pos
itioned object has been updated. |
| 56 // - StyleDifferenceLayout - A full layout is required. | 55 // - StyleDifferenceLayout - A full layout is required. |
| 57 enum StyleDifferenceLegacy { | 56 enum StyleDifference { |
| 58 StyleDifferenceEqual, | 57 StyleDifferenceEqual, |
| 59 StyleDifferenceRecompositeLayer, | 58 StyleDifferenceRecompositeLayer, |
| 60 StyleDifferenceRepaint, | 59 StyleDifferenceRepaint, |
| 61 StyleDifferenceRepaintLayer, | 60 StyleDifferenceRepaintLayer, |
| 62 StyleDifferenceLayoutPositionedMovementOnly, | 61 StyleDifferenceLayoutPositionedMovementOnly, |
| 63 StyleDifferenceLayout | 62 StyleDifferenceLayout |
| 64 }; | 63 }; |
| 65 | 64 |
| 66 // When some style properties change, different amounts of work have to be done
depending on | 65 // When some style properties change, different amounts of work have to be done
depending on |
| 67 // context (e.g. whether the property is changing on an element which has a comp
ositing layer). | 66 // context (e.g. whether the property is changing on an element which has a comp
ositing layer). |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 static const float maximumAllowedFontSize = 1000000.0f; | 548 static const float maximumAllowedFontSize = 1000000.0f; |
| 550 | 549 |
| 551 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 550 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
| 552 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 551 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
| 553 | 552 |
| 554 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; | 553 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; |
| 555 | 554 |
| 556 } // namespace WebCore | 555 } // namespace WebCore |
| 557 | 556 |
| 558 #endif // RenderStyleConstants_h | 557 #endif // RenderStyleConstants_h |
| OLD | NEW |