| 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 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1848 // -webkit-ruby-position | 1848 // -webkit-ruby-position |
| 1849 static RubyPosition InitialRubyPosition() { return RubyPosition::kBefore; } | 1849 static RubyPosition InitialRubyPosition() { return RubyPosition::kBefore; } |
| 1850 RubyPosition GetRubyPosition() const { | 1850 RubyPosition GetRubyPosition() const { |
| 1851 return static_cast<RubyPosition>(rare_inherited_data_->ruby_position_); | 1851 return static_cast<RubyPosition>(rare_inherited_data_->ruby_position_); |
| 1852 } | 1852 } |
| 1853 void SetRubyPosition(RubyPosition position) { | 1853 void SetRubyPosition(RubyPosition position) { |
| 1854 SET_VAR(rare_inherited_data_, ruby_position_, | 1854 SET_VAR(rare_inherited_data_, ruby_position_, |
| 1855 static_cast<unsigned>(position)); | 1855 static_cast<unsigned>(position)); |
| 1856 } | 1856 } |
| 1857 | 1857 |
| 1858 // -webkit-tap-highlight-color | |
| 1859 static Color InitialTapHighlightColor(); | |
| 1860 Color TapHighlightColor() const { | |
| 1861 return rare_inherited_data_->tap_highlight_color_; | |
| 1862 } | |
| 1863 void SetTapHighlightColor(const Color& c) { | |
| 1864 SET_VAR(rare_inherited_data_, tap_highlight_color_, c); | |
| 1865 } | |
| 1866 | |
| 1867 // -webkit-text-fill-color | 1858 // -webkit-text-fill-color |
| 1868 void SetTextFillColor(const StyleColor& color) { | 1859 void SetTextFillColor(const StyleColor& color) { |
| 1869 SET_VAR(rare_inherited_data_, text_fill_color_, color.Resolve(Color())); | 1860 SET_VAR(rare_inherited_data_, text_fill_color_, color.Resolve(Color())); |
| 1870 SET_VAR(rare_inherited_data_, text_fill_color_is_current_color_, | 1861 SET_VAR(rare_inherited_data_, text_fill_color_is_current_color_, |
| 1871 color.IsCurrentColor()); | 1862 color.IsCurrentColor()); |
| 1872 } | 1863 } |
| 1873 | 1864 |
| 1874 // -webkit-text-security | 1865 // -webkit-text-security |
| 1875 static ETextSecurity InitialTextSecurity() { return ETextSecurity::kNone; } | 1866 static ETextSecurity InitialTextSecurity() { return ETextSecurity::kNone; } |
| 1876 ETextSecurity TextSecurity() const { | 1867 ETextSecurity TextSecurity() const { |
| (...skipping 1902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3779 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3770 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
| 3780 } | 3771 } |
| 3781 | 3772 |
| 3782 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3773 inline bool ComputedStyle::HasPseudoElementStyle() const { |
| 3783 return PseudoBitsInternal() & kElementPseudoIdMask; | 3774 return PseudoBitsInternal() & kElementPseudoIdMask; |
| 3784 } | 3775 } |
| 3785 | 3776 |
| 3786 } // namespace blink | 3777 } // namespace blink |
| 3787 | 3778 |
| 3788 #endif // ComputedStyle_h | 3779 #endif // ComputedStyle_h |
| OLD | NEW |