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

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

Issue 337113005: Reduce forward declarations in core/rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
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 11 matching lines...) Expand all
22 22
23 #ifndef SVGRootInlineBox_h 23 #ifndef SVGRootInlineBox_h
24 #define SVGRootInlineBox_h 24 #define SVGRootInlineBox_h
25 25
26 #include "core/rendering/RootInlineBox.h" 26 #include "core/rendering/RootInlineBox.h"
27 #include "core/rendering/svg/SVGRenderSupport.h" 27 #include "core/rendering/svg/SVGRenderSupport.h"
28 #include "core/rendering/svg/SVGTextLayoutEngine.h" 28 #include "core/rendering/svg/SVGTextLayoutEngine.h"
29 29
30 namespace WebCore { 30 namespace WebCore {
31 31
32 class SVGInlineTextBox;
33
34 class SVGRootInlineBox FINAL : public RootInlineBox { 32 class SVGRootInlineBox FINAL : public RootInlineBox {
35 public: 33 public:
36 SVGRootInlineBox(RenderBlockFlow& block) 34 SVGRootInlineBox(RenderBlockFlow& block)
37 : RootInlineBox(block) 35 : RootInlineBox(block)
38 , m_logicalHeight(0) 36 , m_logicalHeight(0)
39 { 37 {
40 } 38 }
41 39
42 virtual bool isSVGRootInlineBox() const OVERRIDE { return true; } 40 virtual bool isSVGRootInlineBox() const OVERRIDE { return true; }
43 41
(...skipping 16 matching lines...) Expand all
60 58
61 private: 59 private:
62 float m_logicalHeight; 60 float m_logicalHeight;
63 }; 61 };
64 62
65 DEFINE_INLINE_BOX_TYPE_CASTS(SVGRootInlineBox); 63 DEFINE_INLINE_BOX_TYPE_CASTS(SVGRootInlineBox);
66 64
67 } // namespace WebCore 65 } // namespace WebCore
68 66
69 #endif // SVGRootInlineBox_h 67 #endif // SVGRootInlineBox_h
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/SVGResources.h ('k') | Source/core/rendering/svg/SVGTextLayoutEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698