mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove WebPageSerialzier related code.
R=ojan@chromium.org Review URL: https://codereview.chromium.org/699623006
This commit is contained in:
parent
1d55401b57
commit
2fdeeca8b0
@ -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)
|
||||
|
||||
@ -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>&);
|
||||
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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*);
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user