зеркало из https://github.com/mozilla/gecko-dev.git
Get rid of obsolete interfaces.
This commit is contained in:
Родитель
3b684ee62d
Коммит
0e730c41fe
|
@ -25,9 +25,6 @@
|
|||
|
||||
class nsIWidget;
|
||||
class nsIThrobber;
|
||||
#if GRIPPYS_NOT_WIDGETS
|
||||
class nsIToolbarManager;
|
||||
#endif
|
||||
class nsIToolbarItem;
|
||||
|
||||
// deb24690-35f8-11d2-9248-00805f8a7ab6
|
||||
|
@ -124,20 +121,6 @@ public:
|
|||
*/
|
||||
NS_IMETHOD SetNextLastItemIsStretchy(const PRBool & aState) = 0;
|
||||
|
||||
#if GRIPPYS_NOT_WIDGETS
|
||||
/**
|
||||
* Sets the Toolbar manager for this toolbar
|
||||
*
|
||||
*/
|
||||
NS_IMETHOD SetToolbarManager(nsIToolbarManager * aToolbarManager) = 0;
|
||||
|
||||
/**
|
||||
* Gets the Toolbar manager for this toolbar
|
||||
*
|
||||
*/
|
||||
NS_IMETHOD GetToolbarManager(nsIToolbarManager *& aToolbarManager) = 0;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Tells the toolbar to draw the border on all 4 sides, instead of just top and bottom
|
||||
*
|
||||
|
@ -177,14 +160,6 @@ public:
|
|||
const nsRect& aDirtyRect) = 0;
|
||||
|
||||
|
||||
#if GRIPPYS_NOT_WIDGETS
|
||||
/**
|
||||
* Create a Tab on this toolbar
|
||||
*
|
||||
*/
|
||||
NS_IMETHOD CreateTab(nsIWidget *& aTab) = 0;
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#endif /* nsIToolbar_h___ */
|
||||
|
|
|
@ -59,30 +59,12 @@ public:
|
|||
*/
|
||||
NS_IMETHOD GetToolbarAt(nsIToolbar*& aToolbar, PRInt32 anIndex) = 0;
|
||||
|
||||
/**
|
||||
* Get a toolbar to the toolbar manager
|
||||
*
|
||||
*/
|
||||
NS_IMETHOD GetTabIndex(nsIImageButton * aTab, PRInt32 &anIndex) = 0;
|
||||
|
||||
/**
|
||||
* Forces the toolbar manager to layout
|
||||
*
|
||||
*/
|
||||
NS_IMETHOD DoLayout() = 0;
|
||||
|
||||
/**
|
||||
* Tells the Toolbar manager to Collapse the toolbar
|
||||
*
|
||||
*/
|
||||
NS_IMETHOD CollapseToolbar(nsIToolbar * aToolbar) = 0;
|
||||
|
||||
/**
|
||||
* Tells the Toolbar manager to Expand the toolbar
|
||||
*
|
||||
*/
|
||||
NS_IMETHOD ExpandToolbar(nsIToolbar * aToolbar) = 0;
|
||||
|
||||
/**
|
||||
* Adds a Listener to the toolbar manager
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче