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

Side by Side Diff: Source/core/layout/line/InlineFlowBox.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/InlineBox.cpp ('k') | Source/core/layout/line/InlineFlowBox.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, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 { 99 {
100 InlineBox::setConstructed(); 100 InlineBox::setConstructed();
101 for (InlineBox* child = firstChild(); child; child = child->nextOnLine() ) 101 for (InlineBox* child = firstChild(); child; child = child->nextOnLine() )
102 child->setConstructed(); 102 child->setConstructed();
103 } 103 }
104 104
105 void addToLine(InlineBox* child); 105 void addToLine(InlineBox* child);
106 virtual void deleteLine() override final; 106 virtual void deleteLine() override final;
107 virtual void extractLine() override final; 107 virtual void extractLine() override final;
108 virtual void attachLine() override final; 108 virtual void attachLine() override final;
109 virtual void adjustPosition(LayoutUnit dx, LayoutUnit dy) override; 109 virtual void move(const LayoutSize&) override;
110 110
111 virtual void extractLineBoxFromLayoutObject(); 111 virtual void extractLineBoxFromLayoutObject();
112 virtual void attachLineBoxToLayoutObject(); 112 virtual void attachLineBoxToLayoutObject();
113 virtual void removeLineBoxFromLayoutObject(); 113 virtual void removeLineBoxFromLayoutObject();
114 114
115 virtual void clearTruncation() override; 115 virtual void clearTruncation() override;
116 116
117 IntRect roundedFrameRect() const; 117 IntRect roundedFrameRect() const;
118 118
119 virtual void paint(const PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) override; 119 virtual void paint(const PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) override;
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 } 364 }
365 365
366 } // namespace blink 366 } // namespace blink
367 367
368 #ifndef NDEBUG 368 #ifndef NDEBUG
369 // Outside the WebCore namespace for ease of invocation from gdb. 369 // Outside the WebCore namespace for ease of invocation from gdb.
370 void showTree(const blink::InlineFlowBox*); 370 void showTree(const blink::InlineFlowBox*);
371 #endif 371 #endif
372 372
373 #endif // InlineFlowBox_h 373 #endif // InlineFlowBox_h
OLDNEW
« no previous file with comments | « Source/core/layout/line/InlineBox.cpp ('k') | Source/core/layout/line/InlineFlowBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698