Bug 29856. Support SetWindowClass in GTK2, checking in additional files

This commit is contained in:
roc+%cs.cmu.edu 2006-04-09 23:14:25 +00:00
Родитель 7c6a6b6571
Коммит 200c507dbf
3 изменённых файлов: 6 добавлений и 17 удалений

Просмотреть файл

@ -980,16 +980,9 @@ class nsIWidget : public nsISupports {
NS_IMETHOD CaptureMouse(PRBool aCapture) = 0;
/**
* Gets the window class
* implemented in gtk
* Classify the window for the window manager. Mostly for X11.
*/
NS_IMETHOD GetWindowClass(char *aClass) = 0;
/**
* Sets the window class
* implemented in gtk
*/
NS_IMETHOD SetWindowClass(char *aClass) = 0;
NS_IMETHOD SetWindowClass(const nsAString& aName, const nsAString& xulWinType) = 0;
/**
* Enables/Disables system capture of any and all events that would cause a

Просмотреть файл

@ -702,12 +702,8 @@ void nsBaseWidget::OnDestroy()
mAppShell = nsnull; // clear out nsCOMPtr
}
NS_METHOD nsBaseWidget::GetWindowClass(char *aClass)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_METHOD nsBaseWidget::SetWindowClass(char *aClass)
NS_METHOD nsBaseWidget::SetWindowClass(const nsAString& aName,
const nsAString& xulWinType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}

Просмотреть файл

@ -116,8 +116,8 @@ public:
NS_IMETHOD SetModal(PRBool aModal);
NS_IMETHOD ModalEventFilter(PRBool aRealEvent, void *aEvent,
PRBool *aForWindow);
NS_IMETHOD GetWindowClass(char *aClass);
NS_IMETHOD SetWindowClass(char *aClass);
NS_IMETHOD SetWindowClass(const nsAString& aName,
const nsAString& xulWinType);
NS_IMETHOD SetBorderStyle(nsBorderStyle aBorderStyle);
NS_IMETHOD AddMouseListener(nsIMouseListener * aListener);
NS_IMETHOD AddEventListener(nsIEventListener * aListener);