gecko-dev/browser/base/content/browser-charsetmenu.inc
Neil Rashbrook b15efc9c98 Bug 956657 Share more charset menu code between the view source window and the browser r=Unfocused
--HG--
extra : rebase_source : 7fd31cfc4b8eefee38fa06e63351cc207a9208db
2014-02-23 18:28:04 +00:00

20 lines
646 B
PHP

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
<menu id="charsetMenu"
label="&charsetMenu.label;"
#ifndef OMIT_ACCESSKEYS
accesskey="&charsetMenu.accesskey;"
#endif
oncommand="BrowserSetForcedCharacterSet(event.target.getAttribute('charset'));"
#ifdef OMIT_ACCESSKEYS
onpopupshowing="CharsetMenu.build(event.target, false);"
#else
onpopupshowing="CharsetMenu.build(event.target);"
#endif
onpopupshown="UpdateCurrentCharset(this);">
<menupopup>
</menupopup>
</menu>