Commit Graph

312 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
92f83cf19e Bug 1739539 - Rename titlebar pref and add migration from old pref. r=mconley
Something like this ought to do?

Differential Revision: https://phabricator.services.mozilla.com/D130858
2021-11-10 21:17:32 +00:00
Julien Wajsberg
146e0feb81 Bug 1738871 - [CustomizableUI] Support the button-and-view custom widget type in the overflow menu when Fluent is used r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D130365
2021-11-08 19:26:35 +00:00
Emilio Cobos Álvarez
d37eb95bc7 Bug 1736518 - Make browser.tabs.drawInTitlebar a tri-state. r=stransky,Gijs
To more properly support Linux having a different default at runtime.

Expose the resolved value in appinfo for convenience, and use it in the
front-end as needed.

Differential Revision: https://phabricator.services.mozilla.com/D129004
2021-10-21 09:07:12 +00:00
Michael Kohler
87790d1825 Bug 1672486 - Remove browser.toolbars.bookmarks.2h2020 pref from browser/customizableui/places r=mak
Differential Revision: https://phabricator.services.mozilla.com/D127588
2021-10-14 07:51:14 +00:00
Niklas Baumgardner
6c474b08c8 Bug 1635553 - Migrate navigator-toolbox to Fluent. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125222
2021-09-15 19:31:56 +00:00
Butkovits Atila
b0a146c434 Backed out changeset b9b49ff4fca0 (bug 1635553) for causing failures complaining about menupopup. CLOSED TREE 2021-09-15 21:43:25 +03:00
Niklas Baumgardner
9089ede997 Bug 1635553 - Migrate navigator-toolbox to Fluent. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125222
2021-09-15 16:21:09 +00:00
Mark Banner
f321dfd6b1 Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 12:09:49 +00:00
Noemi Erli
20dee875a7 Backed out 2 changesets (bug 1729460) for causing newtab failures CLOSED TREE
Backed out changeset 5617839462be (bug 1729460)
Backed out changeset 6d52fde3ee0e (bug 1729460)
2021-09-10 13:14:12 +03:00
Mark Banner
6a5ffbcc55 Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 09:38:42 +00:00
Scott
016ff65279 Bug 1724668 - Ensure Pocket panel closes if location changes with locationSpecific CustomizableUI prop. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D122278
2021-08-25 00:46:01 +00:00
Marian-Vasile Laza
3cf60904a9 Backed out changeset 6ba2b54d02f6 (bug 1724668) for causing bc failures on browser_panel_locationSpecific.js. CLOSED TREE 2021-08-20 20:52:53 +03:00
Scott
6b8ab0fe63 Bug 1724668 - Ensure Pocket panel closes if location changes with locationSpecific CustomizableUI prop. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D122278
2021-08-20 16:54:00 +00:00
Gijs Kruitbosch
b8ee6453fe Bug 1711508 - remove protonToolbarEnabled property from CustomizableUI, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D119274
2021-07-07 22:15:50 +00:00
Mike Conley
cd24256568 Bug 1682022 - Clone the Extensions for Developers string for sentence-casing when in the AppMenu / panels. r=mtigley,fluent-reviewers,flod
Depends on D117067

Differential Revision: https://phabricator.services.mozilla.com/D117070
2021-06-09 18:01:24 +00:00
Butkovits Atila
12d0c53554 Backed out 3 changesets (bug 1682022) for causing failures on browser_sync.js. CLOSED TREE
Backed out changeset 9ec189804055 (bug 1682022)
Backed out changeset 3a93fa0ba8ce (bug 1682022)
Backed out changeset 2fca4f56df6f (bug 1682022)
2021-06-09 19:54:44 +03:00
Mike Conley
69f7bbe25e Bug 1682022 - Clone the Extensions for Developers string for sentence-casing when in the AppMenu / panels. r=mtigley,fluent-reviewers,flod
Depends on D117067

