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