Commit graph

279 commits

Author SHA1 Message Date
Calixte
f9c21feb32 Bug 1867739 - Add an entry in the context menu in order to be able to highlight the selected text in a pdf r=Gijs,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D202335
2024-03-12 16:53:50 +00:00
Natalia Csoregi
d54b26b28c Backed out changeset f319d88c8aad (bug 1867739) for causing failures on browser_pdfjs_editing_contextmenu.js CLOSED TREE 2024-03-11 13:56:21 +02:00
Calixte
a6291cbfce Bug 1867739 - Add an entry in the context menu in order to be able to highlight the selected text in a pdf r=Gijs,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D202335
2024-03-11 11:23:07 +00:00
Erik Nordin
1178328f4b Bug 1870327 - Populate Select Translations Panel menulists r=translations-reviewers,gregtatum
Implements the logic to determine which from-language
and which to-language should be automatically selected
when the SelectTranslationsPanel is opened, based on the
context in which it was opened.

Depends on D201282

Differential Revision: https://phabricator.services.mozilla.com/D201283
2024-02-23 21:30:39 +00:00
Erik Nordin
9957890189 Bug 1870300 - Add SelectTranslationsPanel class r=translations-reviewers,fluent-reviewers,desktop-theme-reviewers,bolsson,gregtatum,emilio
Adds a new class for SelectTranslationsPanel.

Differential Revision: https://phabricator.services.mozilla.com/D200502
2024-02-23 21:30:34 +00:00
Erik Nordin
bd6bcc5071 Bug 1870305 - Add Select Translations context menu item r=translations-reviewers,fluent-reviewers,bolsson,gregtatum
Adds the Select Translations context menu item
to the right-click context menu with an initial
localized label value.

Depends on D197223

Differential Revision: https://phabricator.services.mozilla.com/D197224
2024-01-05 18:50:13 +00:00
Johannes J. Schmidt
07bffda954 Bug 1867024 - Update String for Context Menu - Username and password fields - r=credential-management-reviewers,fluent-reviewers,kpatenio,bolsson,issammani
Differential Revision: https://phabricator.services.mozilla.com/D195257
2023-12-11 11:47:14 +00:00
Gregory Pappas
ccb2019c59 Bug 1833059 - Remove unreachable plugin click-to-play context menu items r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D177978
2023-05-15 15:56:45 +00:00
Norisz Fay
3f868b2c0b Backed out changeset 551a42f9309b (bug 1833059) for causing bc failures on browser_contextmenu.js CLOSED TREE 2023-05-15 14:33:29 +03:00
Gregory Pappas
101c61ea91 Bug 1833059 - Remove unreachable plugin click-to-play context menu items r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D177978
2023-05-15 10:11:52 +00:00
Hannah Peuckmann
d8d71eb576 Bug 1823337 - Strip url when copying in-content links.r=pbz,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D174253
2023-05-11 14:14:41 +00:00
Sergey Galich
470a8fec63 Bug 1825115 - Add "Use Relay email mask" to the context menu on <input type=email> r=groovecoder,credential-management-reviewers,flod,issammani
Differential Revision: https://phabricator.services.mozilla.com/D174361
2023-04-21 03:27:58 +00:00
Jonathan Sudiaman
958006bb59 Bug 1828736 - Change recently closed list items into links that support context clicking r=fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D175823
2023-04-20 12:51:58 +00:00
Mark Hammond
42a8237945 Bug 1359861 - allow reader-mode tabs to be shared. r=Gijs,skhamis
Differential Revision: https://phabricator.services.mozilla.com/D170186
2023-02-22 03:58:11 +00:00
Norisz Fay
a7ceb10f1f Backed out changeset d82c03e04249 (bug 1359861) for causing xpcshell failure on test_BrowserUtils.js CLOSED TREE 2023-02-22 00:05:07 +02:00
Mark Hammond
f48ea32bf5 Bug 1359861 - allow reader-mode tabs to be shared. r=Gijs,skhamis
Differential Revision: https://phabricator.services.mozilla.com/D170186
2023-02-21 21:04:10 +00:00
Shane Hughes
f0a33c9d81 Bug 1783207 - Add ellipsis to some menu label strings. r=flod
The copy guidance recommends adding an ellipsis to the end of labels for
controls that require an additional step to complete the action
specified by the label. We have some menuitems and panel buttons that
open a bookmark dialog or the edit bookmark panel that don't have an
ellipsis, so add that. Also, the form "Bookmark this x" has been changed
to "Bookmark x" in menuitems. Also, there's a "Print Selection" menuitem
that needed an ellipsis. Thanks for the review!

