Commit graph

153 commits

Author SHA1 Message Date
Marco Bonardo
3271b9d803 Bug 1702034 - Extension buttons in the location bar are very hard to see with the Proton Dark theme. r=harry,desktop-theme-reviewers,rpl
Differential Revision: https://phabricator.services.mozilla.com/D111422
2021-04-12 15:42:15 +00:00
Luca Greco
1bdc1299b6 Bug 1703889 - Ensure hidden extension pageAction are not visible in the urlbar overflow menu on Proton. r=mixedpuppy,mak
Differential Revision: https://phabricator.services.mozilla.com/D111423
2021-04-12 12:06:59 +00:00
Marco Bonardo
2c982d3c01 Bug 1703274 - Enable Proton Urlbar. r=jaws,extension-reviewers,zombie,rpl
Differential Revision: https://phabricator.services.mozilla.com/D110998
2021-04-09 18:20:21 +00:00
Cosmin Sabou
13826a4c50 Backed out changeset bd396182f84a (bug 1703274) for causing wpt failures on shape-outside-shape-arguments-000.html. CLOSED TREE 2021-04-09 17:51:48 +03:00
Marco Bonardo
af19ef5dc4 Bug 1703274 - Enable Proton Urlbar. r=jaws,extension-reviewers,zombie,rpl
Differential Revision: https://phabricator.services.mozilla.com/D110998
2021-04-09 11:05:17 +00:00
smolnar
6524a17cb9 Backed out changeset 034a69e0a73e (bug 1701306) for causing browser-chrome failures in browser_page_action_menu. CLOSED TREE 2021-04-08 17:16:21 +03:00
Dão Gottwald
ce1716242b Bug 1701306 - Remove custom code setting the "open" attribute on panel anchors. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110817
2021-04-08 12:53:08 +00:00
Edgar Chen
9dc32348bb Bug 1677334 - Part 3: Remove Mac-specific check for click event; r=Gijs
Now we won't dispatch click event at all when ctrl key is pressed on Mac, so we
don't need those Mac-specific checks.

This patch reverts part of https://hg.mozilla.org/mozilla-central/rev/69785d2dfbf2
and revise the tests accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D110609
2021-04-07 11:23:46 +00:00
Alexandru Michis
8c30456526 Backed out changeset 8d8aa8575c1d (bug 1701306) for causing multiple bc failures.
CLOSED TREE
2021-04-06 19:45:27 +03:00
Dão Gottwald
53e4be34d5 Bug 1701306 - Remove custom code setting the "open" attribute on panel anchors. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110817
2021-04-06 13:22:50 +00:00
Marco Bonardo
c304d1cd46 Bug 1691454 - Hide the Page actions overflow (meatball) menu from the address bar. r=adw
The page actions menu is normally hidden.
When the window is smaller than a threshold, and there's more than one action,
the single actions are hidden while the menu is shown. This allows for a nicer
overflow experience.

This patch introduces a pageActions-proton test folder where we'll move proton
tests temporarily. The head.js file is just a copy of the original one, we'll
clean it up in bug 1700582 after porting the other tests.

Differential Revision: https://phabricator.services.mozilla.com/D109606
2021-03-24 23:19:14 +00:00
Marco Bonardo
4819ead6eb Bug 1700364 - Page action buttons should not be remove-able in Proton. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D109519
2021-03-24 09:48:45 +00:00
Drew Willcoxon
f0fcc77c53 Bug 1697191 - Remove remaining built-in page actions when Proton is enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D107763
2021-03-12 20:48:30 +00:00
Micah Tigley
78b48e4781 Bug 1690569 - Replace sync's isSendableURI checks with BrowserUtils.isShareableURL. r=markh
Depends on D104558

Differential Revision: https://phabricator.services.mozilla.com/D105640
2021-02-25 02:51:04 +00:00
Dave Townsend
2459f40c64 Bug 1682593: Remove the site specific browser feature. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D101860
2021-01-15 11:11:19 +00:00
Emma Malysz
4ddaa9986e Bug 1634042, Part 2: lazify page action panel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91187
2020-10-06 00:40:51 +00:00
Dorel Luca
f348e0a63d Backed out changeset d4c1abcfbba0 (bug 1634042) for Browser-chrome failures in browser/base/content/test/touch/browser_menu_touch.js. CLOSED TREE 2020-10-02 02:50:31 +03:00
Emma Malysz
7fb79b4804 Bug 1634042, Part 2: lazify page action panel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91187
2020-10-01 15:00:55 +00:00
Csoregi Natalia
f21850ca45 Backed out changeset 0798aa08c2cb (bug 1634042) for failures on browser_menu_touch.js. CLOSED TREE 2020-09-30 09:47:33 +03:00
Emma Malysz
254dec264a Bug 1634042, Part 2: lazify page action panel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91187
2020-09-29 22:09:09 +00:00
Emma Malysz
f73e3431ed Bug 1634042, Part 1: migrate page action titles to fluent. r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D87822
2020-09-24 17:29:16 +00:00
Mark Banner
02ae3b9de6 Bug 863474 - Centralise OpenSearch install failure prompts into SearchUIUtils. r=daleharvey,flod,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D89879
2020-09-14 11:08:43 +00:00
Razvan Maries
e3020a8f57 Backed out 2 changesets (bug 863474) for build bustages on search.properties. CLOSED TREE
Backed out changeset 5f00eaaa4e2d (bug 863474)
Backed out changeset 42d66b1f9b82 (bug 863474)
2020-09-12 19:41:12 +03:00
Mark Banner
d1abbfeaf8 Bug 863474 - Centralise OpenSearch install failure prompts into SearchUIUtils. r=daleharvey,flod
Differential Revision: https://phabricator.services.mozilla.com/D89879
2020-09-12 14:57:34 +00:00
Mark Banner
e70637b6d9 Bug 1632448 - Remove now unused confirm and extensionID parameters for nsISearchService.addEngine, and rename it. r=daleharvey
Renaming to addOpenSearchEngine to make it more explicit about what it is actually doing.

