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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.h

Issue 2786753002: Fix text-align: center/right when line wraps at atomic inline and spaces (Closed)
Patch Set: Rebase Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * Copyright (C) 2013 Google Inc. All rights reserved. 7 * Copyright (C) 2013 Google Inc. All rights reserved.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are 10 * modification, are permitted provided that the following conditions are
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 const LineInfo&, 884 const LineInfo&,
885 BidiRun* firstRun, 885 BidiRun* firstRun,
886 BidiRun* trailingSpaceRun, 886 BidiRun* trailingSpaceRun,
887 bool reachedEnd, 887 bool reachedEnd,
888 GlyphOverflowAndFallbackFontsMap&, 888 GlyphOverflowAndFallbackFontsMap&,
889 VerticalPositionCache&, 889 VerticalPositionCache&,
890 const WordMeasurements&); 890 const WordMeasurements&);
891 BidiRun* computeInlineDirectionPositionsForSegment( 891 BidiRun* computeInlineDirectionPositionsForSegment(
892 RootInlineBox*, 892 RootInlineBox*,
893 const LineInfo&, 893 const LineInfo&,
894 ETextAlign,
895 LayoutUnit& logicalLeft, 894 LayoutUnit& logicalLeft,
896 LayoutUnit& availableLogicalWidth, 895 LayoutUnit& availableLogicalWidth,
897 BidiRun* firstRun, 896 BidiRun* firstRun,
898 BidiRun* trailingSpaceRun, 897 BidiRun* trailingSpaceRun,
899 GlyphOverflowAndFallbackFontsMap& textBoxDataMap, 898 GlyphOverflowAndFallbackFontsMap& textBoxDataMap,
900 VerticalPositionCache&, 899 VerticalPositionCache&,
901 const WordMeasurements&); 900 const WordMeasurements&);
902 void computeBlockDirectionPositionsForLine(RootInlineBox*, 901 void computeBlockDirectionPositionsForLine(RootInlineBox*,
903 BidiRun*, 902 BidiRun*,
904 GlyphOverflowAndFallbackFontsMap&, 903 GlyphOverflowAndFallbackFontsMap&,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
955 void positionDialog(); 954 void positionDialog();
956 955
957 // END METHODS DEFINED IN LayoutBlockFlowLine 956 // END METHODS DEFINED IN LayoutBlockFlowLine
958 }; 957 };
959 958
960 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); 959 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow());
961 960
962 } // namespace blink 961 } // namespace blink
963 962
964 #endif // LayoutBlockFlow_h 963 #endif // LayoutBlockFlow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698