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

Unified Diff: ui/webui/resources/js/i18n_behavior.js

Issue 2311473002: MD Settings: Third party VPN support (Closed)
Patch Set: Rebase Created 4 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 | « ui/webui/resources/cr_elements/network/cr_onc_types.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/i18n_behavior.js
diff --git a/ui/webui/resources/js/i18n_behavior.js b/ui/webui/resources/js/i18n_behavior.js
index 56428c9b7e3ec3024506ff9424134f0bf82bee34..b5663cf98a42c5354f30e9da83d7ab6d96d22911 100644
--- a/ui/webui/resources/js/i18n_behavior.js
+++ b/ui/webui/resources/js/i18n_behavior.js
@@ -67,3 +67,16 @@ var I18nBehavior = {
return loadTimeData.valueExists(id);
},
};
+
+/**
+ * TODO(stevenjb): Replace with an interface. b/24294625
+ * @typedef {{
+ * i18n: function(string, ...string): string}},
+ * i18nAdvanced: function({
+ * substitutions: (Array<string>|undefined),
+ * attrs: (Object<function(Node, string):boolean>|undefined),
+ * tags: (Array<string>|undefined)}, opts),
+ * i18nExists: function(string)
+ * }}
+ */
+I18nBehavior.Proto;
« no previous file with comments | « ui/webui/resources/cr_elements/network/cr_onc_types.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698