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

Side by Side Diff: chrome/browser/resources/options/chromeos_system_options.js

Issue 2958003: First cut at adding the Languages and Input options sub page. (Closed)
Patch Set: make it a comment Created 10 years, 5 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 unified diff | Download patch
OLDNEW
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 18 matching lines...) Expand all
29 * Calls base class implementation to starts preference initialization. 29 * Calls base class implementation to starts preference initialization.
30 */ 30 */
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 OptionsPage.showPageByName('language');
40 }; 40 };
41 }, 41 },
42 }; 42 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/chromeos_language_options.html ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698