Bug 1851451 [wpt PR 41799] - Fix WPT CSS Counters test, a=testonly
[gecko.git] / dom / xul / nsIBrowserController.idl
blob5a7b77529bd8464667310d2a5b84f6fc9b07aa95
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsISupports.idl"
8 /**
9 * This interface is used to accompany the nsIController for a
10 * <browser> element. It is used to update the commands in the
11 * parent process when the set of child command have changed.
13 [scriptable, uuid(5bb3d56b-e733-4a2c-8a53-058123df65e2)]
14 interface nsIBrowserController : nsISupports
16 // Update the commands for a given action in the parent process.
17 void enableDisableCommands(in AString action,
18 in Array<ACString> enabledCommands,
19 in Array<ACString> disabledCommands);