Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: Source/core/html/HTMLObjectElement.h

Issue 135103003: Updating <object> upon changing "data", "classid", "type" attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase + method rename Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698