Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Side by Side Diff: Source/core/html/HTMLRubyElement.h

Issue 1219013005: Fix virtual/override/final usage in Source/core/html/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLRTElement.h ('k') | Source/core/html/HTMLScriptElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef HTMLRubyElement_h 5 #ifndef HTMLRubyElement_h
6 #define HTMLRubyElement_h 6 #define HTMLRubyElement_h
7 7
8 #include "core/html/HTMLElement.h" 8 #include "core/html/HTMLElement.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 // <ruby> is an HTMLElement in script, but we use a separate interface here 12 // <ruby> is an HTMLElement in script, but we use a separate interface here
13 // so HTMLElement's createLayoutObject doesn't need to know about it. 13 // so HTMLElement's createLayoutObject doesn't need to know about it.
14 class HTMLRubyElement final : public HTMLElement { 14 class HTMLRubyElement final : public HTMLElement {
15 public: 15 public:
16 DECLARE_NODE_FACTORY(HTMLRubyElement); 16 DECLARE_NODE_FACTORY(HTMLRubyElement);
17 17
18 private: 18 private:
19 explicit HTMLRubyElement(Document&); 19 explicit HTMLRubyElement(Document&);
20 20
21 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; 21 LayoutObject* createLayoutObject(const ComputedStyle&) override;
22 }; 22 };
23 23
24 } // namespace 24 } // namespace
25 25
26 #endif 26 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLRTElement.h ('k') | Source/core/html/HTMLScriptElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698