mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 497858: Clean up Qt's nsWindow, r=mfinkle
This commit is contained in:
parent
3b16d55bd2
commit
5c677c629b
File diff suppressed because it is too large
Load Diff
@ -49,15 +49,8 @@
|
|||||||
|
|
||||||
#include "nsWeakReference.h"
|
#include "nsWeakReference.h"
|
||||||
|
|
||||||
#include "nsIDragService.h"
|
|
||||||
#include "nsITimer.h"
|
|
||||||
#include "nsWidgetAtoms.h"
|
#include "nsWidgetAtoms.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef Q_WS_X11
|
|
||||||
#include <QX11Info>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef MOZ_LOGGING
|
#ifdef MOZ_LOGGING
|
||||||
|
|
||||||
// make sure that logging is enabled before including prlog.h
|
// make sure that logging is enabled before including prlog.h
|
||||||
@ -209,7 +202,6 @@ public:
|
|||||||
|
|
||||||
void QWidgetDestroyed();
|
void QWidgetDestroyed();
|
||||||
|
|
||||||
|
|
||||||
/***** from CommonWidget *****/
|
/***** from CommonWidget *****/
|
||||||
|
|
||||||
// event handling code
|
// event handling code
|
||||||
@ -256,7 +248,7 @@ protected:
|
|||||||
* Event handlers (proxied from the actual qwidget).
|
* Event handlers (proxied from the actual qwidget).
|
||||||
* They follow normal Qt widget semantics.
|
* They follow normal Qt widget semantics.
|
||||||
*/
|
*/
|
||||||
void Initialize(QWidget *widget);
|
void Initialize(MozQWidget *widget);
|
||||||
friend class nsQtEventDispatcher;
|
friend class nsQtEventDispatcher;
|
||||||
friend class InterceptContainer;
|
friend class InterceptContainer;
|
||||||
friend class MozQWidget;
|
friend class MozQWidget;
|
||||||
@ -333,10 +325,9 @@ private:
|
|||||||
void SetDefaultIcon(void);
|
void SetDefaultIcon(void);
|
||||||
void InitButtonEvent(nsMouseEvent &event, QMouseEvent *aEvent, int aClickCount = 1);
|
void InitButtonEvent(nsMouseEvent &event, QMouseEvent *aEvent, int aClickCount = 1);
|
||||||
PRBool DispatchCommandEvent(nsIAtom* aCommand);
|
PRBool DispatchCommandEvent(nsIAtom* aCommand);
|
||||||
QWidget *createQWidget(QWidget *parent, nsWidgetInitData *aInitData);
|
MozQWidget *createQWidget(QWidget *parent, nsWidgetInitData *aInitData);
|
||||||
|
|
||||||
QWidget *mDrawingArea;
|
MozQWidget * mWidget;
|
||||||
MozQWidget *mMozQWidget;
|
|
||||||
|
|
||||||
PRUint32 mIsVisible : 1,
|
PRUint32 mIsVisible : 1,
|
||||||
mActivatePending : 1;
|
mActivatePending : 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user