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

Side by Side Diff: Source/core/rendering/RenderMultiColumnBlock.h

Issue 14383002: Apply FINAL to the RenderObject hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase, add OVERRIDEs. 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 15 matching lines...) Expand all
26 26
27 #ifndef RenderMultiColumnBlock_h 27 #ifndef RenderMultiColumnBlock_h
28 #define RenderMultiColumnBlock_h 28 #define RenderMultiColumnBlock_h
29 29
30 #include "RenderBlock.h" 30 #include "RenderBlock.h"
31 31
32 namespace WebCore { 32 namespace WebCore {
33 33
34 class RenderMultiColumnFlowThread; 34 class RenderMultiColumnFlowThread;
35 35
36 class RenderMultiColumnBlock : public RenderBlock { 36 class RenderMultiColumnBlock FINAL : public RenderBlock {
37 public: 37 public:
38 RenderMultiColumnBlock(Element*); 38 RenderMultiColumnBlock(Element*);
39 39
40 LayoutUnit columnHeight() const { return m_columnHeight; } 40 LayoutUnit columnHeight() const { return m_columnHeight; }
41 void setColumnHeight(LayoutUnit columnHeight) { m_columnHeight = columnHeigh t; } 41 void setColumnHeight(LayoutUnit columnHeight) { m_columnHeight = columnHeigh t; }
42 42
43 LayoutUnit columnWidth() const { return m_columnWidth; } 43 LayoutUnit columnWidth() const { return m_columnWidth; }
44 unsigned columnCount() const { return m_columnCount; } 44 unsigned columnCount() const { return m_columnCount; }
45 45
46 RenderMultiColumnFlowThread* flowThread() const { return m_flowThread; } 46 RenderMultiColumnFlowThread* flowThread() const { return m_flowThread; }
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 return static_cast<const RenderMultiColumnBlock*>(object); 86 return static_cast<const RenderMultiColumnBlock*>(object);
87 } 87 }
88 88
89 // This will catch anyone doing an unnecessary cast. 89 // This will catch anyone doing an unnecessary cast.
90 void toRenderMultiColumnBlock(const RenderMultiColumnBlock*); 90 void toRenderMultiColumnBlock(const RenderMultiColumnBlock*);
91 91
92 } // namespace WebCore 92 } // namespace WebCore
93 93
94 #endif // RenderMultiColumnBlock_h 94 #endif // RenderMultiColumnBlock_h
95 95
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderMeter.h ('k') | Source/core/rendering/RenderMultiColumnFlowThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698