| 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 1978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1989 // -webkit-user-drag | 1989 // -webkit-user-drag |
| 1990 static EUserDrag InitialUserDrag() { return DRAG_AUTO; } | 1990 static EUserDrag InitialUserDrag() { return DRAG_AUTO; } |
| 1991 EUserDrag UserDrag() const { | 1991 EUserDrag UserDrag() const { |
| 1992 return static_cast<EUserDrag>(rare_non_inherited_data_->user_drag); | 1992 return static_cast<EUserDrag>(rare_non_inherited_data_->user_drag); |
| 1993 } | 1993 } |
| 1994 void SetUserDrag(EUserDrag d) { | 1994 void SetUserDrag(EUserDrag d) { |
| 1995 SET_VAR(rare_non_inherited_data_, user_drag, d); | 1995 SET_VAR(rare_non_inherited_data_, user_drag, d); |
| 1996 } | 1996 } |
| 1997 | 1997 |
| 1998 // -webkit-user-modify | 1998 // -webkit-user-modify |
| 1999 static EUserModify InitialUserModify() { return READ_ONLY; } | 1999 static EUserModify InitialUserModify() { return EUserModify::kReadOnly; } |
| 2000 EUserModify UserModify() const { | 2000 EUserModify UserModify() const { |
| 2001 return static_cast<EUserModify>(rare_inherited_data_->user_modify_); | 2001 return static_cast<EUserModify>(rare_inherited_data_->user_modify_); |
| 2002 } | 2002 } |
| 2003 void SetUserModify(EUserModify u) { | 2003 void SetUserModify(EUserModify u) { |
| 2004 SET_VAR(rare_inherited_data_, user_modify_, u); | 2004 SET_VAR(rare_inherited_data_, user_modify_, static_cast<unsigned>(u)); |
| 2005 } | 2005 } |
| 2006 | 2006 |
| 2007 // -webkit-user-select | 2007 // -webkit-user-select |
| 2008 static EUserSelect InitialUserSelect() { return SELECT_TEXT; } | 2008 static EUserSelect InitialUserSelect() { return SELECT_TEXT; } |
| 2009 EUserSelect UserSelect() const { | 2009 EUserSelect UserSelect() const { |
| 2010 return static_cast<EUserSelect>(rare_inherited_data_->user_select_); | 2010 return static_cast<EUserSelect>(rare_inherited_data_->user_select_); |
| 2011 } | 2011 } |
| 2012 void SetUserSelect(EUserSelect s) { | 2012 void SetUserSelect(EUserSelect s) { |
| 2013 SET_VAR(rare_inherited_data_, user_select_, s); | 2013 SET_VAR(rare_inherited_data_, user_select_, s); |
| 2014 } | 2014 } |
| (...skipping 1806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3821 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3821 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
| 3822 } | 3822 } |
| 3823 | 3823 |
| 3824 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3824 inline bool ComputedStyle::HasPseudoElementStyle() const { |
| 3825 return PseudoBitsInternal() & kElementPseudoIdMask; | 3825 return PseudoBitsInternal() & kElementPseudoIdMask; |
| 3826 } | 3826 } |
| 3827 | 3827 |
| 3828 } // namespace blink | 3828 } // namespace blink |
| 3829 | 3829 |
| 3830 #endif // ComputedStyle_h | 3830 #endif // ComputedStyle_h |
| OLD | NEW |