| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium 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 | 4 |
| 5 // TODO(kochi): Generalize the notification as a component and put it | 5 // TODO(kochi): Generalize the notification as a component and put it |
| 6 // in js/cr/ui/notification.js . | 6 // in js/cr/ui/notification.js . |
| 7 | 7 |
| 8 cr.define('options', function() { | 8 cr.define('options', function() { |
| 9 | 9 |
| 10 const OptionsPage = options.OptionsPage; | 10 const OptionsPage = options.OptionsPage; |
| (...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 752 $('language-options-ui-language-button').style.display = 'none'; | 752 $('language-options-ui-language-button').style.display = 'none'; |
| 753 $('language-options-ui-notification-bar').style.display = 'block'; | 753 $('language-options-ui-notification-bar').style.display = 'block'; |
| 754 }; | 754 }; |
| 755 | 755 |
| 756 // Export | 756 // Export |
| 757 return { | 757 return { |
| 758 LanguageOptions: LanguageOptions | 758 LanguageOptions: LanguageOptions |
| 759 }; | 759 }; |
| 760 | 760 |
| 761 }); | 761 }); |
| OLD | NEW |