1999-10-01 12:19:08 +04:00
|
|
|
/* -*- 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 the Mozilla browser.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
|
|
|
* Communications Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 1999 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
* Rod Spears <rods@netscape.com>
|
|
|
|
* Stuart Parmenter <pavlov@netscape.com>
|
2001-12-11 09:16:07 +03:00
|
|
|
* Dean Tessman <dean_tessman@hotmail.com>
|
1999-10-01 12:19:08 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
2000-05-13 00:23:04 +04:00
|
|
|
interface nsIWidget;
|
|
|
|
|
1999-10-01 12:19:08 +04:00
|
|
|
[uuid(23C2BA03-6C76-11d3-96ED-0060B0FB9956)]
|
|
|
|
interface nsIRollupListener : nsISupports
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Notifies the object to rollup
|
|
|
|
* @result NS_Ok if no errors
|
|
|
|
*/
|
|
|
|
void Rollup();
|
2000-05-13 00:23:04 +04:00
|
|
|
|
|
|
|
/**
|
2001-12-11 09:16:07 +03:00
|
|
|
* Asks the RollupListener if it should rollup on mousevents
|
2000-05-13 00:23:04 +04:00
|
|
|
* @result NS_Ok if no errors
|
|
|
|
*/
|
|
|
|
void ShouldRollupOnMouseWheelEvent(out PRBool aShould);
|
|
|
|
|
2001-12-11 09:16:07 +03:00
|
|
|
/**
|
|
|
|
* Asks the RollupListener if it should rollup on mouse activate, eg. X-Mouse
|
|
|
|
* @result NS_Ok if no errors
|
|
|
|
*/
|
|
|
|
void ShouldRollupOnMouseActivate(out PRBool aShould);
|
|
|
|
|
1999-10-01 12:19:08 +04:00
|
|
|
};
|