OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. | 3 * Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. |
4 * All right reserved. | 4 * All right reserved. |
5 * Copyright (C) 2010 Google Inc. All rights reserved. | 5 * Copyright (C) 2010 Google Inc. All rights reserved. |
6 * Copyright (C) 2013 Adobe Systems Incorporated. | 6 * Copyright (C) 2013 Adobe Systems Incorporated. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "core/layout/line/LayoutTextInfo.h" | 37 #include "core/layout/line/LayoutTextInfo.h" |
38 #include "core/layout/line/LineBreaker.h" | 38 #include "core/layout/line/LineBreaker.h" |
39 #include "core/layout/line/LineInfo.h" | 39 #include "core/layout/line/LineInfo.h" |
40 #include "core/layout/line/LineWidth.h" | 40 #include "core/layout/line/LineWidth.h" |
41 #include "core/layout/line/TrailingObjects.h" | 41 #include "core/layout/line/TrailingObjects.h" |
42 #include "core/layout/line/WordMeasurement.h" | 42 #include "core/layout/line/WordMeasurement.h" |
43 #include "core/paint/PaintLayer.h" | 43 #include "core/paint/PaintLayer.h" |
44 #include "platform/fonts/CharacterRange.h" | 44 #include "platform/fonts/CharacterRange.h" |
45 #include "platform/text/Hyphenation.h" | 45 #include "platform/text/Hyphenation.h" |
46 #include "platform/text/TextBreakIterator.h" | 46 #include "platform/text/TextBreakIterator.h" |
47 #include "wtf/Allocator.h" | 47 #include "platform/wtf/Allocator.h" |
48 #include "wtf/Vector.h" | 48 #include "platform/wtf/Vector.h" |
49 | 49 |
50 namespace blink { | 50 namespace blink { |
51 | 51 |
52 // We don't let our line box tree for a single line get any deeper than this. | 52 // We don't let our line box tree for a single line get any deeper than this. |
53 const unsigned kCMaxLineDepth = 200; | 53 const unsigned kCMaxLineDepth = 200; |
54 | 54 |
55 class BreakingContext { | 55 class BreakingContext { |
56 STACK_ALLOCATED(); | 56 STACK_ALLOCATED(); |
57 | 57 |
58 public: | 58 public: |
(...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1566 | 1566 |
1567 if (style.GetTextIndentType() == kTextIndentHanging) | 1567 if (style.GetTextIndentType() == kTextIndentHanging) |
1568 indent_text = indent_text == kIndentText ? kDoNotIndentText : kIndentText; | 1568 indent_text = indent_text == kIndentText ? kDoNotIndentText : kIndentText; |
1569 | 1569 |
1570 return indent_text; | 1570 return indent_text; |
1571 } | 1571 } |
1572 | 1572 |
1573 } // namespace blink | 1573 } // namespace blink |
1574 | 1574 |
1575 #endif // BreakingContextInlineHeaders_h | 1575 #endif // BreakingContextInlineHeaders_h |
OLD | NEW |