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

Unified Diff: chrome/browser/resources/translate_internals/translate_internals.js

Issue 24024004: Translate: element API callback interface change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits found by local test... Created 7 years, 3 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 | « chrome/browser/resources/translate.js ('k') | chrome/common/translate/translate_errors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/translate_internals/translate_internals.js
diff --git a/chrome/browser/resources/translate_internals/translate_internals.js b/chrome/browser/resources/translate_internals/translate_internals.js
index 2041425387211e9741c54d986739bd2d74740f75..46cdd0a2fc8af04312663e164de787b0c55154d8 100644
--- a/chrome/browser/resources/translate_internals/translate_internals.js
+++ b/chrome/browser/resources/translate_internals/translate_internals.js
@@ -115,6 +115,10 @@
4: 'Unsupported Language',
5: 'Identical Languages',
6: 'Translation Error',
+ 7: 'Translation Timeout',
+ 8: 'Unexpected Script Error',
+ 9: 'Bad Origin',
+ 10: 'Script Load Error',
};
if (error < 0 || errorStrs.length <= error) {
« no previous file with comments | « chrome/browser/resources/translate.js ('k') | chrome/common/translate/translate_errors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698