Bumping manifests a=b2g-bump
[gecko.git] / editor / nsIHTMLObjectResizeListener.idl
blob0b350392671ef457e03ffd8496555fcbbb508fa1
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, uuid(27b00295-349c-429f-ad0c-87b859e77130)]
11 interface nsIHTMLObjectResizeListener : nsISupports
13 /**
14 * Listener's callback called by the editor when the user
15 * starts resizing an element
16 * @param aElement [IN] the element
18 void onStartResizing(in nsIDOMElement aElement);
20 /**
21 * Listener's callback called by the editor when the user
22 * has finalized the resizing of an element
23 * @param aElement [IN] the element that was resized
24 * @param aOldWidth [IN] the width of the element before resizing
25 * @param aOldHeight [IN] the height of the element before resizing
26 * @param aNewWidth [IN] the width of the element after resizing
27 * @param aNewHeight [IN] the height of the element after resizing
29 void onEndResizing(in nsIDOMElement aElement,
30 in long aOldWidth, in long aOldHeight,
31 in long aNewWidth, in long aNewHeight);