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

Side by Side Diff: third_party/WebKit/Source/core/layout/ListMarkerText.cpp

Issue 2809363002: Rewrite references to "wtf/" to "platform/wtf/" in core/layout. (Closed)
Patch Set: 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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights
5 * reserved. 5 * reserved.
6 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) 6 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net)
7 * Copyright (C) 2010 Daniel Bates (dbates@intudata.com) 7 * Copyright (C) 2010 Daniel Bates (dbates@intudata.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
11 * License as published by the Free Software Foundation; either 11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version. 12 * version 2 of the License, or (at your option) any later version.
13 * 13 *
14 * This library is distributed in the hope that it will be useful, 14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details. 17 * Library General Public License for more details.
18 * 18 *
19 * You should have received a copy of the GNU Library General Public License 19 * You should have received a copy of the GNU Library General Public License
20 * along with this library; see the file COPYING.LIB. If not, write to 20 * along with this library; see the file COPYING.LIB. If not, write to
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301, USA. 22 * Boston, MA 02110-1301, USA.
23 * 23 *
24 */ 24 */
25 25
26 #include "core/layout/ListMarkerText.h" 26 #include "core/layout/ListMarkerText.h"
27 27
28 #include "core/layout/TextRunConstructor.h" 28 #include "core/layout/TextRunConstructor.h"
29 #include "wtf/text/CharacterNames.h" 29 #include "platform/wtf/text/CharacterNames.h"
30 #include "wtf/text/StringBuilder.h" 30 #include "platform/wtf/text/StringBuilder.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 namespace ListMarkerText { 34 namespace ListMarkerText {
35 35
36 enum SequenceType { kNumericSequence, kAlphabeticSequence }; 36 enum SequenceType { kNumericSequence, kAlphabeticSequence };
37 37
38 static String ToRoman(int number, bool upper) { 38 static String ToRoman(int number, bool upper) {
39 // FIXME: CSS3 describes how to make this work for much larger numbers, 39 // FIXME: CSS3 describes how to make this work for much larger numbers,
40 // using overbars and special characters. It also specifies the characters 40 // using overbars and special characters. It also specifies the characters
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 return ToHebrew(count); 920 return ToHebrew(count);
921 } 921 }
922 922
923 NOTREACHED(); 923 NOTREACHED();
924 return ""; 924 return "";
925 } 925 }
926 926
927 } // namespace ListMarkerText 927 } // namespace ListMarkerText
928 928
929 } // namespace blink 929 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698