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

Side by Side Diff: Source/core/rendering/svg/SVGRootInlineBox.h

Issue 14093017: Add FINAL decorators to the InlineBox class hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 7 years, 8 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/rendering/svg/SVGInlineTextBox.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> 2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3 * Copyright (C) 2006 Apple Computer Inc. 3 * Copyright (C) 2006 Apple Computer Inc.
4 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> 4 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 14 matching lines...) Expand all
25 25
26 #if ENABLE(SVG) 26 #if ENABLE(SVG)
27 #include "RootInlineBox.h" 27 #include "RootInlineBox.h"
28 #include "SVGRenderSupport.h" 28 #include "SVGRenderSupport.h"
29 #include "SVGTextLayoutEngine.h" 29 #include "SVGTextLayoutEngine.h"
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 class SVGInlineTextBox; 33 class SVGInlineTextBox;
34 34
35 class SVGRootInlineBox : public RootInlineBox { 35 class SVGRootInlineBox FINAL : public RootInlineBox {
36 public: 36 public:
37 SVGRootInlineBox(RenderBlock* block) 37 SVGRootInlineBox(RenderBlock* block)
38 : RootInlineBox(block) 38 : RootInlineBox(block)
39 , m_logicalHeight(0) 39 , m_logicalHeight(0)
40 { 40 {
41 } 41 }
42 42
43 virtual bool isSVGRootInlineBox() const { return true; } 43 virtual bool isSVGRootInlineBox() const { return true; }
44 44
45 virtual float virtualLogicalHeight() const { return m_logicalHeight; } 45 virtual float virtualLogicalHeight() const { return m_logicalHeight; }
(...skipping 16 matching lines...) Expand all
62 62
63 private: 63 private:
64 float m_logicalHeight; 64 float m_logicalHeight;
65 }; 65 };
66 66
67 } // namespace WebCore 67 } // namespace WebCore
68 68
69 #endif // ENABLE(SVG) 69 #endif // ENABLE(SVG)
70 70
71 #endif // SVGRootInlineBox_h 71 #endif // SVGRootInlineBox_h
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/SVGInlineTextBox.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698