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

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

Issue 129173004: Update rendering classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 void paintEllipsisBox(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, La youtUnit lineBottom) const; 111 void paintEllipsisBox(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, La youtUnit lineBottom) const;
112 112
113 virtual void clearTruncation() OVERRIDE FINAL; 113 virtual void clearTruncation() OVERRIDE FINAL;
114 114
115 bool isHyphenated() const; 115 bool isHyphenated() const;
116 116
117 virtual int baselinePosition(FontBaseline baselineType) const OVERRIDE FINAL ; 117 virtual int baselinePosition(FontBaseline baselineType) const OVERRIDE FINAL ;
118 virtual LayoutUnit lineHeight() const OVERRIDE FINAL; 118 virtual LayoutUnit lineHeight() const OVERRIDE FINAL;
119 119
120 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, Layou tUnit lineBottom); 120 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, Layou tUnit lineBottom) OVERRIDE;
121 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom) OVERRIDE FINAL; 121 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom) OVERRIDE FINAL;
122 122
123 using InlineBox::hasSelectedChildren; 123 using InlineBox::hasSelectedChildren;
124 using InlineBox::setHasSelectedChildren; 124 using InlineBox::setHasSelectedChildren;
125 125
126 virtual RenderObject::SelectionState selectionState() OVERRIDE FINAL; 126 virtual RenderObject::SelectionState selectionState() OVERRIDE FINAL;
127 InlineBox* firstSelectedBox(); 127 InlineBox* firstSelectedBox();
128 InlineBox* lastSelectedBox(); 128 InlineBox* lastSelectedBox();
129 129
130 GapRects lineSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlo ckPhysicalPosition, const LayoutSize& offsetFromRootBlock, LayoutUnit selTop, La youtUnit selHeight, const PaintInfo*); 130 GapRects lineSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlo ckPhysicalPosition, const LayoutSize& offsetFromRootBlock, LayoutUnit selTop, La youtUnit selHeight, const PaintInfo*);
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 OwnPtr<LineFragmentationData> m_fragmentationData; 242 OwnPtr<LineFragmentationData> m_fragmentationData;
243 243
244 // Floats hanging off the line are pushed into this vector during layout. It is only 244 // Floats hanging off the line are pushed into this vector during layout. It is only
245 // good for as long as the line has not been marked dirty. 245 // good for as long as the line has not been marked dirty.
246 OwnPtr<Vector<RenderBox*> > m_floats; 246 OwnPtr<Vector<RenderBox*> > m_floats;
247 }; 247 };
248 248
249 } // namespace WebCore 249 } // namespace WebCore
250 250
251 #endif // RootInlineBox_h 251 #endif // RootInlineBox_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderWordBreak.h ('k') | Source/core/rendering/TrailingFloatsRootInlineBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698