1/* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5#include "nsISupports.idl" 6 7[scriptable, uuid(C8379366-F79F-4D25-89A6-22BEC0A93D16)] 8interface nsIRemoteBrowser : nsISupports 9{ 10 /* 11 * Called by the child to inform the parent that a command update has occurred 12 * and the supplied set of commands are now enabled and disabled. 13 * 14 * @param action command updater action 15 * @param enabledLength length of enabledCommands array 16 * @param enabledCommands commands to enable 17 * @param disabledLength length of disabledCommands array 18 * @param disabledCommand commands to disable 19 */ 20 void enableDisableCommands(in AString action, 21 in unsigned long enabledLength, 22 [array, size_is(enabledLength)] in string enabledCommands, 23 in unsigned long disabledLength, 24 [array, size_is(disabledLength)] in string disabledCommands); 25}; 26