| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project 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 // limitations under the License. | 4 // limitations under the License. |
| 5 | 5 |
| 6 #ifndef V8_I18N_H_ | 6 #ifndef V8_I18N_H_ |
| 7 #define V8_I18N_H_ | 7 #define V8_I18N_H_ |
| 8 | 8 |
| 9 #include "src/handles.h" | 9 #include "src/handles.h" |
| 10 #include "unicode/uversion.h" | 10 #include "unicode/uversion.h" |
| 11 | 11 |
| 12 namespace U_ICU_NAMESPACE { | 12 namespace U_ICU_NAMESPACE { |
| 13 class BreakIterator; | 13 class BreakIterator; |
| 14 class Collator; | 14 class Collator; |
| 15 class DecimalFormat; | 15 class DecimalFormat; |
| 16 class SimpleDateFormat; | 16 class SimpleDateFormat; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace v8 { | 19 namespace v8 { |
| 20 namespace internal { | 20 namespace internal { |
| 21 | 21 |
| 22 // Forward declarations. |
| 23 class ObjectTemplateInfo; |
| 24 |
| 22 class I18N { | 25 class I18N { |
| 23 public: | 26 public: |
| 24 // Creates an ObjectTemplate with one internal field. | 27 // Creates an ObjectTemplate with one internal field. |
| 25 static Handle<ObjectTemplateInfo> GetTemplate(Isolate* isolate); | 28 static Handle<ObjectTemplateInfo> GetTemplate(Isolate* isolate); |
| 26 | 29 |
| 27 // Creates an ObjectTemplate with two internal fields. | 30 // Creates an ObjectTemplate with two internal fields. |
| 28 static Handle<ObjectTemplateInfo> GetTemplate2(Isolate* isolate); | 31 static Handle<ObjectTemplateInfo> GetTemplate2(Isolate* isolate); |
| 29 | 32 |
| 30 private: | 33 private: |
| 31 I18N(); | 34 I18N(); |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 static void DeleteBreakIterator( | 124 static void DeleteBreakIterator( |
| 122 const v8::WeakCallbackData<v8::Value, void>& data); | 125 const v8::WeakCallbackData<v8::Value, void>& data); |
| 123 | 126 |
| 124 private: | 127 private: |
| 125 BreakIterator(); | 128 BreakIterator(); |
| 126 }; | 129 }; |
| 127 | 130 |
| 128 } } // namespace v8::internal | 131 } } // namespace v8::internal |
| 129 | 132 |
| 130 #endif // V8_I18N_H_ | 133 #endif // V8_I18N_H_ |
| OLD | NEW |