Remove WebPageSerialzier related code.

R=ojan@chromium.org

Review URL: https://codereview.chromium.org/699623006
This commit is contained in:
Elliott Sprehn 2014-11-03 19:08:16 -08:00
parent 1d55401b57
commit 2fdeeca8b0
6 changed files with 0 additions and 31 deletions

View File

@ -660,16 +660,6 @@ void Element::attributeChanged(const QualifiedName& name, const AtomicString& ne
setNeedsStyleRecalc(SubtreeStyleChange);
}
bool Element::hasLegalLinkAttribute(const QualifiedName&) const
{
return false;
}
const QualifiedName& Element::subResourceAttributeName() const
{
return nullName;
}
inline void Element::attributeChangedFromParserOrByCloning(const QualifiedName& name, const AtomicString& newValue, AttributeModificationReason reason)
{
if (name == HTMLNames::isAttr)

View File

@ -184,9 +184,6 @@ public:
virtual void parseAttribute(const QualifiedName&, const AtomicString&);
virtual bool hasLegalLinkAttribute(const QualifiedName&) const;
virtual const QualifiedName& subResourceAttributeName() const;
// Only called by the parser immediately after element construction.
void parserSetAttributes(const Vector<Attribute>&);

View File

@ -103,11 +103,6 @@ bool HTMLAnchorElement::isURLAttribute(const Attribute& attribute) const
return attribute.name() == HTMLNames::hrefAttr || HTMLElement::isURLAttribute(attribute);
}
bool HTMLAnchorElement::hasLegalLinkAttribute(const QualifiedName& name) const
{
return name == HTMLNames::hrefAttr || HTMLElement::hasLegalLinkAttribute(name);
}
bool HTMLAnchorElement::canStartSelection() const
{
return hasEditableStyle();

View File

@ -50,7 +50,6 @@ private:
virtual void defaultEventHandler(Event*) override final;
virtual bool willRespondToMouseClickEvents() override final;
virtual bool isURLAttribute(const Attribute&) const override final;
virtual bool hasLegalLinkAttribute(const QualifiedName&) const override final;
virtual bool canStartSelection() const override final;
void handleClick(Event*);

View File

@ -377,16 +377,6 @@ bool HTMLImageElement::isURLAttribute(const Attribute& attribute) const
|| HTMLElement::isURLAttribute(attribute);
}
bool HTMLImageElement::hasLegalLinkAttribute(const QualifiedName& name) const
{
return name == HTMLNames::srcAttr || HTMLElement::hasLegalLinkAttribute(name);
}
const QualifiedName& HTMLImageElement::subResourceAttributeName() const
{
return HTMLNames::srcAttr;
}
void HTMLImageElement::setHeight(int value)
{
setIntegralAttribute(HTMLNames::heightAttr, value);

View File

@ -106,8 +106,6 @@ private:
virtual bool canStartSelection() const override;
virtual bool isURLAttribute(const Attribute&) const override;
virtual bool hasLegalLinkAttribute(const QualifiedName&) const override;
virtual const QualifiedName& subResourceAttributeName() const override;
virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
virtual void removedFrom(ContainerNode*) override;