Bug 1431441 - Part 6 - Start middleman WebReplay process sandbox later r=Alex_Gaynor
[gecko.git] / editor / nsIHTMLAbsPosEditor.idl
blob53a3b0a908297863ad00161cdb2c073ab0912e43
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 [scriptable, builtinclass, uuid(91375f52-20e6-4757-9835-eb04fabe5498)]
10 interface nsIHTMLAbsPosEditor : nsISupports
12 /**
13 * true if Absolute Positioning handling is enabled in the editor
15 attribute boolean absolutePositioningEnabled;
18 /* Utility methods */
20 /**
21 * true if Snap To Grid is enabled in the editor.
23 attribute boolean snapToGridEnabled;
25 /**
26 * sets the grid size in pixels.
27 * @param aSizeInPixels [IN] the size of the grid in pixels
29 attribute unsigned long gridSize;
31 /* Other */
33 /**
34 * refreshes the grabber if it shown, possibly updating its position or
35 * even hiding it.
36 * FYI: Current user in script is only BlueGriffon.
38 void refreshGrabber();