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

Side by Side Diff: Source/core/layout/line/RootInlineBox.h

Issue 1183003003: Move overflow in InlineTextBox::adjustPosition() if it has glyph overflows (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/layout/line/InlineTextBox.cpp ('k') | Source/core/layout/line/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 28 matching lines...) Expand all
39 39
40 virtual void destroy() override final; 40 virtual void destroy() override final;
41 41
42 virtual bool isRootInlineBox() const override final { return true; } 42 virtual bool isRootInlineBox() const override final { return true; }
43 43
44 void detachEllipsisBox(); 44 void detachEllipsisBox();
45 45
46 RootInlineBox* nextRootBox() const { return static_cast<RootInlineBox*>(m_ne xtLineBox); } 46 RootInlineBox* nextRootBox() const { return static_cast<RootInlineBox*>(m_ne xtLineBox); }
47 RootInlineBox* prevRootBox() const { return static_cast<RootInlineBox*>(m_pr evLineBox); } 47 RootInlineBox* prevRootBox() const { return static_cast<RootInlineBox*>(m_pr evLineBox); }
48 48
49 virtual void adjustPosition(LayoutUnit dx, LayoutUnit dy) override final; 49 virtual void move(const LayoutSize&) override final;
50 50
51 LayoutUnit lineTop() const { return m_lineTop; } 51 LayoutUnit lineTop() const { return m_lineTop; }
52 LayoutUnit lineBottom() const { return m_lineBottom; } 52 LayoutUnit lineBottom() const { return m_lineBottom; }
53 53
54 LayoutUnit lineTopWithLeading() const { return m_lineTopWithLeading; } 54 LayoutUnit lineTopWithLeading() const { return m_lineTopWithLeading; }
55 LayoutUnit lineBottomWithLeading() const { return m_lineBottomWithLeading; } 55 LayoutUnit lineBottomWithLeading() const { return m_lineBottomWithLeading; }
56 56
57 LayoutUnit paginationStrut() const { return m_paginationStrut; } 57 LayoutUnit paginationStrut() const { return m_paginationStrut; }
58 void setPaginationStrut(LayoutUnit strut) { m_paginationStrut = strut; } 58 void setPaginationStrut(LayoutUnit strut) { m_paginationStrut = strut; }
59 59
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 LayoutUnit m_lineBottom; 196 LayoutUnit m_lineBottom;
197 LayoutUnit m_lineTopWithLeading; 197 LayoutUnit m_lineTopWithLeading;
198 LayoutUnit m_lineBottomWithLeading; 198 LayoutUnit m_lineBottomWithLeading;
199 LayoutUnit m_selectionBottom; 199 LayoutUnit m_selectionBottom;
200 LayoutUnit m_paginationStrut; 200 LayoutUnit m_paginationStrut;
201 }; 201 };
202 202
203 } // namespace blink 203 } // namespace blink
204 204
205 #endif // RootInlineBox_h 205 #endif // RootInlineBox_h
OLDNEW
« no previous file with comments | « Source/core/layout/line/InlineTextBox.cpp ('k') | Source/core/layout/line/RootInlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698