| Index: sky/engine/core/html/HTMLElement.h
|
| diff --git a/sky/engine/core/html/HTMLElement.h b/sky/engine/core/html/HTMLElement.h
|
| index d860bca1529b684226ce9b136a4a88ea83eaf209..b1382fe03597e2e5dc43e2923bfcf65b48d9cfa2 100644
|
| --- a/sky/engine/core/html/HTMLElement.h
|
| +++ b/sky/engine/core/html/HTMLElement.h
|
| @@ -27,29 +27,11 @@
|
|
|
| namespace blink {
|
|
|
| -class ExceptionState;
|
| -
|
| class HTMLElement : public Element {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(HTMLElement);
|
|
|
| - bool hasTagName(const HTMLQualifiedName& name) const { return hasLocalName(name.localName()); }
|
| -
|
| - virtual String title() const override final;
|
| - virtual short tabIndex() const override;
|
| -
|
| - String contentEditable() const;
|
| - void setContentEditable(const String&, ExceptionState&);
|
| -
|
| - bool spellcheck() const;
|
| - void setSpellcheck(bool);
|
| -
|
| - const AtomicString& dir();
|
| - void setDir(const AtomicString&);
|
| -
|
| - void click();
|
| -
|
| virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isolate*) override;
|
|
|
| protected:
|
| @@ -71,20 +53,6 @@ inline HTMLElement::HTMLElement(const QualifiedName& tagName, Document& document
|
| ASSERT(!tagName.localName().isNull());
|
| }
|
|
|
| -inline bool Node::hasTagName(const HTMLQualifiedName& name) const
|
| -{
|
| - return isHTMLElement() && toHTMLElement(*this).hasTagName(name);
|
| -}
|
| -
|
| -// Functor used to match HTMLElements with a specific HTML tag when using the ElementTraversal API.
|
| -class HasHTMLTagName {
|
| -public:
|
| - explicit HasHTMLTagName(const HTMLQualifiedName& tagName): m_tagName(tagName) { }
|
| - bool operator() (const HTMLElement& element) const { return element.hasTagName(m_tagName); }
|
| -private:
|
| - const HTMLQualifiedName& m_tagName;
|
| -};
|
| -
|
| // This requires isHTML*Element(const Element&) and isHTML*Element(const HTMLElement&).
|
| // When the input element is an HTMLElement, we don't need to check the namespace URI, just the local name.
|
| #define DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) \
|
|
|