| 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 1462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1473 PageSizeType GetPageSizeType() const { | 1473 PageSizeType GetPageSizeType() const { |
| 1474 return static_cast<PageSizeType>(rare_non_inherited_data_->page_size_type_); | 1474 return static_cast<PageSizeType>(rare_non_inherited_data_->page_size_type_); |
| 1475 } | 1475 } |
| 1476 void SetPageSize(const FloatSize& s) { | 1476 void SetPageSize(const FloatSize& s) { |
| 1477 SET_VAR(rare_non_inherited_data_, page_size_, s); | 1477 SET_VAR(rare_non_inherited_data_, page_size_, s); |
| 1478 } | 1478 } |
| 1479 void SetPageSizeType(PageSizeType t) { | 1479 void SetPageSizeType(PageSizeType t) { |
| 1480 SET_VAR(rare_non_inherited_data_, page_size_type_, t); | 1480 SET_VAR(rare_non_inherited_data_, page_size_type_, t); |
| 1481 } | 1481 } |
| 1482 | 1482 |
| 1483 // sticky subtrees |
| 1484 bool IsInStickySubtree() const { |
| 1485 return rare_inherited_data_->is_in_sticky_subtree_; |
| 1486 } |
| 1487 void SetIsInStickySubtree(bool b) { |
| 1488 SET_VAR(rare_inherited_data_, is_in_sticky_subtree_, b); |
| 1489 } |
| 1490 |
| 1483 // Text decoration properties. | 1491 // Text decoration properties. |
| 1484 // text-decoration-line | 1492 // text-decoration-line |
| 1485 static TextDecoration InitialTextDecoration() { return kTextDecorationNone; } | 1493 static TextDecoration InitialTextDecoration() { return kTextDecorationNone; } |
| 1486 TextDecoration GetTextDecoration() const { | 1494 TextDecoration GetTextDecoration() const { |
| 1487 return static_cast<TextDecoration>(visual_data_->text_decoration); | 1495 return static_cast<TextDecoration>(visual_data_->text_decoration); |
| 1488 } | 1496 } |
| 1489 void SetTextDecoration(TextDecoration v) { | 1497 void SetTextDecoration(TextDecoration v) { |
| 1490 SET_VAR(visual_data_, text_decoration, v); | 1498 SET_VAR(visual_data_, text_decoration, v); |
| 1491 } | 1499 } |
| 1492 | 1500 |
| (...skipping 2191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3684 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3692 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
| 3685 } | 3693 } |
| 3686 | 3694 |
| 3687 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3695 inline bool ComputedStyle::HasPseudoElementStyle() const { |
| 3688 return PseudoBitsInternal() & kElementPseudoIdMask; | 3696 return PseudoBitsInternal() & kElementPseudoIdMask; |
| 3689 } | 3697 } |
| 3690 | 3698 |
| 3691 } // namespace blink | 3699 } // namespace blink |
| 3692 | 3700 |
| 3693 #endif // ComputedStyle_h | 3701 #endif // ComputedStyle_h |
| OLD | NEW |