зеркало из https://github.com/mozilla/pjs.git
Bug 29856. Support SetWindowClass in GTK2, checking in additional files
This commit is contained in:
Родитель
7c6a6b6571
Коммит
200c507dbf
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче