Remove "Report an Issue" button from chrome://chrome in chromium

BUG=285179

Review URL: https://chromiumcodereview.appspot.com/23532040

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221412 0039d316-1c4b-4281-b951-d872f2087c98
parent 799d1229
...@@ -45,7 +45,9 @@ ...@@ -45,7 +45,9 @@
</div> </div>
<div id="help-container"> <div id="help-container">
<button id="get-help" i18n-content="getHelpWithChrome"></button> <button id="get-help" i18n-content="getHelpWithChrome"></button>
<if expr="pp_ifdef('_google_chrome')">
<button id="report-issue" i18n-content="reportAnIssue"></button> <button id="report-issue" i18n-content="reportAnIssue"></button>
</if>
</div> </div>
<div id="version-container"> <div id="version-container">
<div i18n-content="browserVersion" dir="ltr"></div> <div i18n-content="browserVersion" dir="ltr"></div>
......
...@@ -70,9 +70,11 @@ cr.define('help', function() { ...@@ -70,9 +70,11 @@ cr.define('help', function() {
$('get-help').onclick = function() { $('get-help').onclick = function() {
chrome.send('openHelpPage'); chrome.send('openHelpPage');
}; };
<if expr="pp_ifdef('_google_chrome')">
$('report-issue').onclick = function() { $('report-issue').onclick = function() {
chrome.send('openFeedbackDialog'); chrome.send('openFeedbackDialog');
}; };
</if>
this.maybeSetOnClick_($('more-info-expander'), this.maybeSetOnClick_($('more-info-expander'),
this.toggleMoreInfo_.bind(this)); this.toggleMoreInfo_.bind(this));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment