| 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 26 matching lines...) Expand all Loading... |
| 37 static PassRefPtrWillBeRawPtr<HTMLObjectElement> create(Document&, HTMLFormE
lement*, bool createdByParser); | 37 static PassRefPtrWillBeRawPtr<HTMLObjectElement> create(Document&, HTMLFormE
lement*, bool createdByParser); |
| 38 virtual ~HTMLObjectElement(); | 38 virtual ~HTMLObjectElement(); |
| 39 virtual void trace(Visitor*) OVERRIDE; | 39 virtual void trace(Visitor*) OVERRIDE; |
| 40 | 40 |
| 41 const String& classId() const { return m_classId; } | 41 const String& classId() const { return m_classId; } |
| 42 | 42 |
| 43 virtual HTMLFormElement* formOwner() const OVERRIDE; | 43 virtual HTMLFormElement* formOwner() const OVERRIDE; |
| 44 | 44 |
| 45 bool containsJavaApplet() const; | 45 bool containsJavaApplet() const; |
| 46 | 46 |
| 47 virtual bool hasFallbackContent() const OVERRIDE; |
| 47 virtual bool useFallbackContent() const OVERRIDE; | 48 virtual bool useFallbackContent() const OVERRIDE; |
| 48 virtual void renderFallbackContent() OVERRIDE; | 49 virtual void renderFallbackContent() OVERRIDE; |
| 49 | 50 |
| 50 virtual bool isFormControlElement() const OVERRIDE { return false; } | 51 virtual bool isFormControlElement() const OVERRIDE { return false; } |
| 51 | 52 |
| 52 virtual bool isEnumeratable() const OVERRIDE { return true; } | 53 virtual bool isEnumeratable() const OVERRIDE { return true; } |
| 53 virtual bool isInteractiveContent() const OVERRIDE; | 54 virtual bool isInteractiveContent() const OVERRIDE; |
| 54 virtual bool appendFormData(FormDataList&, bool) OVERRIDE; | 55 virtual bool appendFormData(FormDataList&, bool) OVERRIDE; |
| 55 | 56 |
| 56 virtual bool isObjectElement() const OVERRIDE { return true; } | 57 virtual bool isObjectElement() const OVERRIDE { return true; } |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 virtual const QualifiedName& subResourceAttributeName() const OVERRIDE; | 89 virtual const QualifiedName& subResourceAttributeName() const OVERRIDE; |
| 89 virtual const AtomicString imageSourceURL() const OVERRIDE; | 90 virtual const AtomicString imageSourceURL() const OVERRIDE; |
| 90 | 91 |
| 91 virtual RenderWidget* existingRenderWidget() const OVERRIDE; | 92 virtual RenderWidget* existingRenderWidget() const OVERRIDE; |
| 92 | 93 |
| 93 virtual void updateWidgetInternal() OVERRIDE; | 94 virtual void updateWidgetInternal() OVERRIDE; |
| 94 void updateDocNamedItem(); | 95 void updateDocNamedItem(); |
| 95 | 96 |
| 96 void reattachFallbackContent(); | 97 void reattachFallbackContent(); |
| 97 | 98 |
| 98 bool hasFallbackContent() const; | |
| 99 | |
| 100 // FIXME: This function should not deal with url or serviceType | 99 // FIXME: This function should not deal with url or serviceType |
| 101 // so that we can better share code between <object> and <embed>. | 100 // so that we can better share code between <object> and <embed>. |
| 102 void parametersForPlugin(Vector<String>& paramNames, Vector<String>& paramVa
lues, String& url, String& serviceType); | 101 void parametersForPlugin(Vector<String>& paramNames, Vector<String>& paramVa
lues, String& url, String& serviceType); |
| 103 | 102 |
| 104 bool shouldAllowQuickTimeClassIdQuirk(); | 103 bool shouldAllowQuickTimeClassIdQuirk(); |
| 105 bool hasValidClassId(); | 104 bool hasValidClassId(); |
| 106 | 105 |
| 107 void reloadPluginOnAttributeChange(const QualifiedName&); | 106 void reloadPluginOnAttributeChange(const QualifiedName&); |
| 108 | 107 |
| 109 #if !ENABLE(OILPAN) | 108 #if !ENABLE(OILPAN) |
| (...skipping 30 matching lines...) Expand all Loading... |
| 140 const HTMLObjectElement& objectElement = static_cast<const HTMLObjectElement
&>(element); | 139 const HTMLObjectElement& objectElement = static_cast<const HTMLObjectElement
&>(element); |
| 141 // We need to assert after the cast because FormAssociatedElement doesn't | 140 // We need to assert after the cast because FormAssociatedElement doesn't |
| 142 // have hasTagName. | 141 // have hasTagName. |
| 143 ASSERT_WITH_SECURITY_IMPLICATION(objectElement.hasTagName(HTMLNames::objectT
ag)); | 142 ASSERT_WITH_SECURITY_IMPLICATION(objectElement.hasTagName(HTMLNames::objectT
ag)); |
| 144 return objectElement; | 143 return objectElement; |
| 145 } | 144 } |
| 146 | 145 |
| 147 } | 146 } |
| 148 | 147 |
| 149 #endif | 148 #endif |
| OLD | NEW |