summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/html/HTMLRTElement.h
blob: eea1e94bf30ffd4609eb913f552714e969bdc798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef HTMLRTElement_h
#define HTMLRTElement_h

#include "core/html/HTMLElement.h"

namespace WebCore {

// <rt> is an HTMLElement in script, but we use a separate interface here
// so HTMLElement's createRenderer doesn't need to know about it.
class HTMLRTElement FINAL : public HTMLElement {
public:
    DECLARE_NODE_FACTORY(HTMLRTElement);

private:
    explicit HTMLRTElement(Document&);

    virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
};

} // namespace

#endif