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

Side by Side Diff: Source/core/layout/line/EllipsisBox.cpp

Issue 1045723009: Move core/layout/style to core/style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 5 years, 8 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
OLDNEW
1 /** 1 /**
2 * Copyright (C) 2003, 2006 Apple Computer, Inc. 2 * Copyright (C) 2003, 2006 Apple Computer, Inc.
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
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details. 12 * Library General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU Library General Public License 14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to 15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA. 17 * Boston, MA 02110-1301, USA.
18 */ 18 */
19 19
20 #include "config.h" 20 #include "config.h"
21 #include "core/layout/line/EllipsisBox.h" 21 #include "core/layout/line/EllipsisBox.h"
22 22
23 #include "core/layout/HitTestResult.h" 23 #include "core/layout/HitTestResult.h"
24 #include "core/layout/LayoutBlock.h" 24 #include "core/layout/LayoutBlock.h"
25 #include "core/layout/PaintInfo.h" 25 #include "core/layout/PaintInfo.h"
26 #include "core/layout/TextRunConstructor.h" 26 #include "core/layout/TextRunConstructor.h"
27 #include "core/layout/line/InlineTextBox.h" 27 #include "core/layout/line/InlineTextBox.h"
28 #include "core/layout/line/RootInlineBox.h" 28 #include "core/layout/line/RootInlineBox.h"
29 #include "core/layout/style/ShadowList.h" 29 #include "core/style/ShadowList.h"
30 #include "core/paint/EllipsisBoxPainter.h" 30 #include "core/paint/EllipsisBoxPainter.h"
31 #include "platform/fonts/Font.h" 31 #include "platform/fonts/Font.h"
32 #include "platform/text/TextRun.h" 32 #include "platform/text/TextRun.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 void EllipsisBox::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffs et, LayoutUnit lineTop, LayoutUnit lineBottom) 36 void EllipsisBox::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffs et, LayoutUnit lineTop, LayoutUnit lineBottom)
37 { 37 {
38 EllipsisBoxPainter(*this).paint(paintInfo, paintOffset, lineTop, lineBottom) ; 38 EllipsisBoxPainter(*this).paint(paintInfo, paintOffset, lineTop, lineBottom) ;
39 } 39 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 return false; 95 return false;
96 } 96 }
97 97
98 const char* EllipsisBox::boxName() const 98 const char* EllipsisBox::boxName() const
99 { 99 {
100 return "EllipsisBox"; 100 return "EllipsisBox";
101 } 101 }
102 102
103 } // namespace blink 103 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp ('k') | Source/core/layout/line/InlineFlowBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698