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

Side by Side Diff: Source/core/rendering/style/RenderStyleConstants.h

Issue 255323004: Rendering text-justify:distribute for 8 bit characters. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: patch for landing 2 Created 6 years 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
« no previous file with comments | « Source/core/rendering/RenderBlockLineLayout.cpp ('k') | Source/platform/fonts/Character.h » ('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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 TextDecorationStyleDouble, 332 TextDecorationStyleDouble,
333 TextDecorationStyleDotted, 333 TextDecorationStyleDotted,
334 TextDecorationStyleDashed, 334 TextDecorationStyleDashed,
335 TextDecorationStyleWavy 335 TextDecorationStyleWavy
336 }; 336 };
337 337
338 enum TextAlignLast { 338 enum TextAlignLast {
339 TextAlignLastAuto, TextAlignLastStart, TextAlignLastEnd, TextAlignLastLeft, TextAlignLastRight, TextAlignLastCenter, TextAlignLastJustify 339 TextAlignLastAuto, TextAlignLastStart, TextAlignLastEnd, TextAlignLastLeft, TextAlignLastRight, TextAlignLastCenter, TextAlignLastJustify
340 }; 340 };
341 341
342 enum TextJustify {
343 TextJustifyAuto, TextJustifyNone, TextJustifyInterWord, TextJustifyDistribut e
344 };
345
346 enum TextUnderlinePosition { 342 enum TextUnderlinePosition {
347 // FIXME: Implement support for 'under left' and 'under right' values. 343 // FIXME: Implement support for 'under left' and 'under right' values.
348 TextUnderlinePositionAuto, 344 TextUnderlinePositionAuto,
349 TextUnderlinePositionUnder 345 TextUnderlinePositionUnder
350 }; 346 };
351 347
352 enum EPageBreak { 348 enum EPageBreak {
353 PBAUTO, PBALWAYS, PBAVOID 349 PBAUTO, PBALWAYS, PBAVOID
354 }; 350 };
355 351
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 static const float maximumAllowedFontSize = 1000000.0f; 566 static const float maximumAllowedFontSize = 1000000.0f;
571 567
572 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 568 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
573 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 569 enum TextIndentType { TextIndentNormal, TextIndentHanging };
574 570
575 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 571 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
576 572
577 } // namespace blink 573 } // namespace blink
578 574
579 #endif // RenderStyleConstants_h 575 #endif // RenderStyleConstants_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBlockLineLayout.cpp ('k') | Source/platform/fonts/Character.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698