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. 4 5 #ifndef HTMLRTElement_h 6 #define HTMLRTElement_h 7 8 #include "core/html/HTMLElement.h" 9 10 namespace blink { 11 12 // <rt> is an HTMLElement in script, but we use a separate interface here 13 // so HTMLElement's createRenderer doesn't need to know about it. 14 class HTMLRTElement FINAL : public HTMLElement { 15 public: 16 DECLARE_NODE_FACTORY(HTMLRTElement); 17 18 private: 19 explicit HTMLRTElement(Document&); 20 21 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 22 }; 23 24 } // namespace 25 26 #endif 27