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) 2010 Google Inc. All rights reserved. | 8 * Copyright (C) 2010 Google Inc. All rights reserved. |
9 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 9 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
10 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 10 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
(...skipping 1926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1937 continue; | 1937 continue; |
1938 parameters.suggestionValues.append(sanitizeValue(option->value())); | 1938 parameters.suggestionValues.append(sanitizeValue(option->value())); |
1939 parameters.localizedSuggestionValues.append(localizeValue(option->va
lue())); | 1939 parameters.localizedSuggestionValues.append(localizeValue(option->va
lue())); |
1940 parameters.suggestionLabels.append(option->value() == option->label(
) ? String() : option->label()); | 1940 parameters.suggestionLabels.append(option->value() == option->label(
) ? String() : option->label()); |
1941 } | 1941 } |
1942 } | 1942 } |
1943 #endif | 1943 #endif |
1944 return true; | 1944 return true; |
1945 } | 1945 } |
1946 | 1946 |
1947 void HTMLInputElement::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) con
st | |
1948 { | |
1949 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::DOM); | |
1950 HTMLTextFormControlElement::reportMemoryUsage(memoryObjectInfo); | |
1951 info.addMember(m_name, "name"); | |
1952 info.addMember(m_valueIfDirty, "valueIfDirty"); | |
1953 info.addMember(m_suggestedValue, "suggestedValue"); | |
1954 info.addMember(m_inputType, "inputType"); | |
1955 #if ENABLE(DATALIST_ELEMENT) | |
1956 info.addMember(m_listAttributeTargetObserver, "listAttributeTargetObserver")
; | |
1957 #endif | |
1958 } | |
1959 | |
1960 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 1947 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
1961 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() | 1948 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() |
1962 { | 1949 { |
1963 return m_inputType->customStyleForRenderer(document()->styleResolver()->styl
eForElement(this)); | 1950 return m_inputType->customStyleForRenderer(document()->styleResolver()->styl
eForElement(this)); |
1964 } | 1951 } |
1965 #endif | 1952 #endif |
1966 | 1953 |
1967 } // namespace | 1954 } // namespace |
OLD | NEW |