mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 16:22:53 +00:00
51 lines
1.6 KiB
Plaintext
51 lines
1.6 KiB
Plaintext
![]() |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||
|
*
|
||
|
* The contents of this file are subject to the Mozilla Public
|
||
|
* License Version 1.1 (the "License"); you may not use this file
|
||
|
* except in compliance with the License. You may obtain a copy of
|
||
|
* the License at http://www.mozilla.org/MPL/
|
||
|
*
|
||
|
* Software distributed under the License is distributed on an "AS
|
||
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||
|
* implied. See the License for the specific language governing
|
||
|
* rights and limitations under the License.
|
||
|
*
|
||
|
* The Original Code is Mozilla Communicator.
|
||
|
*
|
||
|
* The Initial Developer of the Original Code is Netscape Communications
|
||
|
* Corp. Portions created by Netscape are Copyright (C) 1999 Netscape
|
||
|
* Communications Corp. All Rights Reserved.
|
||
|
*
|
||
|
* Contributor(s):
|
||
|
* Mike Pinkerton
|
||
|
*/
|
||
|
|
||
|
#include "nsISupports.idl"
|
||
|
|
||
|
/**
|
||
|
* nsIDragTracker
|
||
|
*
|
||
|
* An interface used with the drag service/session to be notified
|
||
|
* when a drag is over or out of its window. This allows an object to,
|
||
|
* for example, grab the mouse until and be told when it should stop.
|
||
|
*
|
||
|
* When the joyride is over, the Drag Session calls |stopTracking()|
|
||
|
* to alert the object that it should stop watching.
|
||
|
*
|
||
|
* @author Mike Pinkerton <pinkerton@netscape.com>
|
||
|
* @version 1.1
|
||
|
* @see nsIDragService
|
||
|
* @see nsIDragSession
|
||
|
*/
|
||
|
|
||
|
[scriptable, uuid(6572722c-1dd2-11b2-a716-d512629216b1)]
|
||
|
interface nsIDragTracker : nsISupports
|
||
|
{
|
||
|
/**
|
||
|
* Call to tell the object that is tracking the drag that it
|
||
|
* can forget about it (mouse left the window or the drop completed).
|
||
|
*/
|
||
|
void stopTracking();
|
||
|
|
||
|
};
|