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

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

Issue 203273003: Underline Thickness is not uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comment fix Created 6 years, 9 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/InlineTextBox.cpp ('k') | Source/core/rendering/RootInlineBox.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) 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 void paintEllipsisBox(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, La youtUnit lineBottom) const; 107 void paintEllipsisBox(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, La youtUnit lineBottom) const;
108 108
109 virtual void clearTruncation() OVERRIDE FINAL; 109 virtual void clearTruncation() OVERRIDE FINAL;
110 110
111 bool isHyphenated() const; 111 bool isHyphenated() const;
112 112
113 virtual int baselinePosition(FontBaseline baselineType) const OVERRIDE FINAL ; 113 virtual int baselinePosition(FontBaseline baselineType) const OVERRIDE FINAL ;
114 virtual LayoutUnit lineHeight() const OVERRIDE FINAL; 114 virtual LayoutUnit lineHeight() const OVERRIDE FINAL;
115 115
116 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, Layou tUnit lineBottom) OVERRIDE; 116 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, Layou tUnit lineBottom) OVERRIDE;
117 virtual void paintDecorationStyle(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom, float decorationThickness) OVERRIDE;
118 virtual void getPaintDecorationSyle(PaintInfo&, const LayoutPoint& , float * ) OVERRIDE;
117 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom) OVERRIDE FINAL; 119 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom) OVERRIDE FINAL;
118 120
119 using InlineBox::hasSelectedChildren; 121 using InlineBox::hasSelectedChildren;
120 using InlineBox::setHasSelectedChildren; 122 using InlineBox::setHasSelectedChildren;
121 123
122 virtual RenderObject::SelectionState selectionState() OVERRIDE FINAL; 124 virtual RenderObject::SelectionState selectionState() OVERRIDE FINAL;
123 InlineBox* firstSelectedBox(); 125 InlineBox* firstSelectedBox();
124 InlineBox* lastSelectedBox(); 126 InlineBox* lastSelectedBox();
125 127
126 GapRects lineSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlo ckPhysicalPosition, const LayoutSize& offsetFromRootBlock, LayoutUnit selTop, La youtUnit selHeight, const PaintInfo*); 128 GapRects lineSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlo ckPhysicalPosition, const LayoutSize& offsetFromRootBlock, LayoutUnit selTop, La youtUnit selHeight, const PaintInfo*);
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 OwnPtr<LineFragmentationData> m_fragmentationData; 234 OwnPtr<LineFragmentationData> m_fragmentationData;
233 235
234 // Floats hanging off the line are pushed into this vector during layout. It is only 236 // Floats hanging off the line are pushed into this vector during layout. It is only
235 // good for as long as the line has not been marked dirty. 237 // good for as long as the line has not been marked dirty.
236 OwnPtr<Vector<RenderBox*> > m_floats; 238 OwnPtr<Vector<RenderBox*> > m_floats;
237 }; 239 };
238 240
239 } // namespace WebCore 241 } // namespace WebCore
240 242
241 #endif // RootInlineBox_h 243 #endif // RootInlineBox_h
OLDNEW
« no previous file with comments | « Source/core/rendering/InlineTextBox.cpp ('k') | Source/core/rendering/RootInlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698