Skip to content

Commit

Permalink
🔥 Remove built-in toolbar buttons for commands
Browse files Browse the repository at this point in the history
  • Loading branch information
kierandrewett committed Dec 16, 2023
1 parent e282189 commit c7cca98
Show file tree
Hide file tree
Showing 19 changed files with 1 addition and 334 deletions.
13 changes: 1 addition & 12 deletions base/content/browser-elements.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,7 @@ let noCallbackElements = [
"chrome://dot/content/widgets/browser-tab-icon.js",
"chrome://dot/content/widgets/browser-tab-label.js",
"chrome://dot/content/widgets/browser-toolbar.js",
"chrome://dot/content/widgets/browser-web-contents.js",

"chrome://dot/content/widgets/browser-add-tab-button.js",
"chrome://dot/content/widgets/browser-history-navigation-button.js",
"chrome://dot/content/widgets/browser-close-tab-button.js",
"chrome://dot/content/widgets/browser-copy-button.js",
"chrome://dot/content/widgets/browser-cut-button.js",
"chrome://dot/content/widgets/browser-paste-button.js",
"chrome://dot/content/widgets/browser-reload-button.js",
"chrome://dot/content/widgets/browser-select-all-button.js",
"chrome://dot/content/widgets/browser-settings-button.js",
"chrome://dot/content/widgets/browser-identity-button.js"
"chrome://dot/content/widgets/browser-web-contents.js"
];

// Define developer-only elements
Expand Down
24 changes: 0 additions & 24 deletions components/gecko/content/browser-copy-button.js

This file was deleted.

24 changes: 0 additions & 24 deletions components/gecko/content/browser-cut-button.js

This file was deleted.

24 changes: 0 additions & 24 deletions components/gecko/content/browser-paste-button.js

This file was deleted.

24 changes: 0 additions & 24 deletions components/gecko/content/browser-select-all-button.js

This file was deleted.

12 changes: 0 additions & 12 deletions components/gecko/jar.mn

This file was deleted.

7 changes: 0 additions & 7 deletions components/gecko/moz.build

This file was deleted.

24 changes: 0 additions & 24 deletions components/identity/content/browser-identity-button.js

This file was deleted.

2 changes: 0 additions & 2 deletions components/identity/jar.mn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@

dot.jar:
% content dot %content/ contentaccessible=yes
content/widgets/browser-identity-button.js (content/browser-identity-button.js)

content/widgets/browser-identity-panel.js (content/browser-identity-panel.js)
content/widgets/browser-identity-panel.css (content/browser-identity-panel.css)
1 change: 0 additions & 1 deletion components/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ DIRS += [
"customizableui",
"extensions",
"favicons",
"gecko",
"identity",
"interstitials",
"navigation",
Expand Down
33 changes: 0 additions & 33 deletions components/navigation/content/browser-history-navigation-button.js

This file was deleted.

34 changes: 0 additions & 34 deletions components/navigation/content/browser-reload-button.js

This file was deleted.

11 changes: 0 additions & 11 deletions components/navigation/jar.mn

This file was deleted.

2 changes: 0 additions & 2 deletions components/navigation/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@
EXTRA_JS_MODULES += [
"NavigationHelper.sys.mjs",
]

JAR_MANIFESTS += ["jar.mn"]
46 changes: 0 additions & 46 deletions components/settings/content/browser-settings-button.js

This file was deleted.

2 changes: 0 additions & 2 deletions components/settings/jar.mn
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

dot.jar:
% content dot %content/ contentaccessible=yes
content/widgets/browser-settings-button.js (content/browser-settings-button.js)

content/settings/settings.html (content/settings.html)
content/settings/settings.css (content/settings.css)
content/settings/settings.js (content/settings.js)
24 changes: 0 additions & 24 deletions components/tabs/content/browser-add-tab-button.js

This file was deleted.

24 changes: 0 additions & 24 deletions components/tabs/content/browser-close-tab-button.js

This file was deleted.

4 changes: 0 additions & 4 deletions components/tabs/jar.mn
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ dot.jar:

content/widgets/browser-tabs-collator.js (content/browser-tabs-collator.js)

content/widgets/browser-add-tab-button.js (content/browser-add-tab-button.js)

content/widgets/browser-close-tab-button.js (content/browser-close-tab-button.js)

content/widgets/browser-tab-label.js (content/browser-tab-label.js)
content/widgets/browser-tab-label.css (content/browser-tab-label.css)

Expand Down

0 comments on commit c7cca98

Please sign in to comment.