OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
8 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 9 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
10 * | 10 * |
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 bool InputType::hasTouchEventHandler() const | 891 bool InputType::hasTouchEventHandler() const |
892 { | 892 { |
893 return false; | 893 return false; |
894 } | 894 } |
895 | 895 |
896 String InputType::defaultToolTip() const | 896 String InputType::defaultToolTip() const |
897 { | 897 { |
898 return String(); | 898 return String(); |
899 } | 899 } |
900 | 900 |
901 #if ENABLE(DATALIST_ELEMENT) | |
902 void InputType::listAttributeTargetChanged() | 901 void InputType::listAttributeTargetChanged() |
903 { | 902 { |
904 } | 903 } |
905 | 904 |
906 Decimal InputType::findClosestTickMarkValue(const Decimal&) | 905 Decimal InputType::findClosestTickMarkValue(const Decimal&) |
907 { | 906 { |
908 ASSERT_NOT_REACHED(); | 907 ASSERT_NOT_REACHED(); |
909 return Decimal::nan(); | 908 return Decimal::nan(); |
910 } | 909 } |
911 #endif | |
912 | 910 |
913 void InputType::updateClearButtonVisibility() | 911 void InputType::updateClearButtonVisibility() |
914 { | 912 { |
915 } | 913 } |
916 | 914 |
917 bool InputType::supportsIndeterminateAppearance() const | 915 bool InputType::supportsIndeterminateAppearance() const |
918 { | 916 { |
919 return false; | 917 return false; |
920 } | 918 } |
921 | 919 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1103 | 1101 |
1104 void InputType::observeFeatureIfVisible(UseCounter::Feature feature) const | 1102 void InputType::observeFeatureIfVisible(UseCounter::Feature feature) const |
1105 { | 1103 { |
1106 if (RenderStyle* style = element()->renderStyle()) { | 1104 if (RenderStyle* style = element()->renderStyle()) { |
1107 if (style->visibility() != HIDDEN) | 1105 if (style->visibility() != HIDDEN) |
1108 UseCounter::count(element()->document(), feature); | 1106 UseCounter::count(element()->document(), feature); |
1109 } | 1107 } |
1110 } | 1108 } |
1111 | 1109 |
1112 } // namespace WebCore | 1110 } // namespace WebCore |
OLD | NEW |