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 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "core/layout/api/SelectionState.h" | 32 #include "core/layout/api/SelectionState.h" |
33 #include "core/layout/line/BreakingContextInlineHeaders.h" | 33 #include "core/layout/line/BreakingContextInlineHeaders.h" |
34 #include "core/layout/line/GlyphOverflow.h" | 34 #include "core/layout/line/GlyphOverflow.h" |
35 #include "core/layout/line/LayoutTextInfo.h" | 35 #include "core/layout/line/LayoutTextInfo.h" |
36 #include "core/layout/line/LineLayoutState.h" | 36 #include "core/layout/line/LineLayoutState.h" |
37 #include "core/layout/line/LineWidth.h" | 37 #include "core/layout/line/LineWidth.h" |
38 #include "core/layout/line/WordMeasurement.h" | 38 #include "core/layout/line/WordMeasurement.h" |
39 #include "core/layout/svg/line/SVGRootInlineBox.h" | 39 #include "core/layout/svg/line/SVGRootInlineBox.h" |
40 #include "platform/text/BidiResolver.h" | 40 #include "platform/text/BidiResolver.h" |
41 #include "platform/text/Character.h" | 41 #include "platform/text/Character.h" |
42 #include "wtf/Vector.h" | 42 #include "platform/wtf/Vector.h" |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 class ExpansionOpportunities { | 46 class ExpansionOpportunities { |
47 public: | 47 public: |
48 ExpansionOpportunities() : total_opportunities_(0) {} | 48 ExpansionOpportunities() : total_opportunities_(0) {} |
49 | 49 |
50 void AddRunWithExpansions(BidiRun& run, | 50 void AddRunWithExpansions(BidiRun& run, |
51 bool& is_after_expansion, | 51 bool& is_after_expansion, |
52 TextJustify text_justify) { | 52 TextJustify text_justify) { |
(...skipping 2598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2651 | 2651 |
2652 bool LayoutBlockFlow::PaintedOutputOfObjectHasNoEffectRegardlessOfSize() const { | 2652 bool LayoutBlockFlow::PaintedOutputOfObjectHasNoEffectRegardlessOfSize() const { |
2653 // LayoutBlockFlow is in charge of paint invalidation of the first line. | 2653 // LayoutBlockFlow is in charge of paint invalidation of the first line. |
2654 if (FirstLineBox()) | 2654 if (FirstLineBox()) |
2655 return false; | 2655 return false; |
2656 | 2656 |
2657 return LayoutBlock::PaintedOutputOfObjectHasNoEffectRegardlessOfSize(); | 2657 return LayoutBlock::PaintedOutputOfObjectHasNoEffectRegardlessOfSize(); |
2658 } | 2658 } |
2659 | 2659 |
2660 } // namespace blink | 2660 } // namespace blink |
OLD | NEW |