| 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, 2011 Apple Inc. All | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
| 6 * rights reserved. | 6 * rights reserved. |
| 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 #include "platform/Length.h" | 59 #include "platform/Length.h" |
| 60 #include "platform/LengthBox.h" | 60 #include "platform/LengthBox.h" |
| 61 #include "platform/LengthPoint.h" | 61 #include "platform/LengthPoint.h" |
| 62 #include "platform/LengthSize.h" | 62 #include "platform/LengthSize.h" |
| 63 #include "platform/RuntimeEnabledFeatures.h" | 63 #include "platform/RuntimeEnabledFeatures.h" |
| 64 #include "platform/ThemeTypes.h" | 64 #include "platform/ThemeTypes.h" |
| 65 #include "platform/fonts/FontDescription.h" | 65 #include "platform/fonts/FontDescription.h" |
| 66 #include "platform/geometry/FloatRoundedRect.h" | 66 #include "platform/geometry/FloatRoundedRect.h" |
| 67 #include "platform/geometry/LayoutRectOutsets.h" | 67 #include "platform/geometry/LayoutRectOutsets.h" |
| 68 #include "platform/graphics/Color.h" | 68 #include "platform/graphics/Color.h" |
| 69 #include "platform/graphics/TouchAction.h" |
| 69 #include "platform/scroll/ScrollTypes.h" | 70 #include "platform/scroll/ScrollTypes.h" |
| 70 #include "platform/text/TextDirection.h" | 71 #include "platform/text/TextDirection.h" |
| 71 #include "platform/text/UnicodeBidi.h" | 72 #include "platform/text/UnicodeBidi.h" |
| 72 #include "platform/transforms/TransformOperations.h" | 73 #include "platform/transforms/TransformOperations.h" |
| 73 #include "platform/wtf/Forward.h" | 74 #include "platform/wtf/Forward.h" |
| 74 #include "platform/wtf/LeakAnnotations.h" | 75 #include "platform/wtf/LeakAnnotations.h" |
| 75 #include "platform/wtf/RefCounted.h" | 76 #include "platform/wtf/RefCounted.h" |
| 76 #include "platform/wtf/Vector.h" | 77 #include "platform/wtf/Vector.h" |
| 77 | 78 |
| 78 template <typename T, typename U> | 79 template <typename T, typename U> |
| (...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1504 // text-overflow | 1505 // text-overflow |
| 1505 static TextOverflow InitialTextOverflow() { return kTextOverflowClip; } | 1506 static TextOverflow InitialTextOverflow() { return kTextOverflowClip; } |
| 1506 TextOverflow GetTextOverflow() const { | 1507 TextOverflow GetTextOverflow() const { |
| 1507 return static_cast<TextOverflow>(rare_non_inherited_data_->text_overflow); | 1508 return static_cast<TextOverflow>(rare_non_inherited_data_->text_overflow); |
| 1508 } | 1509 } |
| 1509 void SetTextOverflow(TextOverflow overflow) { | 1510 void SetTextOverflow(TextOverflow overflow) { |
| 1510 SET_VAR(rare_non_inherited_data_, text_overflow, overflow); | 1511 SET_VAR(rare_non_inherited_data_, text_overflow, overflow); |
| 1511 } | 1512 } |
| 1512 | 1513 |
| 1513 // touch-action | 1514 // touch-action |
| 1514 static TouchAction InitialTouchAction() { return kTouchActionAuto; } | 1515 static TouchAction InitialTouchAction() { |
| 1516 return TouchAction::kTouchActionAuto; |
| 1517 } |
| 1515 TouchAction GetTouchAction() const { | 1518 TouchAction GetTouchAction() const { |
| 1516 return static_cast<TouchAction>(rare_non_inherited_data_->touch_action_); | 1519 return static_cast<TouchAction>(rare_non_inherited_data_->touch_action_); |
| 1517 } | 1520 } |
| 1518 void SetTouchAction(TouchAction t) { | 1521 void SetTouchAction(TouchAction t) { |
| 1519 SET_VAR(rare_non_inherited_data_, touch_action_, t); | 1522 SET_VAR(rare_non_inherited_data_, touch_action_, t); |
| 1520 } | 1523 } |
| 1521 | 1524 |
| 1522 // vertical-align | 1525 // vertical-align |
| 1523 static EVerticalAlign InitialVerticalAlign() { | 1526 static EVerticalAlign InitialVerticalAlign() { |
| 1524 return EVerticalAlign::kBaseline; | 1527 return EVerticalAlign::kBaseline; |
| (...skipping 2129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3654 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3657 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
| 3655 } | 3658 } |
| 3656 | 3659 |
| 3657 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3660 inline bool ComputedStyle::HasPseudoElementStyle() const { |
| 3658 return PseudoBitsInternal() & kElementPseudoIdMask; | 3661 return PseudoBitsInternal() & kElementPseudoIdMask; |
| 3659 } | 3662 } |
| 3660 | 3663 |
| 3661 } // namespace blink | 3664 } // namespace blink |
| 3662 | 3665 |
| 3663 #endif // ComputedStyle_h | 3666 #endif // ComputedStyle_h |
| OLD | NEW |