Differential Revision: https://phabricator.services.mozilla.com/D117070
2021-06-09 13:37:13 +00:00
Scott
1885730844 Bug 1701883 - Fix Pocket button default placement if pref is false. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112653
2021-04-27 00:21:34 +00:00
Mark Striemer
dc20804a27 Bug 1706219 - Handle gSavedSate without placements in proton toolbar migration r=Gijs
Depends on D113423

Differential Revision: https://phabricator.services.mozilla.com/D113432
2021-04-26 23:50:36 +00:00
Mark Striemer
1195a2aae2 Bug 1706219 - Handle empty placements in proton toolbar migration r=emalysz,mconley
Differential Revision: https://phabricator.services.mozilla.com/D113423
2021-04-26 23:40:32 +00:00
Markus Stange
4b2c5e6c55 Bug 1704948 - Give XULCommandEvent a button property. r=smaug,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D111955
2021-04-20 17:44:16 +00:00
Narcis Beleuzu
2fd43d5a0b Backed out 7 changesets (bug 1704948, bug 1704879) for bc failures on browser_ext_menus_capture_secondary_click.js
Backed out changeset 02705918c4bf (bug 1704879)
Backed out changeset 79945b876a1d (bug 1704879)
Backed out changeset eb725de20b11 (bug 1704948)
Backed out changeset 454597ac2ba3 (bug 1704948)
Backed out changeset a43a8ef206ea (bug 1704948)
Backed out changeset 2369e321069e (bug 1704948)
Backed out changeset bdf396edd692 (bug 1704948)
2021-04-15 03:30:52 +03:00
Markus Stange
7f0c1757af Bug 1704948 - Give XULCommandEvent a button property. r=smaug,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D111955
2021-04-14 21:23:27 +00:00
Michael Kohler
1be16968ee Bug 1701990 - Remove Drag Space r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D111011
2021-04-11 11:42:57 +00:00
Molly Howell
73eb6e0897 Bug 1698377 - Treat button-and-view widgets as being in a panel when they overflow off the toolbar. r=Gijs
When a toolbar button overflows out of the toolbar and into the overflow menu,
CustomizableUI continues to report the widget's type as "toolbar". This means
that whether the widget is currently overflowed must be considered in addition
to the widget's type when the panel and toolbar states need different handling.

Differential Revision: https://phabricator.services.mozilla.com/D110718
2021-04-05 18:26:18 +00:00
Scott
c0662d72a7 Bug 1702195 - Properly re add widget view and hide events if toggled off and on. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D110452
2021-04-01 21:02:27 +00:00
Scott
7d50c41836 Bug 1693376 - Move save to Pocket to the toolbar. r=Gijs,fluent-reviewers,gvn,flod
Differential Revision: https://phabricator.services.mozilla.com/D107744
2021-03-23 20:06:03 +00:00
Mike Kaply
33db4189e4 Bug 1691551 - Add enterprise policy for showing the home button. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D108963
2021-03-19 22:07:05 +00:00
Mark Striemer
3dae475081 Bug 1696253 - Graduate toolbar to browser.proton.enabled r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107952
2021-03-15 23:20:56 +00:00
Alexandru Michis
671fe22e57 Backed out changeset c5b7d3456ec9 (bug 1696253) for causing bc failures in browser_HomePage_add_button.js
CLOSED TREE
2021-03-15 06:54:42 +02:00
Mark Striemer
ec2f0516c4 Bug 1696253 - Graduate toolbar to browser.proton.enabled r=jaws
Depends on D107294