Differential Revision: https://phabricator.services.mozilla.com/D154320
2022-08-11 17:48:11 +00:00
Greg Tatum
43adfeafe7 Bug 1782578 - Rename and move the context menu for text recognition r=nordzilla,fluent-reviewers,flod
This matches what is in the Figma spec.

Differential Revision: https://phabricator.services.mozilla.com/D153394
2022-08-10 19:38:44 +00:00
Norisz Fay
8bc30afa79 Backed out 6 changesets (bug 1782578, bug 1782579) for causing mochitest failures on browser_parsable_css.js CLOSED TREE
Backed out changeset bdb42cfe6213 (bug 1782579)
Backed out changeset 5f17ee4cc4df (bug 1782578)
Backed out changeset 4f969d46dd37 (bug 1782578)
Backed out changeset b4c51d1ffa99 (bug 1782578)
Backed out changeset 98d0d6bcd37b (bug 1782578)
Backed out changeset 8332d678079e (bug 1782578)
2022-08-10 20:19:31 +03:00
Greg Tatum
a895f79b4c Bug 1782578 - Rename and move the context menu for text recognition r=nordzilla,fluent-reviewers,flod
This matches what is in the Figma spec.

Differential Revision: https://phabricator.services.mozilla.com/D153394
2022-08-10 16:08:44 +00:00
Gijs Kruitbosch
5a8ff2c0b4 Bug 923514 - add plaintext paste (paste without formatting) item to page context menu for richtext / contenteditable inputs, r=bgrins,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D153457
2022-08-08 18:33:45 +00:00
Calixte
981db3428b Bug 1777695 - Add some entries in the context menu when editing a PDF r=mconley
It adds the entries Undo, Redo, Cut, Copy, Paste, Delete and Select all,
only when the pdf editing mode is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D151122
2022-07-08 08:27:18 +00:00
Emilio Cobos Álvarez
bd09497378 Bug 1372276 - Remove HTML menuitem. r=smaug,mconley,agi
This removes HTMLMenuItemElement and all the code and tests preffed off
by dom.menuitem.enabled.

The HTML parser changes are the result of applying the previous patch.

Differential Revision: https://phabricator.services.mozilla.com/D149979
2022-06-22 22:31:42 +00:00
Greg Tatum
eb3e44ad22 Bug 1759504 - Prototype a menu button click demo for text recognition r=fluent-reviewers,emilio,nordzilla,flod
Co-Authored-By: Emilio Cobos Álvarez <emilio@crisal.io>
Co-Authored-By: Greg Tatum <tatum.creative@gmail.com>

Depends on D140874

Differential Revision: https://phabricator.services.mozilla.com/D140875
2022-06-03 16:01:32 +00:00
criss
6362d2b06a Backed out 7 changesets (bug 1759504) for causing Android build bustages on NodeListBinding.cpp
Backed out changeset d1f1173aecfc (bug 1759504)
Backed out changeset a14a874c57b0 (bug 1759504)
Backed out changeset b9beaecf9708 (bug 1759504)
Backed out changeset dc1be2f0e0b6 (bug 1759504)
Backed out changeset a0b089fb747b (bug 1759504)
Backed out changeset b5f762f1f22e (bug 1759504)
Backed out changeset a21b8153ca2a (bug 1759504)
2022-06-02 19:52:05 +03:00
Greg Tatum
3bd6018cb4 Bug 1759504 - Prototype a menu button click demo for text recognition r=fluent-reviewers,emilio,nordzilla,flod
Co-Authored-By: Emilio Cobos Álvarez <emilio@crisal.io>
Co-Authored-By: Greg Tatum <tatum.creative@gmail.com>

Depends on D140874

Differential Revision: https://phabricator.services.mozilla.com/D140875
2022-06-02 14:31:41 +00:00
Niklas Baumgardner
1ec54ee02b Bug 1770390 - Check if take screenshot should show on frame. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D147545
2022-06-02 14:30:31 +00:00
gliu20
511747128f Bug 875614 - Add context menu entry for tel: links. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D141289
2022-03-24 11:32:30 +00:00
Emilio Cobos Álvarez
8ce808ebbd Bug 1743047 - Use "reveal" rather than show terminology consistently for the reveal password button. r=Gijs,fluent-reviewers
The pseudo-class and nsContextMenu context attribute were using reveal,
the pseudo-element and webidl attribute were using "show".

Use reveal consistently and update the accesskey so that there aren't
conflicts with existing commands. Also enable the feature in
browser_contextmenu_input.js so that this change is tested.

