| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef StyleDifference_h | 5 #ifndef SKY_ENGINE_CORE_RENDERING_STYLE_STYLEDIFFERENCE_H_ |
| 6 #define StyleDifference_h | 6 #define SKY_ENGINE_CORE_RENDERING_STYLE_STYLEDIFFERENCE_H_ |
| 7 | 7 |
| 8 #include "sky/engine/wtf/Assertions.h" | 8 #include "sky/engine/wtf/Assertions.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 class StyleDifference { | 12 class StyleDifference { |
| 13 public: | 13 public: |
| 14 enum PropertyDifference { | 14 enum PropertyDifference { |
| 15 TransformChanged = 1 << 0, | 15 TransformChanged = 1 << 0, |
| 16 OpacityChanged = 1 << 1, | 16 OpacityChanged = 1 << 1, |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 PositionedMovement, | 90 PositionedMovement, |
| 91 FullLayout | 91 FullLayout |
| 92 }; | 92 }; |
| 93 unsigned m_layoutType : 2; | 93 unsigned m_layoutType : 2; |
| 94 | 94 |
| 95 unsigned m_propertySpecificDifferences : 5; | 95 unsigned m_propertySpecificDifferences : 5; |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace blink | 98 } // namespace blink |
| 99 | 99 |
| 100 #endif // StyleDifference_h | 100 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_STYLEDIFFERENCE_H_ |
| OLD | NEW |