Depends on D82524

Differential Revision: https://phabricator.services.mozilla.com/D82525
2020-07-09 09:56:25 +00:00
Dave Townsend
e07f989e6c Bug 1620358: Gather telemetry on toolbar state. r=Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D78393
2020-06-16 21:06:15 +00:00
pbz
cd0b28883f Bug 1615588 - pageActions: Use prompt service instead of nsIPrompt. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D66448
2020-04-16 14:44:33 +00:00
Csoregi Natalia
954b969608 Backed out 5 changesets (bug 1615588) for browser-chrome failures e.g. browser_beforeunload_duplicate_dialogs.js. CLOSED TREE
Backed out changeset 751cca7566a8 (bug 1615588)
Backed out changeset 474aca043834 (bug 1615588)
Backed out changeset 7839b95ef76c (bug 1615588)
Backed out changeset 32bb87f48b13 (bug 1615588)
Backed out changeset 264e642042b1 (bug 1615588)

--HG--
extra : rebase_source : 41ed149c97382bc1cf823abc56811b382cae0207
2020-04-10 21:19:15 +03:00
pbz
ff02656f6f Bug 1615588 - pageActions: Use prompt service instead of nsIPrompt. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D66448

--HG--
extra : moz-landing-system : lando
2020-04-10 16:45:12 +00:00
William Durand
b90b5b3778 Bug 1489430 - Add "Remove Extension" context menu item for pageAction. r=robwu,mstriemer,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D69831

--HG--
extra : moz-landing-system : lando
2020-04-08 14:18:53 +00:00
Edgar Chen
e2aca2c26d Bug 1615732 - Don't handle click event on Mac when ctrl key is pressed; r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D68775

--HG--
extra : moz-landing-system : lando
2020-04-06 20:56:14 +00:00
Edgar Chen
a32ab22c8c Bug 1615732 - Don't show page action panel on Mac when ctrl key is pressed; r=Gijs
On Mac, ctrl-click will send a context menu event from the widget, so we don't
want to bring up the panel when ctrl key is pressed.

Differential Revision: https://phabricator.services.mozilla.com/D66384

--HG--
extra : moz-landing-system : lando
2020-04-06 20:56:26 +00:00
Cosmin Sabou
3b3f1af25e Backed out 7 changesets (bug 1615732) for bc failures on browser_ext_pageAction_click_types.js. CLOSED TREE
Backed out changeset 031b8abf43a8 (bug 1615732)
Backed out changeset 297d82b338dc (bug 1615732)
Backed out changeset bbcb173e6c44 (bug 1615732)
Backed out changeset d7c5824d4579 (bug 1615732)
Backed out changeset f648cf0653a7 (bug 1615732)
Backed out changeset fcd441a2a860 (bug 1615732)
Backed out changeset fa861e50f198 (bug 1615732)

--HG--
extra : histedit_source : 16a05a43f3a9666c4fcf244062c28a5dc81061fd
2020-04-06 23:49:58 +03:00
Edgar Chen
0de61803a3 Bug 1615732 - Don't handle click event on Mac when ctrl key is pressed; r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D68775

--HG--
extra : moz-landing-system : lando
2020-03-30 12:53:42 +00:00
Edgar Chen
feb7fe3776 Bug 1615732 - Don't show page action panel on Mac when ctrl key is pressed; r=Gijs
On Mac, ctrl-click will send a context menu event from the widget, so we don't
want to bring up the panel when ctrl key is pressed.

Differential Revision: https://phabricator.services.mozilla.com/D66384

--HG--
extra : moz-landing-system : lando
2020-03-13 17:42:04 +00:00
Drew Willcoxon
ae8bef8c20 Bug 1619228 - Prevent the context menu from opening on separators in the page action panel. r=Gijs
Separators are technically actions, so we should ignore them when deciding whether to open the context menu.

Differential Revision: https://phabricator.services.mozilla.com/D65050

