зеркало из https://github.com/mozilla/gecko-dev.git
52 строки
1.5 KiB
Plaintext
52 строки
1.5 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 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>
|
|
* Dean Tessman <dean_tessman@hotmail.com>
|
|
*/
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
interface nsIWidget;
|
|
|
|
[uuid(23C2BA03-6C76-11d3-96ED-0060B0FB9956)]
|
|
interface nsIRollupListener : nsISupports
|
|
{
|
|
/**
|
|
* Notifies the object to rollup
|
|
* @result NS_Ok if no errors
|
|
*/
|
|
void Rollup();
|
|
|
|
/**
|
|
* Asks the RollupListener if it should rollup on mousevents
|
|
* @result NS_Ok if no errors
|
|
*/
|
|
void ShouldRollupOnMouseWheelEvent(out PRBool aShould);
|
|
|
|
/**
|
|
* Asks the RollupListener if it should rollup on mouse activate, eg. X-Mouse
|
|
* @result NS_Ok if no errors
|
|
*/
|
|
void ShouldRollupOnMouseActivate(out PRBool aShould);
|
|
|
|
};
|