| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 // so that we can better share code between <object> and <embed>. | 112 // so that we can better share code between <object> and <embed>. |
| 113 void parametersForPlugin(Vector<String>& paramNames, | 113 void parametersForPlugin(Vector<String>& paramNames, |
| 114 Vector<String>& paramValues, | 114 Vector<String>& paramValues, |
| 115 String& url, | 115 String& url, |
| 116 String& serviceType); | 116 String& serviceType); |
| 117 | 117 |
| 118 bool hasValidClassId() const; | 118 bool hasValidClassId() const; |
| 119 | 119 |
| 120 void reloadPluginOnAttributeChange(const QualifiedName&); | 120 void reloadPluginOnAttributeChange(const QualifiedName&); |
| 121 | 121 |
| 122 bool childrenCanHaveStyle() const { return willUseFallbackContentAtLayout(); } |
| 123 |
| 122 bool shouldRegisterAsNamedItem() const override { return true; } | 124 bool shouldRegisterAsNamedItem() const override { return true; } |
| 123 bool shouldRegisterAsExtraNamedItem() const override { return true; } | 125 bool shouldRegisterAsExtraNamedItem() const override { return true; } |
| 124 | 126 |
| 125 String m_classId; | 127 String m_classId; |
| 126 bool m_useFallbackContent : 1; | 128 bool m_useFallbackContent : 1; |
| 127 }; | 129 }; |
| 128 | 130 |
| 129 // Intentionally left unimplemented, template specialization needs to be | 131 // Intentionally left unimplemented, template specialization needs to be |
| 130 // provided for specific return types. | 132 // provided for specific return types. |
| 131 template <typename T> | 133 template <typename T> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 156 static_cast<const HTMLObjectElement&>(element); | 158 static_cast<const HTMLObjectElement&>(element); |
| 157 // We need to assert after the cast because ListedElement doesn't | 159 // We need to assert after the cast because ListedElement doesn't |
| 158 // have hasTagName. | 160 // have hasTagName. |
| 159 SECURITY_DCHECK(objectElement.hasTagName(HTMLNames::objectTag)); | 161 SECURITY_DCHECK(objectElement.hasTagName(HTMLNames::objectTag)); |
| 160 return objectElement; | 162 return objectElement; |
| 161 } | 163 } |
| 162 | 164 |
| 163 } // namespace blink | 165 } // namespace blink |
| 164 | 166 |
| 165 #endif // HTMLObjectElement_h | 167 #endif // HTMLObjectElement_h |
| OLD | NEW |