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

Side by Side Diff: Source/core/paint/ListMarkerPainter.cpp

Issue 1168643003: Add support for korean-hangul-formal list style type (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Actually add a 0 value for the neg fields Created 5 years, 6 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
« no previous file with comments | « Source/core/layout/LayoutListMarker.cpp ('k') | Source/core/style/ComputedStyleConstants.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "core/paint/ListMarkerPainter.h" 6 #include "core/paint/ListMarkerPainter.h"
7 7
8 #include "core/layout/LayoutListItem.h" 8 #include "core/layout/LayoutListItem.h"
9 #include "core/layout/LayoutListMarker.h" 9 #include "core/layout/LayoutListMarker.h"
10 #include "core/layout/TextRunConstructor.h" 10 #include "core/layout/TextRunConstructor.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 case EthiopicHalehame: 94 case EthiopicHalehame:
95 case EthiopicHalehameAm: 95 case EthiopicHalehameAm:
96 case EthiopicHalehameTiEr: 96 case EthiopicHalehameTiEr:
97 case EthiopicHalehameTiEt: 97 case EthiopicHalehameTiEt:
98 case Georgian: 98 case Georgian:
99 case Gujarati: 99 case Gujarati:
100 case Gurmukhi: 100 case Gurmukhi:
101 case Hebrew: 101 case Hebrew:
102 case Hangul: 102 case Hangul:
103 case HangulConsonant: 103 case HangulConsonant:
104 case KoreanHangulFormal:
104 case Hiragana: 105 case Hiragana:
105 case HiraganaIroha: 106 case HiraganaIroha:
106 case Kannada: 107 case Kannada:
107 case Katakana: 108 case Katakana:
108 case KatakanaIroha: 109 case KatakanaIroha:
109 case Khmer: 110 case Khmer:
110 case Lao: 111 case Lao:
111 case LowerAlpha: 112 case LowerAlpha:
112 case LowerArmenian: 113 case LowerArmenian:
113 case LowerGreek: 114 case LowerGreek:
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 if (m_layoutListMarker.style()->isLeftToRightDirection()) { 175 if (m_layoutListMarker.style()->isLeftToRightDirection()) {
175 context->drawText(font, textRunPaintInfo, textOrigin); 176 context->drawText(font, textRunPaintInfo, textOrigin);
176 context->drawText(font, suffixRunInfo, textOrigin + IntSize(font.width(t extRun), 0)); 177 context->drawText(font, suffixRunInfo, textOrigin + IntSize(font.width(t extRun), 0));
177 } else { 178 } else {
178 context->drawText(font, suffixRunInfo, textOrigin); 179 context->drawText(font, suffixRunInfo, textOrigin);
179 context->drawText(font, textRunPaintInfo, textOrigin + IntSize(font.widt h(suffixRun), 0)); 180 context->drawText(font, textRunPaintInfo, textOrigin + IntSize(font.widt h(suffixRun), 0));
180 } 181 }
181 } 182 }
182 183
183 } // namespace blink 184 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutListMarker.cpp ('k') | Source/core/style/ComputedStyleConstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698