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

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

Issue 135043007: Remove default parameter from virtual layoutBlock function (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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 | « no previous file | Source/core/rendering/RenderBlock.cpp » ('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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 InlineFlowBox* firstLineBox() const { return m_lineBoxes.firstLineBox(); } 101 InlineFlowBox* firstLineBox() const { return m_lineBoxes.firstLineBox(); }
102 InlineFlowBox* lastLineBox() const { return m_lineBoxes.lastLineBox(); } 102 InlineFlowBox* lastLineBox() const { return m_lineBoxes.lastLineBox(); }
103 103
104 // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to Rend erBlockFlow 104 // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to Rend erBlockFlow
105 virtual void deleteLineBoxTree(); 105 virtual void deleteLineBoxTree();
106 106
107 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) ; 107 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) ;
108 virtual void removeChild(RenderObject*); 108 virtual void removeChild(RenderObject*);
109 109
110 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0); 110 virtual void layoutBlock(bool relayoutChildren);
111 111
112 void insertPositionedObject(RenderBox*); 112 void insertPositionedObject(RenderBox*);
113 static void removePositionedObject(RenderBox*); 113 static void removePositionedObject(RenderBox*);
114 void removePositionedObjects(RenderBlock*, ContainingBlockState = SameContai ningBlock); 114 void removePositionedObjects(RenderBlock*, ContainingBlockState = SameContai ningBlock);
115 115
116 TrackedRendererListHashSet* positionedObjects() const; 116 TrackedRendererListHashSet* positionedObjects() const;
117 bool hasPositionedObjects() const 117 bool hasPositionedObjects() const
118 { 118 {
119 TrackedRendererListHashSet* objects = positionedObjects(); 119 TrackedRendererListHashSet* objects = positionedObjects();
120 return objects && !objects->isEmpty(); 120 return objects && !objects->isEmpty();
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 return false; 643 return false;
644 } 644 }
645 return true; 645 return true;
646 } 646 }
647 647
648 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); 648 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock());
649 649
650 } // namespace WebCore 650 } // namespace WebCore
651 651
652 #endif // RenderBlock_h 652 #endif // RenderBlock_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698