Rename LocalizedNumberICU.h to ICULocale.h
authortkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Apr 2012 05:57:20 +0000 (05:57 +0000)
committertkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Apr 2012 05:57:20 +0000 (05:57 +0000)
https://bugs.webkit.org/show_bug.cgi?id=84119

Reviewed by Kentaro Hara.

Source/WebCore:

LocalizedNumberICU.h contains only ICULocale class. It should be
named as ICULocale.h. We're going to move some functions in
LocalizedDateICU.cpp and LocalizedCalendarICU.cpp to ICULocale,
and add unit tests for them.

* WebCore.gypi: Rename LocalizedNumberICU.h to ICULocale.h
* platform/text/ICULocale.h:
Renamed from Source/WebCore/platform/text/LocalizedNumberICU.h.
* platform/text/LocalizedNumberICU.cpp:
Rename LocalizedNumberICU.h to ICULocale.h

Source/WebKit/chromium:

* tests/LocalizedNumberICUTest.cpp: Rename LocalizedNumberICU.h to ICULocale.h

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114347 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/WebCore.gypi
Source/WebCore/platform/text/ICULocale.h [moved from Source/WebCore/platform/text/LocalizedNumberICU.h with 98% similarity]
Source/WebCore/platform/text/LocalizedNumberICU.cpp
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/tests/LocalizedNumberICUTest.cpp

index c1d5dcf..f620507 100644 (file)
@@ -1,3 +1,21 @@
+2012-04-16  Kent Tamura  <tkent@chromium.org>
+
+        Rename LocalizedNumberICU.h to ICULocale.h
+        https://bugs.webkit.org/show_bug.cgi?id=84119
+
+        Reviewed by Kentaro Hara.
+
+        LocalizedNumberICU.h contains only ICULocale class. It should be
+        named as ICULocale.h. We're going to move some functions in
+        LocalizedDateICU.cpp and LocalizedCalendarICU.cpp to ICULocale,
+        and add unit tests for them.
+
+        * WebCore.gypi: Rename LocalizedNumberICU.h to ICULocale.h
+        * platform/text/ICULocale.h:
+        Renamed from Source/WebCore/platform/text/LocalizedNumberICU.h.
+        * platform/text/LocalizedNumberICU.cpp:
+        Rename LocalizedNumberICU.h to ICULocale.h
+
 2012-04-16  James Robinson  <jamesr@chromium.org>
 
         [chromium] Move paintRenderedResultsToCanvas code into DrawingBuffer
index 651c6ed..6843028 100644 (file)
             'platform/text/BidiContext.cpp',
             'platform/text/Hyphenation.cpp',
             'platform/text/Hyphenation.h',
+            'platform/text/ICULocale.h',
             'platform/text/LineEnding.cpp',
             'platform/text/LocaleToScriptMapping.h',
             'platform/text/LocaleToScriptMappingDefault.cpp',
             'platform/text/LocalizedDateNone.cpp',
             'platform/text/LocalizedNumber.h',
             'platform/text/LocalizedNumberICU.cpp',
-            'platform/text/LocalizedNumberICU.h',
             'platform/text/LocalizedNumberNone.cpp',
             'platform/text/ParserUtilities.h',
             'platform/text/QuotedPrintable.h',
similarity index 98%
rename from Source/WebCore/platform/text/LocalizedNumberICU.h
rename to Source/WebCore/platform/text/ICULocale.h
index fd85622..67f7704 100644 (file)
@@ -28,8 +28,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef LocalizedNumberICU_h
-#define LocalizedNumberICU_h
+#ifndef ICULocale_h
+#define ICULocale_h
 
 #include <unicode/unum.h>
 #include <wtf/Forward.h>
index 76f7d2c..d87ac42 100644 (file)
@@ -29,8 +29,8 @@
  */
 
 #include "config.h"
-#include "LocalizedNumberICU.h"
 
+#include "ICULocale.h"
 #include "LocalizedNumber.h"
 #include <wtf/PassOwnPtr.h>
 #include <wtf/text/StringBuilder.h>
index f2950c4..ec0d03f 100644 (file)
@@ -1,3 +1,12 @@
+2012-04-16  Kent Tamura  <tkent@chromium.org>
+
+        Rename LocalizedNumberICU.h to ICULocale.h
+        https://bugs.webkit.org/show_bug.cgi?id=84119
+
+        Reviewed by Kentaro Hara.
+
+        * tests/LocalizedNumberICUTest.cpp: Rename LocalizedNumberICU.h to ICULocale.h
+
 2012-04-16  Dana Jansens  <danakj@chromium.org>
 
         [chromium] Expose compositor filters to Aura through WebLayer
index 6203d35..6af1419 100644 (file)
@@ -29,8 +29,8 @@
  */
 
 #include "config.h"
-#include "LocalizedNumberICU.h"
 
+#include "ICULocale.h"
 #include <gtest/gtest.h>
 #include <wtf/PassOwnPtr.h>