mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 02:47:31 +09:00
Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK
This commit is contained in:
parent
cd1c94480d
commit
564f1026d5
32 changed files with 4811 additions and 4 deletions
|
|
@ -35,6 +35,8 @@
|
|||
|
||||
#include "IMContextWrapper.h"
|
||||
|
||||
#include "nsMenuBar.h"
|
||||
|
||||
#undef LOG
|
||||
#ifdef MOZ_LOGGING
|
||||
|
||||
|
|
@ -162,6 +164,8 @@ public:
|
|||
nsIScreen* aTargetScreen = nullptr) override;
|
||||
NS_IMETHOD HideWindowChrome(bool aShouldHide) override;
|
||||
|
||||
void SetMenuBar(mozilla::UniquePtr<nsMenuBar> aMenuBar);
|
||||
|
||||
/**
|
||||
* GetLastUserInputTime returns a timestamp for the most recent user input
|
||||
* event. This is intended for pointer grab requests (including drags).
|
||||
|
|
@ -569,6 +573,8 @@ private:
|
|||
RefPtr<mozilla::widget::IMContextWrapper> mIMContext;
|
||||
|
||||
mozilla::UniquePtr<mozilla::CurrentX11TimeGetter> mCurrentTimeGetter;
|
||||
|
||||
mozilla::UniquePtr<nsMenuBar> mMenuBar;
|
||||
};
|
||||
|
||||
class nsChildWindow : public nsWindow {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue