Bumping manifests a=b2g-bump
[gecko.git] / widget / nsITaskbarPreviewButton.idl
blob800d0bc208c8ae21fe920e51d75665c0edbc5690
1 /* vim: se cin sw=2 ts=2 et : */
2 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 #include "nsISupports.idl"
10 interface imgIContainer;
12 /**
13 * nsITaskbarPreviewButton
15 * Provides access to a window preview's toolbar button's properties.
17 [scriptable, uuid(CED8842D-FE37-4767-9A8E-FDFA56510C75)]
18 interface nsITaskbarPreviewButton : nsISupports
20 /**
21 * The button's tooltip.
23 * Default: an empty string
25 attribute DOMString tooltip;
27 /**
28 * True if the array of previews should be dismissed when this button is clicked.
30 * Default: false
32 attribute boolean dismissOnClick;
34 /**
35 * True if the taskbar should draw a border around this button's image.
37 * Default: true
39 attribute boolean hasBorder;
41 /**
42 * True if the button is disabled. This is not the same as visible.
44 * Default: false
46 attribute boolean disabled;
48 /**
49 * The icon used for the button.
51 * Default: null
53 attribute imgIContainer image;
55 /**
56 * True if the button is shown. Buttons that are invisible do not
57 * participate in the layout of buttons underneath the preview.
59 * Default: false
61 attribute boolean visible;