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 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 bool containsJavaApplet() const; | 40 bool containsJavaApplet() const; |
41 | 41 |
42 virtual bool useFallbackContent() const OVERRIDE; | 42 virtual bool useFallbackContent() const OVERRIDE; |
43 virtual void renderFallbackContent() OVERRIDE; | 43 virtual void renderFallbackContent() OVERRIDE; |
44 | 44 |
45 virtual bool isFormControlElement() const { return false; } | 45 virtual bool isFormControlElement() const { return false; } |
46 | 46 |
47 virtual bool isEnumeratable() const { return true; } | 47 virtual bool isEnumeratable() const { return true; } |
48 virtual bool isInteractiveContent() const OVERRIDE; | 48 virtual bool isInteractiveContent() const OVERRIDE; |
| 49 virtual bool isFormAssociatedElement() const OVERRIDE { return true; } |
49 virtual bool appendFormData(FormDataList&, bool); | 50 virtual bool appendFormData(FormDataList&, bool); |
50 | 51 |
51 virtual bool isObjectElement() const OVERRIDE { return true; } | 52 virtual bool isObjectElement() const OVERRIDE { return true; } |
52 | 53 |
53 // Implementations of constraint validation API. | 54 // Implementations of constraint validation API. |
54 // Note that the object elements are always barred from constraint validatio
n. | 55 // Note that the object elements are always barred from constraint validatio
n. |
55 virtual String validationMessage() const OVERRIDE { return String(); } | 56 virtual String validationMessage() const OVERRIDE { return String(); } |
56 bool checkValidity() { return true; } | 57 bool checkValidity() { return true; } |
57 virtual void setCustomValidity(const String&) OVERRIDE { } | 58 virtual void setCustomValidity(const String&) OVERRIDE { } |
58 | 59 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 const HTMLObjectElement& objectElement = static_cast<const HTMLObjectElement
&>(element); | 129 const HTMLObjectElement& objectElement = static_cast<const HTMLObjectElement
&>(element); |
129 // We need to assert after the cast because FormAssociatedElement doesn't | 130 // We need to assert after the cast because FormAssociatedElement doesn't |
130 // have hasTagName. | 131 // have hasTagName. |
131 ASSERT_WITH_SECURITY_IMPLICATION(objectElement.hasTagName(HTMLNames::objectT
ag)); | 132 ASSERT_WITH_SECURITY_IMPLICATION(objectElement.hasTagName(HTMLNames::objectT
ag)); |
132 return objectElement; | 133 return objectElement; |
133 } | 134 } |
134 | 135 |
135 } | 136 } |
136 | 137 |
137 #endif | 138 #endif |
OLD | NEW |