/* 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/. */ "use strict"; // This is loaded into all XUL windows. Wrap in a block to prevent // leaking to window scope. { const { AppConstants } = ChromeUtils.importESModule( "resource://gre/modules/AppConstants.sys.mjs" ); // For the non-native context menu styling, we need to know if we need a // gutter for checkboxes or icons. On linux any checkbox / radio / icon // requires a gutter. On Windows, only checked items do. On macOS, we also // need selected to deal with the menulists (like `