diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-11-01 20:16:11 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-11-01 20:16:11 +0100 |
commit | e0de8181d9d51cff079f9b54fd6fa276d6aeb094 (patch) | |
tree | 260dea667bc815c9e80543faf6c50a1bf85f4916 /widget/windows/InProcessWinCompositorWidget.h | |
parent | 24a83a813641a6500e91f9fcf1ea3ca0aecc047a (diff) | |
download | UXP-e0de8181d9d51cff079f9b54fd6fa276d6aeb094.tar UXP-e0de8181d9d51cff079f9b54fd6fa276d6aeb094.tar.gz UXP-e0de8181d9d51cff079f9b54fd6fa276d6aeb094.tar.lz UXP-e0de8181d9d51cff079f9b54fd6fa276d6aeb094.tar.xz UXP-e0de8181d9d51cff079f9b54fd6fa276d6aeb094.zip |
Protect main thread in-process access to WinCompositorWidget transparent surface.
Diffstat (limited to 'widget/windows/InProcessWinCompositorWidget.h')
-rw-r--r-- | widget/windows/InProcessWinCompositorWidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widget/windows/InProcessWinCompositorWidget.h b/widget/windows/InProcessWinCompositorWidget.h index 2ce6ba0be..afe5a7f53 100644 --- a/widget/windows/InProcessWinCompositorWidget.h +++ b/widget/windows/InProcessWinCompositorWidget.h @@ -22,6 +22,10 @@ class InProcessWinCompositorWidget final : public WinCompositorWidget public: InProcessWinCompositorWidget(const CompositorWidgetInitData& aInitData, nsWindow* aWindow); + void OnDestroyWindow() override; + void UpdateTransparency(nsTransparencyMode aMode) override; + void ClearTransparentWindow() override; + void ObserveVsync(VsyncObserver* aObserver) override; nsIWidget* RealWidget() override; |