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

Side by Side Diff: chrome/browser/resources/help/help.js

Issue 316343002: Change Help page title to About. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
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 <include src="../uber/uber_utils.js"> 5 <include src="../uber/uber_utils.js">
6 6
7 cr.define('help', function() { 7 cr.define('help', function() {
8 /** 8 /**
9 * Encapsulated handling of the help page. 9 * Encapsulated handling of the help page.
10 */ 10 */
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 * Perform initial setup. 49 * Perform initial setup.
50 */ 50 */
51 initialize: function() { 51 initialize: function() {
52 help.HelpBasePage.prototype.initialize.call(this, 'help-page'); 52 help.HelpBasePage.prototype.initialize.call(this, 'help-page');
53 53
54 var self = this; 54 var self = this;
55 55
56 uber.onContentFrameLoaded(); 56 uber.onContentFrameLoaded();
57 57
58 // Set the title. 58 // Set the title.
59 uber.setTitle(loadTimeData.getString('helpTitle')); 59 uber.setTitle(loadTimeData.getString('aboutTitle'));
60 60
61 $('product-license').innerHTML = loadTimeData.getString('productLicense'); 61 $('product-license').innerHTML = loadTimeData.getString('productLicense');
62 if (cr.isChromeOS) { 62 if (cr.isChromeOS) {
63 $('product-os-license').innerHTML = 63 $('product-os-license').innerHTML =
64 loadTimeData.getString('productOsLicense'); 64 loadTimeData.getString('productOsLicense');
65 } 65 }
66 66
67 var productTOS = $('product-tos'); 67 var productTOS = $('product-tos');
68 if (productTOS) 68 if (productTOS)
69 productTOS.innerHTML = loadTimeData.getString('productTOS'); 69 productTOS.innerHTML = loadTimeData.getString('productTOS');
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 HelpPage: HelpPage 560 HelpPage: HelpPage
561 }; 561 };
562 }); 562 });
563 563
564 /** 564 /**
565 * onload listener to initialize the HelpPage. 565 * onload listener to initialize the HelpPage.
566 */ 566 */
567 window.onload = function() { 567 window.onload = function() {
568 help.HelpPage.getInstance().initialize(); 568 help.HelpPage.getInstance().initialize();
569 }; 569 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698