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

Side by Side Diff: Source/core/rendering/RenderGrid.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
« no previous file with comments | « Source/core/rendering/RenderFullScreen.cpp ('k') | Source/core/rendering/RenderHTMLCanvas.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 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 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 14 matching lines...) Expand all
25 25
26 #ifndef RenderGrid_h 26 #ifndef RenderGrid_h
27 #define RenderGrid_h 27 #define RenderGrid_h
28 28
29 #include "RenderBlock.h" 29 #include "RenderBlock.h"
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 class GridTrack; 33 class GridTrack;
34 34
35 class RenderGrid : public RenderBlock { 35 class RenderGrid FINAL : public RenderBlock {
36 public: 36 public:
37 RenderGrid(Element*); 37 RenderGrid(Element*);
38 virtual ~RenderGrid(); 38 virtual ~RenderGrid();
39 39
40 virtual const char* renderName() const OVERRIDE; 40 virtual const char* renderName() const OVERRIDE;
41 41
42 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0) OVERRIDE; 42 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0) OVERRIDE;
43 43
44 virtual bool avoidsFloats() const OVERRIDE { return true; } 44 virtual bool avoidsFloats() const OVERRIDE { return true; }
45 virtual bool canCollapseAnonymousBlockChild() const OVERRIDE { return false; } 45 virtual bool canCollapseAnonymousBlockChild() const OVERRIDE { return false; }
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 return m_grid.size(); 148 return m_grid.size();
149 } 149 }
150 150
151 Vector<Vector<Vector<RenderBox*, 1> > > m_grid; 151 Vector<Vector<Vector<RenderBox*, 1> > > m_grid;
152 HashMap<const RenderBox*, GridCoordinate> m_gridItemCoordinate; 152 HashMap<const RenderBox*, GridCoordinate> m_gridItemCoordinate;
153 }; 153 };
154 154
155 } // namespace WebCore 155 } // namespace WebCore
156 156
157 #endif // RenderGrid_h 157 #endif // RenderGrid_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderFullScreen.cpp ('k') | Source/core/rendering/RenderHTMLCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698