Bug 29856. Support SetWindowClass in GTK2, checking in additional files
git-svn-id: svn://10.0.0.236/trunk@193975 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user