Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / core / html / HTMLRTElement.h
blob13b21e5e75b77464990c1b0beb13a946a1f3a7af
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef HTMLRTElement_h
6 #define HTMLRTElement_h
8 #include "core/html/HTMLElement.h"
10 namespace blink {
12 // <rt> is an HTMLElement in script, but we use a separate interface here
13 // so HTMLElement's createLayoutObject doesn't need to know about it.
14 class HTMLRTElement final : public HTMLElement {
15 public:
16 DECLARE_NODE_FACTORY(HTMLRTElement);
18 private:
19 explicit HTMLRTElement(Document&);
21 LayoutObject* createLayoutObject(const ComputedStyle&) override;
24 } // namespace
26 #endif