Differential Revision: https://phabricator.services.mozilla.com/D136086
2022-01-17 14:18:51 +00:00
Emilio Cobos Álvarez
2dca36cb25 Bug 502258 - Add a Show Password button to <input type=password> controls. r=Gijs
It's controlled by the pref:
layout.forms.input-type-show-password-button.enabled

Differential Revision: https://phabricator.services.mozilla.com/D130407
2021-11-25 20:12:05 +00:00
Niklas Baumgardner
99f9824eef Bug 1635548 - Migrated browser-context.inc to Fluent. r=emalysz,flod
Differential Revision: https://phabricator.services.mozilla.com/D123233
2021-08-24 19:48:32 +00:00
Csoregi Natalia
39a0f07a9d Backed out changeset 4d19ea5594d2 (bug 1635548) for assertion failures on ErrorResult.h. CLOSED TREE 2021-08-23 22:26:31 +03:00
Niklas Baumgardner
78f3c52e0b Bug 1635548 - Migrated browser-context.inc to Fluent. r=emalysz,flod
Differential Revision: https://phabricator.services.mozilla.com/D123233
2021-08-23 18:46:11 +00:00
Kajal Sah
3a3d434baa Bug 1679313 - Adds screenshot option in frames.r=emalysz,fluent-reviewers,sfoster,flod
Differential Revision: https://phabricator.services.mozilla.com/D114885
2021-06-08 15:32:54 +00:00
Markus Stange
111610af25 Bug 1704948 - Remove onclick handlers from menuitems, because menuitems now dispatch command events even on middle click. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112046
2021-04-20 17:44:17 +00:00
Anshul Sahai
0e2b21dd0b Bug 1702013 - Re-introduce "view image info" in the image context menu in an about:config pref and enable that pref by default in devedition. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D111931
2021-04-15 16:00:01 +00:00
Narcis Beleuzu
daa77699e2 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
29f1d4389c Bug 1704948 - Remove onclick handlers from menuitems, because menuitems now dispatch command events even on middle click. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112046
2021-04-14 21:23:28 +00:00
Michelle Goossens
c7909cf931 Bug 1703245 - Move Take Screenshot label above "Search [search engine] for ..." item in the selection context menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112066
2021-04-14 19:51:55 +00:00
Michael Kohler
6a65e369eb Bug 1700984 - Remove excessive separators in Page context menu r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110859
2021-04-06 15:50:07 +00:00
Michelle Goossens
6e61185bf4 Bug 1702980 - Fix "Search [defaultSearchEngine] for" contextmenu option not having its separator r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D110802
2021-04-05 17:59:05 +00:00
Michelle Goossens
eec77eb8e6 Bug 1701162 - Move "Send Link to Device" context menu option below "Copy Link" r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D110694
2021-04-02 20:11:08 +00:00
Francesco Lodolo (:flod)
2d3955cf38 Bug 1701704 - Remove ellipsis from Manage Logins label in context menu, r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D110132
2021-03-29 18:43:10 +00:00
Jared Wein
7ba3580f2e Bug 1692669 - Replace icon group navigation on macOS page context menu with 'normal' menuitems. r=flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D108475
2021-03-22 14:43:32 +00:00
Florian Quèze
ebca0a041a Bug 1697682 - Update container-related content and tab context menu labels to 'Open Link in New Container Tab' and 'Open in New Container Tab', r=fluent-reviewers,flod.
Differential Revision: https://phabricator.services.mozilla.com/D108181
2021-03-15 15:23:39 +00:00
Michelle Goossens
898cc2d20f Bug 1696574 - Adjust "print selection" to come directly after "select all" before the separator with "search [search engine] for..." r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D108318
2021-03-13 19:30:10 +00:00
Micah Tigley
4de61b3124 Bug 1697470 - Update video element context menu. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107960
2021-03-12 18:07:28 +00:00
smolnar
e909b17405 Backed out changeset 5fde54b1934f (bug 1697682) for causing browser-chrome failures in browser_contextmenu. CLOSED TREE 2021-03-12 20:13:25 +02:00
Florian Quèze
f16dee35cf Bug 1697682 - Update container-related content and tab context menu labels to both use the same 'Open Link in New Container Tab' wording, r=fluent-reviewers,flod.
Differential Revision: https://phabricator.services.mozilla.com/D108181
2021-03-12 16:22:38 +00:00
Erica Wright
d8f60239ef Bug 1692666 - Move 'Search... for...' to a dedicated section. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D107255
2021-03-11 21:26:15 +00:00