| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 bool hasFallbackContent() const; | 93 bool hasFallbackContent() const; |
| 94 | 94 |
| 95 // FIXME: This function should not deal with url or serviceType | 95 // FIXME: This function should not deal with url or serviceType |
| 96 // so that we can better share code between <object> and <embed>. | 96 // so that we can better share code between <object> and <embed>. |
| 97 void parametersForPlugin(Vector<String>& paramNames, Vector<String>& paramVa
lues, String& url, String& serviceType); | 97 void parametersForPlugin(Vector<String>& paramNames, Vector<String>& paramVa
lues, String& url, String& serviceType); |
| 98 | 98 |
| 99 bool shouldAllowQuickTimeClassIdQuirk(); | 99 bool shouldAllowQuickTimeClassIdQuirk(); |
| 100 bool hasValidClassId(); | 100 bool hasValidClassId(); |
| 101 | 101 |
| 102 void reloadPluginOnAttributeChange(const QualifiedName&); |
| 103 |
| 102 virtual void refFormAssociatedElement() OVERRIDE { ref(); } | 104 virtual void refFormAssociatedElement() OVERRIDE { ref(); } |
| 103 virtual void derefFormAssociatedElement() OVERRIDE { deref(); } | 105 virtual void derefFormAssociatedElement() OVERRIDE { deref(); } |
| 104 | 106 |
| 105 virtual bool shouldRegisterAsNamedItem() const OVERRIDE { return true; } | 107 virtual bool shouldRegisterAsNamedItem() const OVERRIDE { return true; } |
| 106 virtual bool shouldRegisterAsExtraNamedItem() const OVERRIDE { return true;
} | 108 virtual bool shouldRegisterAsExtraNamedItem() const OVERRIDE { return true;
} |
| 107 | 109 |
| 108 String m_classId; | 110 String m_classId; |
| 109 bool m_useFallbackContent : 1; | 111 bool m_useFallbackContent : 1; |
| 110 }; | 112 }; |
| 111 | 113 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 127 const HTMLObjectElement& objectElement = static_cast<const HTMLObjectElement
&>(element); | 129 const HTMLObjectElement& objectElement = static_cast<const HTMLObjectElement
&>(element); |
| 128 // We need to assert after the cast because FormAssociatedElement doesn't | 130 // We need to assert after the cast because FormAssociatedElement doesn't |
| 129 // have hasTagName. | 131 // have hasTagName. |
| 130 ASSERT_WITH_SECURITY_IMPLICATION(objectElement.hasTagName(HTMLNames::objectT
ag)); | 132 ASSERT_WITH_SECURITY_IMPLICATION(objectElement.hasTagName(HTMLNames::objectT
ag)); |
| 131 return objectElement; | 133 return objectElement; |
| 132 } | 134 } |
| 133 | 135 |
| 134 } | 136 } |
| 135 | 137 |
| 136 #endif | 138 #endif |
| OLD | NEW |