browser/base/content/browser-context.inc

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
michael@0 2 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 5
michael@0 6 <menuseparator id="page-menu-separator"/>
michael@0 7 <menuitem id="spell-no-suggestions"
michael@0 8 disabled="true"
michael@0 9 label="&spellNoSuggestions.label;"/>
michael@0 10 <menuitem id="spell-add-to-dictionary"
michael@0 11 label="&spellAddToDictionary.label;"
michael@0 12 accesskey="&spellAddToDictionary.accesskey;"
michael@0 13 oncommand="InlineSpellCheckerUI.addToDictionary();"/>
michael@0 14 <menuitem id="spell-undo-add-to-dictionary"
michael@0 15 label="&spellUndoAddToDictionary.label;"
michael@0 16 accesskey="&spellUndoAddToDictionary.accesskey;"
michael@0 17 oncommand="InlineSpellCheckerUI.undoAddToDictionary();" />
michael@0 18 <menuseparator id="spell-suggestions-separator"/>
michael@0 19 <menuitem id="context-openlinkincurrent"
michael@0 20 label="&openLinkCmdInCurrent.label;"
michael@0 21 accesskey="&openLinkCmdInCurrent.accesskey;"
michael@0 22 oncommand="gContextMenu.openLinkInCurrent();"/>
michael@0 23 <menuitem id="context-openlinkintab"
michael@0 24 label="&openLinkCmdInTab.label;"
michael@0 25 accesskey="&openLinkCmdInTab.accesskey;"
michael@0 26 oncommand="gContextMenu.openLinkInTab();"/>
michael@0 27 <menuitem id="context-openlink"
michael@0 28 label="&openLinkCmd.label;"
michael@0 29 accesskey="&openLinkCmd.accesskey;"
michael@0 30 oncommand="gContextMenu.openLink();"/>
michael@0 31 <menuitem id="context-openlinkprivate"
michael@0 32 label="&openLinkInPrivateWindowCmd.label;"
michael@0 33 accesskey="&openLinkInPrivateWindowCmd.accesskey;"
michael@0 34 oncommand="gContextMenu.openLinkInPrivateWindow();"/>
michael@0 35 <menuseparator id="context-sep-open"/>
michael@0 36 <menuitem id="context-bookmarklink"
michael@0 37 label="&bookmarkThisLinkCmd.label;"
michael@0 38 accesskey="&bookmarkThisLinkCmd.accesskey;"
michael@0 39 oncommand="gContextMenu.bookmarkLink();"/>
michael@0 40 <menuitem id="context-sharelink"
michael@0 41 label="&shareLinkCmd.label;"
michael@0 42 accesskey="&shareLinkCmd.accesskey;"
michael@0 43 oncommand="gContextMenu.shareLink();"/>
michael@0 44 <menuitem id="context-savelink"
michael@0 45 label="&saveLinkCmd.label;"
michael@0 46 accesskey="&saveLinkCmd.accesskey;"
michael@0 47 oncommand="gContextMenu.saveLink();"/>
michael@0 48 <menu id="context-marklinkMenu" label="&social.marklinkMenu.label;"
michael@0 49 accesskey="&social.marklinkMenu.accesskey;">
michael@0 50 <menupopup/>
michael@0 51 </menu>
michael@0 52 <menuitem id="context-copyemail"
michael@0 53 label="&copyEmailCmd.label;"
michael@0 54 accesskey="&copyEmailCmd.accesskey;"
michael@0 55 oncommand="gContextMenu.copyEmail();"/>
michael@0 56 <menuitem id="context-copylink"
michael@0 57 label="&copyLinkCmd.label;"
michael@0 58 accesskey="&copyLinkCmd.accesskey;"
michael@0 59 oncommand="gContextMenu.copyLink();"/>
michael@0 60 <menuseparator id="context-sep-copylink"/>
michael@0 61 <menuitem id="context-media-play"
michael@0 62 label="&mediaPlay.label;"
michael@0 63 accesskey="&mediaPlay.accesskey;"
michael@0 64 oncommand="gContextMenu.mediaCommand('play');"/>
michael@0 65 <menuitem id="context-media-pause"
michael@0 66 label="&mediaPause.label;"
michael@0 67 accesskey="&mediaPause.accesskey;"
michael@0 68 oncommand="gContextMenu.mediaCommand('pause');"/>
michael@0 69 <menuitem id="context-media-mute"
michael@0 70 label="&mediaMute.label;"
michael@0 71 accesskey="&mediaMute.accesskey;"
michael@0 72 oncommand="gContextMenu.mediaCommand('mute');"/>
michael@0 73 <menuitem id="context-media-unmute"
michael@0 74 label="&mediaUnmute.label;"
michael@0 75 accesskey="&mediaUnmute.accesskey;"
michael@0 76 oncommand="gContextMenu.mediaCommand('unmute');"/>
michael@0 77 <menu id="context-media-playbackrate" label="&mediaPlaybackRate.label;" accesskey="&mediaPlaybackRate.accesskey;">
michael@0 78 <menupopup>
michael@0 79 <menuitem id="context-media-playbackrate-050x"
michael@0 80 label="&mediaPlaybackRate050x.label;"
michael@0 81 accesskey="&mediaPlaybackRate050x.accesskey;"
michael@0 82 type="radio"
michael@0 83 name="playbackrate"
michael@0 84 oncommand="gContextMenu.mediaCommand('playbackRate', 0.5);"/>
michael@0 85 <menuitem id="context-media-playbackrate-100x"
michael@0 86 label="&mediaPlaybackRate100x.label;"
michael@0 87 accesskey="&mediaPlaybackRate100x.accesskey;"
michael@0 88 type="radio"
michael@0 89 name="playbackrate"
michael@0 90 checked="true"
michael@0 91 oncommand="gContextMenu.mediaCommand('playbackRate', 1.0);"/>
michael@0 92 <menuitem id="context-media-playbackrate-150x"
michael@0 93 label="&mediaPlaybackRate150x.label;"
michael@0 94 accesskey="&mediaPlaybackRate150x.accesskey;"
michael@0 95 type="radio"
michael@0 96 name="playbackrate"
michael@0 97 oncommand="gContextMenu.mediaCommand('playbackRate', 1.5);"/>
michael@0 98 <menuitem id="context-media-playbackrate-200x"
michael@0 99 label="&mediaPlaybackRate200x.label;"
michael@0 100 accesskey="&mediaPlaybackRate200x.accesskey;"
michael@0 101 type="radio"
michael@0 102 name="playbackrate"
michael@0 103 oncommand="gContextMenu.mediaCommand('playbackRate', 2.0);"/>
michael@0 104 </menupopup>
michael@0 105 </menu>
michael@0 106 <menuitem id="context-media-showcontrols"
michael@0 107 label="&mediaShowControls.label;"
michael@0 108 accesskey="&mediaShowControls.accesskey;"
michael@0 109 oncommand="gContextMenu.mediaCommand('showcontrols');"/>
michael@0 110 <menuitem id="context-media-hidecontrols"
michael@0 111 label="&mediaHideControls.label;"
michael@0 112 accesskey="&mediaHideControls.accesskey;"
michael@0 113 oncommand="gContextMenu.mediaCommand('hidecontrols');"/>
michael@0 114 <menuitem id="context-video-showstats"
michael@0 115 accesskey="&videoShowStats.accesskey;"
michael@0 116 label="&videoShowStats.label;"
michael@0 117 oncommand="gContextMenu.mediaCommand('showstats');"/>
michael@0 118 <menuitem id="context-video-hidestats"
michael@0 119 accesskey="&videoHideStats.accesskey;"
michael@0 120 label="&videoHideStats.label;"
michael@0 121 oncommand="gContextMenu.mediaCommand('hidestats');"/>
michael@0 122 <menuitem id="context-video-fullscreen"
michael@0 123 accesskey="&videoFullScreen.accesskey;"
michael@0 124 label="&videoFullScreen.label;"
michael@0 125 oncommand="gContextMenu.fullScreenVideo();"/>
michael@0 126 <menuitem id="context-leave-dom-fullscreen"
michael@0 127 accesskey="&leaveDOMFullScreen.accesskey;"
michael@0 128 label="&leaveDOMFullScreen.label;"
michael@0 129 oncommand="gContextMenu.leaveDOMFullScreen();"/>
michael@0 130 <menuseparator id="context-media-sep-commands"/>
michael@0 131 <menuitem id="context-reloadimage"
michael@0 132 label="&reloadImageCmd.label;"
michael@0 133 accesskey="&reloadImageCmd.accesskey;"
michael@0 134 oncommand="gContextMenu.reloadImage();"/>
michael@0 135 <menuitem id="context-viewimage"
michael@0 136 label="&viewImageCmd.label;"
michael@0 137 accesskey="&viewImageCmd.accesskey;"
michael@0 138 oncommand="gContextMenu.viewMedia(event);"
michael@0 139 onclick="checkForMiddleClick(this, event);"/>
michael@0 140 <menuitem id="context-viewvideo"
michael@0 141 label="&viewVideoCmd.label;"
michael@0 142 accesskey="&viewVideoCmd.accesskey;"
michael@0 143 oncommand="gContextMenu.viewMedia(event);"
michael@0 144 onclick="checkForMiddleClick(this, event);"/>
michael@0 145 #ifdef CONTEXT_COPY_IMAGE_CONTENTS
michael@0 146 <menuitem id="context-copyimage-contents"
michael@0 147 label="&copyImageContentsCmd.label;"
michael@0 148 accesskey="&copyImageContentsCmd.accesskey;"
michael@0 149 oncommand="goDoCommand('cmd_copyImage');"/>
michael@0 150 #endif
michael@0 151 <menuitem id="context-copyimage"
michael@0 152 label="&copyImageCmd.label;"
michael@0 153 accesskey="&copyImageCmd.accesskey;"
michael@0 154 oncommand="gContextMenu.copyMediaLocation();"/>
michael@0 155 <menuitem id="context-copyvideourl"
michael@0 156 label="&copyVideoURLCmd.label;"
michael@0 157 accesskey="&copyVideoURLCmd.accesskey;"
michael@0 158 oncommand="gContextMenu.copyMediaLocation();"/>
michael@0 159 <menuitem id="context-copyaudiourl"
michael@0 160 label="&copyAudioURLCmd.label;"
michael@0 161 accesskey="&copyAudioURLCmd.accesskey;"
michael@0 162 oncommand="gContextMenu.copyMediaLocation();"/>
michael@0 163 <menuseparator id="context-sep-copyimage"/>
michael@0 164 <menuitem id="context-saveimage"
michael@0 165 label="&saveImageCmd.label;"
michael@0 166 accesskey="&saveImageCmd.accesskey;"
michael@0 167 oncommand="gContextMenu.saveMedia();"/>
michael@0 168 <menuitem id="context-shareimage"
michael@0 169 label="&shareImageCmd.label;"
michael@0 170 accesskey="&shareImageCmd.accesskey;"
michael@0 171 oncommand="gContextMenu.shareImage();"/>
michael@0 172 <menuitem id="context-sendimage"
michael@0 173 label="&emailImageCmd.label;"
michael@0 174 accesskey="&emailImageCmd.accesskey;"
michael@0 175 oncommand="gContextMenu.sendMedia();"/>
michael@0 176 <menuitem id="context-setDesktopBackground"
michael@0 177 label="&setDesktopBackgroundCmd.label;"
michael@0 178 accesskey="&setDesktopBackgroundCmd.accesskey;"
michael@0 179 oncommand="gContextMenu.setDesktopBackground();"/>
michael@0 180 <menuitem id="context-viewimageinfo"
michael@0 181 label="&viewImageInfoCmd.label;"
michael@0 182 accesskey="&viewImageInfoCmd.accesskey;"
michael@0 183 oncommand="gContextMenu.viewImageInfo();"/>
michael@0 184 <menuitem id="context-viewimagedesc"
michael@0 185 label="&viewImageDescCmd.label;"
michael@0 186 accesskey="&viewImageDescCmd.accesskey;"
michael@0 187 oncommand="gContextMenu.viewImageDesc(event);"
michael@0 188 onclick="checkForMiddleClick(this, event);"/>
michael@0 189 <menuitem id="context-savevideo"
michael@0 190 label="&saveVideoCmd.label;"
michael@0 191 accesskey="&saveVideoCmd.accesskey;"
michael@0 192 oncommand="gContextMenu.saveMedia();"/>
michael@0 193 <menuitem id="context-sharevideo"
michael@0 194 label="&shareVideoCmd.label;"
michael@0 195 accesskey="&shareVideoCmd.accesskey;"
michael@0 196 oncommand="gContextMenu.shareVideo();"/>
michael@0 197 <menuitem id="context-saveaudio"
michael@0 198 label="&saveAudioCmd.label;"
michael@0 199 accesskey="&saveAudioCmd.accesskey;"
michael@0 200 oncommand="gContextMenu.saveMedia();"/>
michael@0 201 <menuitem id="context-video-saveimage"
michael@0 202 accesskey="&videoSaveImage.accesskey;"
michael@0 203 label="&videoSaveImage.label;"
michael@0 204 oncommand="gContextMenu.saveVideoFrameAsImage();"/>
michael@0 205 <menuitem id="context-sendvideo"
michael@0 206 label="&emailVideoCmd.label;"
michael@0 207 accesskey="&emailVideoCmd.accesskey;"
michael@0 208 oncommand="gContextMenu.sendMedia();"/>
michael@0 209 <menuitem id="context-sendaudio"
michael@0 210 label="&emailAudioCmd.label;"
michael@0 211 accesskey="&emailAudioCmd.accesskey;"
michael@0 212 oncommand="gContextMenu.sendMedia();"/>
michael@0 213 <menuitem id="context-ctp-play"
michael@0 214 label="&playPluginCmd.label;"
michael@0 215 accesskey="&playPluginCmd.accesskey;"
michael@0 216 oncommand="gContextMenu.playPlugin();"/>
michael@0 217 <menuitem id="context-ctp-hide"
michael@0 218 label="&hidePluginCmd.label;"
michael@0 219 accesskey="&hidePluginCmd.accesskey;"
michael@0 220 oncommand="gContextMenu.hidePlugin();"/>
michael@0 221 <menuseparator id="context-sep-ctp"/>
michael@0 222 <menuitem id="context-back"
michael@0 223 label="&backCmd.label;"
michael@0 224 accesskey="&backCmd.accesskey;"
michael@0 225 command="Browser:BackOrBackDuplicate"
michael@0 226 onclick="checkForMiddleClick(this, event);"/>
michael@0 227 <menuitem id="context-forward"
michael@0 228 label="&forwardCmd.label;"
michael@0 229 accesskey="&forwardCmd.accesskey;"
michael@0 230 command="Browser:ForwardOrForwardDuplicate"
michael@0 231 onclick="checkForMiddleClick(this, event);"/>
michael@0 232 <menuitem id="context-reload"
michael@0 233 label="&reloadCmd.label;"
michael@0 234 accesskey="&reloadCmd.accesskey;"
michael@0 235 oncommand="gContextMenu.reload(event);"
michael@0 236 onclick="checkForMiddleClick(this, event);"/>
michael@0 237 <menuitem id="context-stop"
michael@0 238 label="&stopCmd.label;"
michael@0 239 accesskey="&stopCmd.accesskey;"
michael@0 240 command="Browser:Stop"/>
michael@0 241 <menuseparator id="context-sep-stop"/>
michael@0 242 <menuitem id="context-bookmarkpage"
michael@0 243 label="&bookmarkPageCmd2.label;"
michael@0 244 accesskey="&bookmarkPageCmd2.accesskey;"
michael@0 245 oncommand="gContextMenu.bookmarkThisPage();"/>
michael@0 246 <menuitem id="context-sharepage"
michael@0 247 label="&sharePageCmd.label;"
michael@0 248 accesskey="&sharePageCmd.accesskey;"
michael@0 249 oncommand="SocialShare.sharePage();"/>
michael@0 250 <menuitem id="context-savepage"
michael@0 251 label="&savePageCmd.label;"
michael@0 252 accesskey="&savePageCmd.accesskey2;"
michael@0 253 oncommand="gContextMenu.savePageAs();"/>
michael@0 254 <menu id="context-markpageMenu" label="&social.markpageMenu.label;"
michael@0 255 accesskey="&social.markpageMenu.accesskey;">
michael@0 256 <menupopup/>
michael@0 257 </menu>
michael@0 258 <menuseparator id="context-sep-viewbgimage"/>
michael@0 259 <menuitem id="context-viewbgimage"
michael@0 260 label="&viewBGImageCmd.label;"
michael@0 261 accesskey="&viewBGImageCmd.accesskey;"
michael@0 262 oncommand="gContextMenu.viewBGImage(event);"
michael@0 263 onclick="checkForMiddleClick(this, event);"/>
michael@0 264 <menuitem id="context-undo"
michael@0 265 label="&undoCmd.label;"
michael@0 266 accesskey="&undoCmd.accesskey;"
michael@0 267 command="cmd_undo"/>
michael@0 268 <menuseparator id="context-sep-undo"/>
michael@0 269 <menuitem id="context-cut"
michael@0 270 label="&cutCmd.label;"
michael@0 271 accesskey="&cutCmd.accesskey;"
michael@0 272 command="cmd_cut"/>
michael@0 273 <menuitem id="context-copy"
michael@0 274 label="&copyCmd.label;"
michael@0 275 accesskey="&copyCmd.accesskey;"
michael@0 276 command="cmd_copy"/>
michael@0 277 <menuitem id="context-paste"
michael@0 278 label="&pasteCmd.label;"
michael@0 279 accesskey="&pasteCmd.accesskey;"
michael@0 280 command="cmd_paste"/>
michael@0 281 <menuitem id="context-delete"
michael@0 282 label="&deleteCmd.label;"
michael@0 283 accesskey="&deleteCmd.accesskey;"
michael@0 284 command="cmd_delete"/>
michael@0 285 <menuseparator id="context-sep-paste"/>
michael@0 286 <menuitem id="context-selectall"
michael@0 287 label="&selectAllCmd.label;"
michael@0 288 accesskey="&selectAllCmd.accesskey;"
michael@0 289 command="cmd_selectAll"/>
michael@0 290 <menuseparator id="context-sep-selectall"/>
michael@0 291 <menuitem id="context-keywordfield"
michael@0 292 label="&keywordfield.label;"
michael@0 293 accesskey="&keywordfield.accesskey;"
michael@0 294 oncommand="AddKeywordForSearchField();"/>
michael@0 295 <menuitem id="context-searchselect"
michael@0 296 oncommand="BrowserSearch.loadSearchFromContext(this.searchTerms);"/>
michael@0 297 <menuitem id="context-shareselect"
michael@0 298 label="&shareSelectCmd.label;"
michael@0 299 accesskey="&shareSelectCmd.accesskey;"
michael@0 300 oncommand="gContextMenu.shareSelect(getBrowserSelection());"/>
michael@0 301 <menuseparator id="frame-sep"/>
michael@0 302 <menu id="frame" label="&thisFrameMenu.label;" accesskey="&thisFrameMenu.accesskey;">
michael@0 303 <menupopup>
michael@0 304 <menuitem id="context-showonlythisframe"
michael@0 305 label="&showOnlyThisFrameCmd.label;"
michael@0 306 accesskey="&showOnlyThisFrameCmd.accesskey;"
michael@0 307 oncommand="gContextMenu.showOnlyThisFrame();"/>
michael@0 308 <menuitem id="context-openframeintab"
michael@0 309 label="&openFrameCmdInTab.label;"
michael@0 310 accesskey="&openFrameCmdInTab.accesskey;"
michael@0 311 oncommand="gContextMenu.openFrameInTab();"/>
michael@0 312 <menuitem id="context-openframe"
michael@0 313 label="&openFrameCmd.label;"
michael@0 314 accesskey="&openFrameCmd.accesskey;"
michael@0 315 oncommand="gContextMenu.openFrame();"/>
michael@0 316 <menuseparator id="open-frame-sep"/>
michael@0 317 <menuitem id="context-reloadframe"
michael@0 318 label="&reloadFrameCmd.label;"
michael@0 319 accesskey="&reloadFrameCmd.accesskey;"
michael@0 320 oncommand="gContextMenu.reloadFrame();"/>
michael@0 321 <menuseparator/>
michael@0 322 <menuitem id="context-bookmarkframe"
michael@0 323 label="&bookmarkThisFrameCmd.label;"
michael@0 324 accesskey="&bookmarkThisFrameCmd.accesskey;"
michael@0 325 oncommand="gContextMenu.addBookmarkForFrame();"/>
michael@0 326 <menuitem id="context-saveframe"
michael@0 327 label="&saveFrameCmd.label;"
michael@0 328 accesskey="&saveFrameCmd.accesskey;"
michael@0 329 oncommand="gContextMenu.saveFrame();"/>
michael@0 330 <menuseparator/>
michael@0 331 <menuitem id="context-printframe"
michael@0 332 label="&printFrameCmd.label;"
michael@0 333 accesskey="&printFrameCmd.accesskey;"
michael@0 334 oncommand="gContextMenu.printFrame();"/>
michael@0 335 <menuseparator/>
michael@0 336 <menuitem id="context-viewframesource"
michael@0 337 label="&viewFrameSourceCmd.label;"
michael@0 338 accesskey="&viewFrameSourceCmd.accesskey;"
michael@0 339 oncommand="gContextMenu.viewFrameSource();"
michael@0 340 observes="isFrameImage"/>
michael@0 341 <menuitem id="context-viewframeinfo"
michael@0 342 label="&viewFrameInfoCmd.label;"
michael@0 343 accesskey="&viewFrameInfoCmd.accesskey;"
michael@0 344 oncommand="gContextMenu.viewFrameInfo();"/>
michael@0 345 </menupopup>
michael@0 346 </menu>
michael@0 347 <menuitem id="context-viewpartialsource-selection"
michael@0 348 label="&viewPartialSourceForSelectionCmd.label;"
michael@0 349 accesskey="&viewPartialSourceCmd.accesskey;"
michael@0 350 oncommand="gContextMenu.viewPartialSource('selection');"
michael@0 351 observes="isImage"/>
michael@0 352 <menuitem id="context-viewpartialsource-mathml"
michael@0 353 label="&viewPartialSourceForMathMLCmd.label;"
michael@0 354 accesskey="&viewPartialSourceCmd.accesskey;"
michael@0 355 oncommand="gContextMenu.viewPartialSource('mathml');"
michael@0 356 observes="isImage"/>
michael@0 357 <menuseparator id="context-sep-viewsource"/>
michael@0 358 <menuitem id="context-viewsource"
michael@0 359 label="&viewPageSourceCmd.label;"
michael@0 360 accesskey="&viewPageSourceCmd.accesskey;"
michael@0 361 oncommand="BrowserViewSourceOfDocument(gContextMenu.browser.contentDocument);"
michael@0 362 observes="isImage"/>
michael@0 363 <menuitem id="context-viewinfo"
michael@0 364 label="&viewPageInfoCmd.label;"
michael@0 365 accesskey="&viewPageInfoCmd.accesskey;"
michael@0 366 oncommand="gContextMenu.viewInfo();"/>
michael@0 367 <menuseparator id="spell-separator"/>
michael@0 368 <menuitem id="spell-check-enabled"
michael@0 369 label="&spellCheckToggle.label;"
michael@0 370 type="checkbox"
michael@0 371 accesskey="&spellCheckToggle.accesskey;"
michael@0 372 oncommand="InlineSpellCheckerUI.toggleEnabled();"/>
michael@0 373 <menuitem id="spell-add-dictionaries-main"
michael@0 374 label="&spellAddDictionaries.label;"
michael@0 375 accesskey="&spellAddDictionaries.accesskey;"
michael@0 376 oncommand="gContextMenu.addDictionaries();"/>
michael@0 377 <menu id="spell-dictionaries"
michael@0 378 label="&spellDictionaries.label;"
michael@0 379 accesskey="&spellDictionaries.accesskey;">
michael@0 380 <menupopup id="spell-dictionaries-menu">
michael@0 381 <menuseparator id="spell-language-separator"/>
michael@0 382 <menuitem id="spell-add-dictionaries"
michael@0 383 label="&spellAddDictionaries.label;"
michael@0 384 accesskey="&spellAddDictionaries.accesskey;"
michael@0 385 oncommand="gContextMenu.addDictionaries();"/>
michael@0 386 </menupopup>
michael@0 387 </menu>
michael@0 388 <menuseparator hidden="true" id="context-sep-bidi"/>
michael@0 389 <menuitem hidden="true" id="context-bidi-text-direction-toggle"
michael@0 390 label="&bidiSwitchTextDirectionItem.label;"
michael@0 391 accesskey="&bidiSwitchTextDirectionItem.accesskey;"
michael@0 392 command="cmd_switchTextDirection"/>
michael@0 393 <menuitem hidden="true" id="context-bidi-page-direction-toggle"
michael@0 394 label="&bidiSwitchPageDirectionItem.label;"
michael@0 395 accesskey="&bidiSwitchPageDirectionItem.accesskey;"
michael@0 396 oncommand="gContextMenu.switchPageDirection();"/>
michael@0 397 <menuseparator id="inspect-separator" hidden="true"/>
michael@0 398 <menuitem id="context-inspect"
michael@0 399 hidden="true"
michael@0 400 label="&inspectContextMenu.label;"
michael@0 401 accesskey="&inspectContextMenu.accesskey;"
michael@0 402 oncommand="gContextMenu.inspectNode();"/>

mercurial