| 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 /////////////////////////////////////////////////////////////////////////////// | 5 /////////////////////////////////////////////////////////////////////////////// |
| 6 // SystemOptions class: | 6 // SystemOptions class: |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * Encapsulated handling of ChromeOS system options page. | 9 * Encapsulated handling of ChromeOS system options page. |
| 10 * @constructor | 10 * @constructor |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 initializePage: function() { | 31 initializePage: function() { |
| 32 OptionsPage.prototype.initializePage.call(this); | 32 OptionsPage.prototype.initializePage.call(this); |
| 33 var timezone = $('timezone-select'); | 33 var timezone = $('timezone-select'); |
| 34 if (timezone) { | 34 if (timezone) { |
| 35 timezone.initializeValues(templateData.timezoneList); | 35 timezone.initializeValues(templateData.timezoneList); |
| 36 } | 36 } |
| 37 | 37 |
| 38 $('language-button').onclick = function(event) { | 38 $('language-button').onclick = function(event) { |
| 39 // TODO: Open ChromeOS language settings page. | 39 // TODO: Open ChromeOS language settings page. |
| 40 }; | 40 }; |
| 41 $('sync-button').onclick = function(event) { | |
| 42 OptionsPage.showPageByName('sync'); | |
| 43 } | |
| 44 $('dummy-button').onclick = function(event) { | |
| 45 OptionsPage.showOverlay('dummy'); | |
| 46 } | |
| 47 }, | 41 }, |
| 48 }; | 42 }; |
| OLD | NEW |