| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 #include "platform/Length.h" | 58 #include "platform/Length.h" |
| 59 #include "platform/LengthBox.h" | 59 #include "platform/LengthBox.h" |
| 60 #include "platform/LengthPoint.h" | 60 #include "platform/LengthPoint.h" |
| 61 #include "platform/LengthSize.h" | 61 #include "platform/LengthSize.h" |
| 62 #include "platform/RuntimeEnabledFeatures.h" | 62 #include "platform/RuntimeEnabledFeatures.h" |
| 63 #include "platform/ThemeTypes.h" | 63 #include "platform/ThemeTypes.h" |
| 64 #include "platform/fonts/FontDescription.h" | 64 #include "platform/fonts/FontDescription.h" |
| 65 #include "platform/geometry/FloatRoundedRect.h" | 65 #include "platform/geometry/FloatRoundedRect.h" |
| 66 #include "platform/geometry/LayoutRectOutsets.h" | 66 #include "platform/geometry/LayoutRectOutsets.h" |
| 67 #include "platform/graphics/Color.h" | 67 #include "platform/graphics/Color.h" |
| 68 #include "platform/graphics/TouchAction.h" |
| 68 #include "platform/scroll/ScrollTypes.h" | 69 #include "platform/scroll/ScrollTypes.h" |
| 69 #include "platform/text/TextDirection.h" | 70 #include "platform/text/TextDirection.h" |
| 70 #include "platform/text/UnicodeBidi.h" | 71 #include "platform/text/UnicodeBidi.h" |
| 71 #include "platform/transforms/TransformOperations.h" | 72 #include "platform/transforms/TransformOperations.h" |
| 72 #include "platform/wtf/Forward.h" | 73 #include "platform/wtf/Forward.h" |
| 73 #include "platform/wtf/LeakAnnotations.h" | 74 #include "platform/wtf/LeakAnnotations.h" |
| 74 #include "platform/wtf/RefCounted.h" | 75 #include "platform/wtf/RefCounted.h" |
| 75 #include "platform/wtf/Vector.h" | 76 #include "platform/wtf/Vector.h" |
| 76 | 77 |
| 77 template <typename T, typename U> | 78 template <typename T, typename U> |
| (...skipping 1447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1525 // text-overflow | 1526 // text-overflow |
| 1526 static TextOverflow InitialTextOverflow() { return kTextOverflowClip; } | 1527 static TextOverflow InitialTextOverflow() { return kTextOverflowClip; } |
| 1527 TextOverflow GetTextOverflow() const { | 1528 TextOverflow GetTextOverflow() const { |
| 1528 return static_cast<TextOverflow>(rare_non_inherited_data_->text_overflow); | 1529 return static_cast<TextOverflow>(rare_non_inherited_data_->text_overflow); |
| 1529 } | 1530 } |
| 1530 void SetTextOverflow(TextOverflow overflow) { | 1531 void SetTextOverflow(TextOverflow overflow) { |
| 1531 SET_VAR(rare_non_inherited_data_, text_overflow, overflow); | 1532 SET_VAR(rare_non_inherited_data_, text_overflow, overflow); |
| 1532 } | 1533 } |
| 1533 | 1534 |
| 1534 // touch-action | 1535 // touch-action |
| 1535 static TouchAction InitialTouchAction() { return kTouchActionAuto; } | 1536 static TouchAction InitialTouchAction() { |
| 1537 return TouchAction::kTouchActionAuto; |
| 1538 } |
| 1536 TouchAction GetTouchAction() const { | 1539 TouchAction GetTouchAction() const { |
| 1537 return static_cast<TouchAction>(rare_non_inherited_data_->touch_action_); | 1540 return static_cast<TouchAction>(rare_non_inherited_data_->touch_action_); |
| 1538 } | 1541 } |
| 1539 void SetTouchAction(TouchAction t) { | 1542 void SetTouchAction(TouchAction t) { |
| 1540 SET_VAR(rare_non_inherited_data_, touch_action_, t); | 1543 SET_VAR(rare_non_inherited_data_, touch_action_, t); |
| 1541 } | 1544 } |
| 1542 | 1545 |
| 1543 // vertical-align | 1546 // vertical-align |
| 1544 static EVerticalAlign InitialVerticalAlign() { | 1547 static EVerticalAlign InitialVerticalAlign() { |
| 1545 return EVerticalAlign::kBaseline; | 1548 return EVerticalAlign::kBaseline; |
| (...skipping 2145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3691 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3694 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
| 3692 } | 3695 } |
| 3693 | 3696 |
| 3694 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3697 inline bool ComputedStyle::HasPseudoElementStyle() const { |
| 3695 return PseudoBitsInternal() & kElementPseudoIdMask; | 3698 return PseudoBitsInternal() & kElementPseudoIdMask; |
| 3696 } | 3699 } |
| 3697 | 3700 |
| 3698 } // namespace blink | 3701 } // namespace blink |
| 3699 | 3702 |
| 3700 #endif // ComputedStyle_h | 3703 #endif // ComputedStyle_h |
| OLD | NEW |