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

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

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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
« no previous file with comments | « Source/core/rendering/RenderObject.h ('k') | Source/core/rendering/RenderPart.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 RenderPagedFlowThread_h 5 #ifndef RenderPagedFlowThread_h
6 #define RenderPagedFlowThread_h 6 #define RenderPagedFlowThread_h
7 7
8 #include "core/rendering/RenderMultiColumnFlowThread.h" 8 #include "core/rendering/RenderMultiColumnFlowThread.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 // A flow thread for paged overflow. FIXME: The current implementation relies on the multicol 12 // A flow thread for paged overflow. FIXME: The current implementation relies on the multicol
13 // implementation, but it in the long run it would be better to have what's comm on between 13 // implementation, but it in the long run it would be better to have what's comm on between
14 // RenderMultiColumnFlowThread and RenderPagedFlowThread in RenderFlowThread, an d have both of them 14 // RenderMultiColumnFlowThread and RenderPagedFlowThread in RenderFlowThread, an d have both of them
15 // inherit from that one. 15 // inherit from that one.
16 class RenderPagedFlowThread : public RenderMultiColumnFlowThread { 16 class RenderPagedFlowThread : public RenderMultiColumnFlowThread {
17 public: 17 public:
18 static RenderPagedFlowThread* createAnonymous(Document&, RenderStyle* parent Style); 18 static RenderPagedFlowThread* createAnonymous(Document&, RenderStyle* parent Style);
19 19
20 RenderBlockFlow* pagedBlockFlow() const { return toRenderBlockFlow(parent()) ; } 20 RenderBlockFlow* pagedBlockFlow() const { return toRenderBlockFlow(parent()) ; }
21 21
22 virtual bool isRenderPagedFlowThread() const OVERRIDE { return true; } 22 virtual bool isRenderPagedFlowThread() const override { return true; }
23 virtual bool heightIsAuto() const OVERRIDE { return !columnHeightAvailable() ; } 23 virtual bool heightIsAuto() const override { return !columnHeightAvailable() ; }
24 virtual const char* renderName() const OVERRIDE; 24 virtual const char* renderName() const override;
25 virtual bool needsNewWidth() const OVERRIDE; 25 virtual bool needsNewWidth() const override;
26 virtual void updateLogicalWidth() OVERRIDE; 26 virtual void updateLogicalWidth() override;
27 virtual void layout(); 27 virtual void layout();
28 }; 28 };
29 29
30 } // namespace blink 30 } // namespace blink
31 31
32 #endif // RenderPagedFlowThread_h 32 #endif // RenderPagedFlowThread_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderObject.h ('k') | Source/core/rendering/RenderPart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698