Differential Revision: https://phabricator.services.mozilla.com/D107952
2021-03-15 03:12:18 +00:00
Gijs Kruitbosch
2c74e1ff84 Bug 1697420 - add fluent support to CustomizableUI API widgets, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D107797
2021-03-10 17:29:51 +00:00
Gijs Kruitbosch
3b0b0c9c07 Bug 1695327 - fix customizableui tests to deal with proton toolbars, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D106693
2021-03-09 00:06:08 +00:00
Emma Malysz
be3e06777b Bug 1686526, hide sidebar button in proton toolbar r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105819
2021-02-24 20:00:15 +00:00
Emma Malysz
08da123e04 Bug 1692214, hide library button by default in proton toolbar r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105076
2021-02-19 22:14:21 +00:00
Csoregi Natalia
89fa3be039 Backed out changeset 6ce7064d4bf6 (bug 1692214) for browser-chrome failures on browser_proton_toolbar_hide_home_and_library_buttons.js. CLOSED TREE 2021-02-19 21:42:56 +02:00
Emma Malysz
042e7f8a49 Bug 1692214, hide library button by default in proton toolbar r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105076
2021-02-19 19:00:55 +00:00
Emma Malysz
a95e356adc Bug 1692351, add null check for gSavedState in proton toolbar migration r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105077
2021-02-18 17:34:04 +00:00
Brindusan Cristian
144963e739 Backed out changeset 1ca4c3365fae (bug 1692351) for bc failures in browser_970511_undo_restore_default.js. CLOSED TREE 2021-02-18 01:30:56 +02:00
Emma Malysz
11ad818602 Bug 1692351, add null check for gSavedState in proton toolbar migration r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105077
2021-02-17 22:02:17 +00:00
Emma Malysz
cd7913b263 Bug 1686523, remove home button if proton is enabled and the button hasn't been used r=mstriemer,mconley
Differential Revision: https://phabricator.services.mozilla.com/D103796
2021-02-10 16:58:53 +00:00
Markus Stange
46d24f2589 Bug 1650835 - Add support for a "button-and-view" widget type. r=jaws
This widget will be used for the profiler button. The profiler button is a
two-part widget with both a command and a view. The command starts/stops the
profiler, but the starting/stopping can also be performed from inside the view.
The dropmarker button shows the view.
When this widget is located in the panel, the start/stop action is only
accessible via the view and there is no "quick-action" command.

The structure of the widget is as follows:

toolbaritem.toolbaritem-combined-buttons
 - toolbarbutton.toolbarbutton-1
 - toolbarbutton.toolbarbutton-1.toolbarbutton-combined-buttons-dropmarker

The dropmarker icon is the toolbarbutton icon of the second toolbarbutton.
The dropmarker button is only shown in the toolbar or in the customize palette.
It is hidden when the widget is located in the panel.
In the toolbar, the hover effect of the dropmarker needs to have the same height
as the hover effect of the regular button. However, due to the different image
size (12x12 instead of 16x16) it requires more vertical padding.

Differential Revision: https://phabricator.services.mozilla.com/D98216
2021-01-15 18:14:04 +00:00
Jared Wein
64176c986d Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers,marionette-reviewers,whimboo
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-26 02:32:07 +00:00
Mihai Alexandru Michis
dc6c624799 Backed out changeset ba261cf25651 (bug 727668) for causing marionette failures in test_screenshot.py
CLOSED TREE
2020-10-22 06:13:54 +03:00
Jared Wein
8debd64190 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-21 19:20:20 +00:00
Narcis Beleuzu
8c2c851d6a Backed out 1 changesets (bug 727668) for bc failures on browser_aboutNewTab_bookmarksToolbar.js . CLOSED TREE
Backed out changeset 5b6a14b4e16e (bug 727668)
2020-10-19 21:19:17 +03:00
Jared Wein
dae078ac27 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-19 16:38:17 +00:00
Michael Kaply
a8789bb2df Bug 1665237 - Make managed bookmarks item dynamic. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90628
2020-10-06 20:13:00 +00:00
Razvan Maries
363e32f089 Backed out changeset 2b2e72856dc1 (bug 1665237) for perma failures on browser_popupNode.js. CLOSED TREE 2020-09-25 06:03:12 +03:00
Michael Kaply
b7150182a5 Bug 1665237 - Make managed bookmarks item dynamic. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90628
2020-09-22 20:08:17 +00:00