flutter_flutter/engine/build/scripts/templates/ElementFactory.h.tmpl
Adam Barth 178be1d89d Remove almost all clients of isHTMLElement
This CL is progress towards deleting the concept of an HTMLElement entirely. We
won't actually get all the way there in this CL series, but we're getting
closer. This CL also will let us make custom elements just be Elements instead
of HTMLElements.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/942933003
2015-02-20 12:06:15 -08:00

26 lines
480 B
Cheetah

{% from "macros.tmpl" import license %}
{{ license() }}
#ifndef {{namespace}}ElementFactory_h
#define {{namespace}}ElementFactory_h
#include "sky/engine/wtf/Forward.h"
#include "sky/engine/wtf/PassRefPtr.h"
namespace blink {
class Document;
class Element;
class {{namespace}}ElementFactory {
public:
static PassRefPtr<Element> createElement(
const AtomicString& localName,
Document&,
bool createdByParser = true);
};
} // namespace blink
#endif