OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef AppliedTextDecoration_h |
| 6 #define AppliedTextDecoration_h |
| 7 |
| 8 #include "core/rendering/style/RenderStyleConstants.h" |
| 9 |
| 10 namespace WebCore { |
| 11 |
| 12 class AppliedTextDecoration { |
| 13 public: |
| 14 explicit AppliedTextDecoration(TextDecoration); |
| 15 AppliedTextDecoration(); |
| 16 |
| 17 TextDecoration line() const { return static_cast<TextDecoration>(m_line); } |
| 18 |
| 19 bool operator==(const AppliedTextDecoration&) const; |
| 20 bool operator!=(const AppliedTextDecoration& o) const { return !(*this == o)
; } |
| 21 |
| 22 private: |
| 23 unsigned m_line : TextDecorationBits; |
| 24 }; |
| 25 |
| 26 } // namespace WebCore |
| 27 |
| 28 #endif // AppliedTextDecoration_h |
OLD | NEW |