OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 /** @const */ var OptionsPage = options.OptionsPage; | 9 /** @const */ var OptionsPage = options.OptionsPage; |
10 /** @const */ var LanguageList = options.LanguageList; | 10 /** @const */ var LanguageList = options.LanguageList; |
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 // only take effect after restart. | 851 // only take effect after restart. |
852 showMutuallyExclusiveNodes([$('language-options-ui-language-button'), | 852 showMutuallyExclusiveNodes([$('language-options-ui-language-button'), |
853 $('language-options-ui-notification-bar')], 1); | 853 $('language-options-ui-notification-bar')], 1); |
854 }; | 854 }; |
855 | 855 |
856 // Export | 856 // Export |
857 return { | 857 return { |
858 LanguageOptions: LanguageOptions | 858 LanguageOptions: LanguageOptions |
859 }; | 859 }; |
860 }); | 860 }); |
OLD | NEW |