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

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

Issue 23532040: Remove "Report an Issue" button from chrome://chrome in chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed CL description to be more accurate Created 7 years, 3 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
« no previous file with comments | « chrome/browser/resources/help/help.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 loadTimeData.getString('productOsLicense'); 63 loadTimeData.getString('productOsLicense');
64 } 64 }
65 65
66 var productTOS = $('product-tos'); 66 var productTOS = $('product-tos');
67 if (productTOS) 67 if (productTOS)
68 productTOS.innerHTML = loadTimeData.getString('productTOS'); 68 productTOS.innerHTML = loadTimeData.getString('productTOS');
69 69
70 $('get-help').onclick = function() { 70 $('get-help').onclick = function() {
71 chrome.send('openHelpPage'); 71 chrome.send('openHelpPage');
72 }; 72 };
73 <if expr="pp_ifdef('_google_chrome')">
73 $('report-issue').onclick = function() { 74 $('report-issue').onclick = function() {
74 chrome.send('openFeedbackDialog'); 75 chrome.send('openFeedbackDialog');
75 }; 76 };
77 </if>
76 78
77 this.maybeSetOnClick_($('more-info-expander'), 79 this.maybeSetOnClick_($('more-info-expander'),
78 this.toggleMoreInfo_.bind(this)); 80 this.toggleMoreInfo_.bind(this));
79 81
80 this.maybeSetOnClick_($('promote'), function() { 82 this.maybeSetOnClick_($('promote'), function() {
81 chrome.send('promoteUpdater'); 83 chrome.send('promoteUpdater');
82 }); 84 });
83 this.maybeSetOnClick_($('relaunch'), function() { 85 this.maybeSetOnClick_($('relaunch'), function() {
84 chrome.send('relaunchNow'); 86 chrome.send('relaunchNow');
85 }); 87 });
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 }); 535 });
534 536
535 /** 537 /**
536 * onload listener to initialize the HelpPage. 538 * onload listener to initialize the HelpPage.
537 */ 539 */
538 window.onload = function() { 540 window.onload = function() {
539 help.HelpPage.getInstance().initialize(); 541 help.HelpPage.getInstance().initialize();
540 if (cr.isChromeOS) 542 if (cr.isChromeOS)
541 help.ChannelChangePage.getInstance().initialize(); 543 help.ChannelChangePage.getInstance().initialize();
542 }; 544 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/help/help.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698