Bug 1883912: Enable Intl.ListFormat test for "unit" style. r=spidermonkey-reviewers...
[gecko.git] / editor / nsIHTMLObjectResizer.idl
blob120fa06b845273a8dee44e1fce0b07dded0fcd01
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
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"
7 #include "domstubs.idl"
9 webidl Element;
11 [scriptable, builtinclass, uuid(8b396020-69d3-451f-80c1-1a96a7da25a9)]
12 interface nsIHTMLObjectResizer : nsISupports
14 %{C++
15 typedef short EResizerLocation;
17 const short eTopLeft = 0;
18 const short eTop = 1;
19 const short eTopRight = 2;
20 const short eLeft = 3;
21 const short eRight = 4;
22 const short eBottomLeft = 5;
23 const short eBottom = 6;
24 const short eBottomRight = 7;
26 /**
27 * a boolean indicating if object resizing is enabled in the editor
29 [setter_can_run_script]
30 attribute boolean objectResizingEnabled;
32 /**
33 * Hide resizers if they are visible. If this is called while there is no
34 * visible resizers, this does not throw exception, just does nothing.
36 void hideResizers();