--HG--
extra : moz-landing-system : lando
2020-03-03 13:39:35 +00:00
Marco Bonardo
8e3ea27643 Bug 1612653 - Update 'Bookmark This Page' menuitems when the star state changes. r=Standard8
Instead of updating the Bookmark This Page / Edit Bookmark menuteitems on popupshowing,
update them when the star button is suppposed to change. This better supports MacOS behavior
where the native menubar can't be updated after being shown, and avoids many callpoints in
favor of just a few.

Differential Revision: https://phabricator.services.mozilla.com/D64399

--HG--
extra : moz-landing-system : lando
2020-02-27 12:04:15 +00:00
Dave Townsend
29625e4aba Bug 1602186: Allow installing SSBs and launching them from the command line. r=Gijs
Allows for persisting SSBs to storage for realoading in a later app instance.
Also adds a command line argument to load and open an SSB based on its ID.

Differential Revision: https://phabricator.services.mozilla.com/D56289

--HG--
extra : moz-landing-system : lando
2019-12-16 19:49:12 +00:00
Dave Townsend
5d6cb8398a Bug 1603787: Remove the long-expired telemetry logging for page action items. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D57138

--HG--
extra : moz-landing-system : lando
2019-12-13 17:26:58 +00:00
Dave Townsend
35f21af04d Bug 1602176: When available use a site's app manifest to determine what is inside and outside of an SSB. r=Gijs
When launched from a browser we can retrieve a site manifest to provide more
information about the site.

Differential Revision: https://phabricator.services.mozilla.com/D56287

--HG--
extra : moz-landing-system : lando
2019-12-13 15:49:26 +00:00
Arthur Iakab
923816f740 Backed out 3 changesets (bug 1602176, bug 1602173) for causing browser-chrome failures on browser_ssb_direct.js CLOSED TREE
Backed out changeset c7c2e74ae25c (bug 1602176)
Backed out changeset 8243a0bcfcb1 (bug 1602173)
Backed out changeset 01189bae5706 (bug 1602173)
2019-12-13 02:46:37 +02:00
Dave Townsend
356455443d Bug 1602176: When available use a site's app manifest to determine what is inside and outside of an SSB. r=Gijs
When launched from a browser we can retrieve a site manifest to provide more
information about the site.

Differential Revision: https://phabricator.services.mozilla.com/D56287

--HG--
extra : moz-landing-system : lando
2019-12-12 20:23:10 +00:00
Dave Townsend
b6cef263d5 Bug 1602168: Add a command line argument to launch an ssb. r=Gijs
Allows launching a site browser from the command line (see https://bugzilla.mozilla.org/show_bug.cgi?id=1283670).
Moves the code for launching an SSB into a shared module.

Differential Revision: https://phabricator.services.mozilla.com/D56284

--HG--
extra : moz-landing-system : lando
2019-12-12 20:23:00 +00:00
Dave Townsend
c696551b78 Bug 1602123: Add a page action to open the current tab into a standalone window. r=Gijs
The action should open the SSB UI to show the page. No other custom behaviour
is expecgterd at this point.

Differential Revision: https://phabricator.services.mozilla.com/D56283

--HG--
extra : moz-landing-system : lando
2019-12-12 20:22:50 +00:00
Brindusan Cristian
d784ce8921 Backed out 2 changesets (bug 1602168, bug 1602123) for turning bug 1336075 into perma. CLOSED TREE
Backed out changeset b892c240d938 (bug 1602168)
Backed out changeset f47c59a4e3d3 (bug 1602123)

--HG--
extra : histedit_source : c3cddd5170a0d0e98753cd01f901964a92ad48bc
2019-12-11 04:44:43 +02:00
Dave Townsend
e891cab2a3 Bug 1602168: Add a command line argument to launch an ssb. r=Gijs
Allows launching a site browser from the command line (see https://bugzilla.mozilla.org/show_bug.cgi?id=1283670).
Moves the code for launching an SSB into a shared module.

Differential Revision: https://phabricator.services.mozilla.com/D56284

--HG--
extra : moz-landing-system : lando
2019-12-10 22:33:06 +00:00
Dave Townsend
597e62a81e Bug 1602123: Add a page action to open the current tab into a standalone window. r=Gijs
The action should open the SSB UI to show the page. No other custom behaviour
is expecgterd at this point.

Differential Revision: https://phabricator.services.mozilla.com/D56283

--HG--
extra : moz-landing-system : lando
2019-12-10 22:33:10 +00:00
Harry Twyford
4f99373ef5 Bug 1599123 - Rename instances of "search icon" to "search button". r=mak
Differential Revision: https://phabricator.services.mozilla.com/D54539

--HG--
extra : moz-landing-system : lando
2019-11-26 09:38:02 +00:00
Harry Twyford
baac927898 Bug 1592268 - Make the permanent search icon a bookmarks doorhanger anchor. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D51814

--HG--
extra : moz-landing-system : lando
2019-11-05 16:28:13 +00:00
monikamaheshwari
9d60e0d578 Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629

--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00