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

Side by Side Diff: Source/platform/text/UnicodeUtilities.cpp

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/text/UnicodeUtilities.h ('k') | Source/platform/text/UnicodeUtilitiesTest.cpp » ('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) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
3 * Copyright (C) 2005 Alexey Proskuryakov. 3 * Copyright (C) 2005 Alexey Proskuryakov.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 15 matching lines...) Expand all
26 26
27 #include "config.h" 27 #include "config.h"
28 #include "platform/text/UnicodeUtilities.h" 28 #include "platform/text/UnicodeUtilities.h"
29 29
30 #include "wtf/text/StringBuffer.h" 30 #include "wtf/text/StringBuffer.h"
31 #include "wtf/unicode/CharacterNames.h" 31 #include "wtf/unicode/CharacterNames.h"
32 #include <unicode/unorm.h> 32 #include <unicode/unorm.h>
33 33
34 using namespace WTF::Unicode; 34 using namespace WTF::Unicode;
35 35
36 namespace WebCore { 36 namespace blink {
37 37
38 enum VoicedSoundMarkType { 38 enum VoicedSoundMarkType {
39 NoVoicedSoundMark, 39 NoVoicedSoundMark,
40 VoicedSoundMark, 40 VoicedSoundMark,
41 SemiVoicedSoundMark 41 SemiVoicedSoundMark
42 }; 42 };
43 43
44 template <typename CharType> 44 template <typename CharType>
45 static inline CharType foldQuoteMarkOrSoftHyphen(CharType c) 45 static inline CharType foldQuoteMarkOrSoftHyphen(CharType c)
46 { 46 {
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 if (offset == kNotFound) 406 if (offset == kNotFound)
407 return false; 407 return false;
408 408
409 // Update values of |a| and |b| after comparing. 409 // Update values of |a| and |b| after comparing.
410 a += offset; 410 a += offset;
411 b += offset; 411 b += offset;
412 } 412 }
413 } 413 }
414 414
415 } 415 }
OLDNEW
« no previous file with comments | « Source/platform/text/UnicodeUtilities.h ('k') | Source/platform/text/UnicodeUtilitiesTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698