| 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 2571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2582 } | 2582 } |
| 2583 | 2583 |
| 2584 bool hasCompositorProxy() const { | 2584 bool hasCompositorProxy() const { |
| 2585 return m_rareNonInheritedData->m_hasCompositorProxy; | 2585 return m_rareNonInheritedData->m_hasCompositorProxy; |
| 2586 } | 2586 } |
| 2587 void setHasCompositorProxy(bool b) { | 2587 void setHasCompositorProxy(bool b) { |
| 2588 SET_VAR(m_rareNonInheritedData, m_hasCompositorProxy, b); | 2588 SET_VAR(m_rareNonInheritedData, m_hasCompositorProxy, b); |
| 2589 } | 2589 } |
| 2590 | 2590 |
| 2591 bool isLink() const { return m_nonInheritedData.m_isLink; } | 2591 bool isLink() const { return m_nonInheritedData.m_isLink; } |
| 2592 void setIsLink(bool b) { m_nonInheritedData.m_isLink = b; } | 2592 void setIsLink() { m_nonInheritedData.m_isLink = true; } |
| 2593 | 2593 |
| 2594 EInsideLink insideLink() const { | 2594 EInsideLink insideLink() const { |
| 2595 return static_cast<EInsideLink>(m_inheritedData.m_insideLink); | 2595 return static_cast<EInsideLink>(m_inheritedData.m_insideLink); |
| 2596 } | 2596 } |
| 2597 void setInsideLink(EInsideLink insideLink) { | 2597 void setInsideLink(EInsideLink insideLink) { |
| 2598 m_inheritedData.m_insideLink = static_cast<unsigned>(insideLink); | 2598 m_inheritedData.m_insideLink = static_cast<unsigned>(insideLink); |
| 2599 } | 2599 } |
| 2600 | 2600 |
| 2601 bool hasExplicitlyInheritedProperties() const { | 2601 bool hasExplicitlyInheritedProperties() const { |
| 2602 return m_nonInheritedData.m_explicitInheritance; | 2602 return m_nonInheritedData.m_explicitInheritance; |
| (...skipping 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3944 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); | 3944 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); |
| 3945 } | 3945 } |
| 3946 | 3946 |
| 3947 inline bool ComputedStyle::hasPseudoElementStyle() const { | 3947 inline bool ComputedStyle::hasPseudoElementStyle() const { |
| 3948 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; | 3948 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; |
| 3949 } | 3949 } |
| 3950 | 3950 |
| 3951 } // namespace blink | 3951 } // namespace blink |
| 3952 | 3952 |
| 3953 #endif // ComputedStyle_h | 3953 #endif // ComputedStyle_h |
| OLD | NEW |