Bug 1508381 - remove now-unnecessary TASKCLUSTER_* variables r=tomprince
[gecko.git] / editor / nsIHTMLObjectResizer.idl
blob54f863d51f4dea87c375c2ae88ed5b888134ab5c
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 attribute boolean objectResizingEnabled;
31 /**
32 * Hide resizers if they are visible. If this is called while there is no
33 * visible resizers, this does not throw exception, just does nothing.
35 void hideResizers();
37 /**
38 * Refresh positions of resizers. If you change size of target of resizers,
39 * you need to refresh position of resizers with calling this.
40 * FYI: Current user in script is only BlueGriffon.
42 void refreshResizers();