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

Unified Diff: src/extensions/i18n/i18n-extension.cc

Issue 22411003: Move i18n extension's date-format C++ code to runtime (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/extensions/i18n/date-format.js ('k') | src/i18n.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/extensions/i18n/i18n-extension.cc
diff --git a/src/extensions/i18n/i18n-extension.cc b/src/extensions/i18n/i18n-extension.cc
index 01fe526d88f371206ca644a40f7d0367c10d31f5..b110b7d80ed2e8e20eeff55731a732bfd0b2a979 100644
--- a/src/extensions/i18n/i18n-extension.cc
+++ b/src/extensions/i18n/i18n-extension.cc
@@ -30,7 +30,6 @@
#include "break-iterator.h"
#include "collator.h"
-#include "date-format.h"
#include "natives.h"
#include "number-format.h"
@@ -48,15 +47,6 @@ Extension::Extension()
v8::Handle<v8::FunctionTemplate> Extension::GetNativeFunction(
v8::Handle<v8::String> name) {
- // Date format and parse.
- if (name->Equals(v8::String::New("NativeJSCreateDateTimeFormat"))) {
- return v8::FunctionTemplate::New(DateFormat::JSCreateDateTimeFormat);
- } else if (name->Equals(v8::String::New("NativeJSInternalDateFormat"))) {
- return v8::FunctionTemplate::New(DateFormat::JSInternalFormat);
- } else if (name->Equals(v8::String::New("NativeJSInternalDateParse"))) {
- return v8::FunctionTemplate::New(DateFormat::JSInternalParse);
- }
-
// Number format and parse.
if (name->Equals(v8::String::New("NativeJSCreateNumberFormat"))) {
return v8::FunctionTemplate::New(NumberFormat::JSCreateNumberFormat);
« no previous file with comments | « src/extensions/i18n/date-format.js ('k') | src/i18n.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698