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

Unified Diff: chrome/browser/resources/extensions/extension_list.js

Issue 2898203004: [Extensions] Remove "show button" UI from chrome://extensions (Closed)
Patch Set: Dan's Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/extensions/extension_list.js
diff --git a/chrome/browser/resources/extensions/extension_list.js b/chrome/browser/resources/extensions/extension_list.js
index df40e770919c07ebd26ca22383aa53df8e2e80f3..235c75809788a16f6dc75e27e59c8ee0566614f2 100644
--- a/chrome/browser/resources/extensions/extension_list.js
+++ b/chrome/browser/resources/extensions/extension_list.js
@@ -481,14 +481,6 @@ cr.define('extensions', function() {
e.preventDefault();
});
- // The 'Show Browser Action' button.
- wrapper.setupColumn('showButton', '.show-button', 'click', function(e) {
- chrome.developerPrivate.updateExtensionConfiguration({
- extensionId: extension.id,
- showActionButton: true
- });
- });
-
// The 'allow in incognito' checkbox.
wrapper.setupColumn('incognito', '.incognito-control input', 'change',
function(e) {
@@ -631,10 +623,6 @@ cr.define('extensions', function() {
this.setText_(wrapper, '.blacklist-text', extension.blacklistText || '');
this.setText_(wrapper, '.extension-description', extension.description);
- // The 'Show Browser Action' button.
- this.updateVisibility_(wrapper, '.show-button',
- isActive && extension.actionButtonHidden);
-
// The 'allow in incognito' checkbox.
this.updateVisibility_(wrapper, '.incognito-control',
isActive && this.incognitoAvailable_,

Powered by Google App Engine
This is Rietveld 408576698