| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 103   LayoutEmbeddedContent* ExistingLayoutEmbeddedContent() const override; | 103   LayoutEmbeddedContent* ExistingLayoutEmbeddedContent() const override; | 
| 104 | 104 | 
| 105   void UpdatePluginInternal() override; | 105   void UpdatePluginInternal() override; | 
| 106   void UpdateDocNamedItem(); | 106   void UpdateDocNamedItem(); | 
| 107 | 107 | 
| 108   void ReattachFallbackContent(); | 108   void ReattachFallbackContent(); | 
| 109 | 109 | 
| 110   // FIXME: This function should not deal with url or serviceType | 110   // FIXME: This function should not deal with url or serviceType | 
| 111   // so that we can better share code between <object> and <embed>. | 111   // so that we can better share code between <object> and <embed>. | 
| 112   void ParametersForPlugin(Vector<String>& param_names, | 112   void ParametersForPlugin(Vector<String>& param_names, | 
| 113                            Vector<String>& param_values, | 113                            Vector<String>& param_values); | 
| 114                            String& url, |  | 
| 115                            String& service_type); |  | 
| 116 | 114 | 
| 117   bool HasValidClassId() const; | 115   bool HasValidClassId() const; | 
| 118 | 116 | 
| 119   void ReloadPluginOnAttributeChange(const QualifiedName&); | 117   void ReloadPluginOnAttributeChange(const QualifiedName&); | 
| 120 | 118 | 
| 121   bool ShouldRegisterAsNamedItem() const override { return true; } | 119   bool ShouldRegisterAsNamedItem() const override { return true; } | 
| 122   bool ShouldRegisterAsExtraNamedItem() const override { return true; } | 120   bool ShouldRegisterAsExtraNamedItem() const override { return true; } | 
| 123 | 121 | 
| 124   String class_id_; | 122   String class_id_; | 
| 125   bool use_fallback_content_ : 1; | 123   bool use_fallback_content_ : 1; | 
| (...skipping 29 matching lines...) Expand all  Loading... | 
| 155       static_cast<const HTMLObjectElement&>(element); | 153       static_cast<const HTMLObjectElement&>(element); | 
| 156   // We need to assert after the cast because ListedElement doesn't | 154   // We need to assert after the cast because ListedElement doesn't | 
| 157   // have hasTagName. | 155   // have hasTagName. | 
| 158   SECURITY_DCHECK(object_element.HasTagName(HTMLNames::objectTag)); | 156   SECURITY_DCHECK(object_element.HasTagName(HTMLNames::objectTag)); | 
| 159   return object_element; | 157   return object_element; | 
| 160 } | 158 } | 
| 161 | 159 | 
| 162 }  // namespace blink | 160 }  // namespace blink | 
| 163 | 161 | 
| 164 #endif  // HTMLObjectElement_h | 162 #endif  // HTMLObjectElement_h | 
| OLD | NEW | 
|---|