Chromium Code Reviews| Index: ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js |
| diff --git a/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js b/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js |
| index 3f906ef06ed653a3d999a1a4c1b7f477677667f8..ec26ea2f44148e280e6995ae450822005f4c282d 100644 |
| --- a/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js |
| +++ b/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js |
| @@ -15,6 +15,8 @@ Polymer({ |
| is: 'cr-dialog', |
| extends: 'dialog', |
| + behaviors: [I18nBehavior], |
| + |
| properties: { |
| /** |
| * True if the dialog should remain open on 'popstate' events. This is used |
| @@ -53,4 +55,8 @@ Polymer({ |
| getCloseButton: function() { |
| return this.$.close; |
| }, |
| + |
| + getCloseA11yText_: function() { |
| + return this.i18n('close'); |
|
Dan Beam
2016/10/27 00:26:27
this 'close' message is added where? in a setting
jdufault
2016/10/27 19:13:55
Yep
|
| + } |
| }); |