diff options
Diffstat (limited to 'browser/base/content/browser-context.inc')
-rw-r--r-- | browser/base/content/browser-context.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/browser/base/content/browser-context.inc b/browser/base/content/browser-context.inc index 9230c07f6a..ff4015e3d4 100644 --- a/browser/base/content/browser-context.inc +++ b/browser/base/content/browser-context.inc @@ -313,6 +313,9 @@ <menuitem id="context-selectall" data-l10n-id="text-action-select-all" command="cmd_selectAll"/> + <menuitem id="context-pdfjs-highlight-selection" + data-l10n-id="text-action-highlight-selection" + oncommand="gContextMenu.pdfJSCmd('highlightSelection');"/> <menuitem id="context-reveal-password" type="checkbox" data-l10n-id="main-context-menu-reveal-password" @@ -358,7 +361,8 @@ <menuitem id="context-searchselect-private" oncommand="BrowserSearch.loadSearchFromContext(this.searchTerms, true, this.principal, this.csp, event);"/> <menuitem id="context-translate-selection" - data-l10n-id="main-context-menu-translate-selection"/> + data-l10n-id="main-context-menu-translate-selection" + oncommand="gContextMenu.openSelectTranslationsPanel(event);"/> <menuseparator id="frame-sep"/> <menu id="frame" data-l10n-id="main-context-menu-frame"> |