gecko-dev/widget/uikit
Toshihito Kikuchi b3df452cb8 Bug 1701368 - Part3: Remove the MemPressure_Ongoing request. r=gsvelto
We had `NS_DispatchMemoryPressure` and `NS_DispatchEventualMemoryPressure`
to dispatch a memory-pressure event which took `MemPressure_New` and
`MemPressure_Ongoing` to translate into "low-memory" and "low-memory-ongoing"
message respectively.

With that model, we could end up sending a wrong message if somebody
called the API with `MemPressure_Ongoing` without sending `MemPressure_New`.
To avoid that, this patch removes `MemPressure_Ongoing` and makes
the API decide whether it should dispatch a "new" event or "ongoing" event.

Differential Revision: https://phabricator.services.mozilla.com/D119122
2021-07-06 22:30:58 +00:00
..
GfxInfo.cpp
GfxInfo.h
moz.build
nsAppShell.h
nsAppShell.mm Bug 1701368 - Part3: Remove the MemPressure_Ongoing request. r=gsvelto 2021-07-06 22:30:58 +00:00
nsLookAndFeel.h Bug 1702765 - Plumb ColorScheme through nsXPLookAndFeel. r=mstange 2021-04-02 22:17:55 +00:00
nsLookAndFeel.mm Bug 1709647 - Use NS_SAME_AS_FOREGROUND_COLOR instead of NS_DONT_CHANGE_COLOR. r=jfkthame 2021-05-06 09:57:19 +00:00
nsScreenManager.h
nsScreenManager.mm
nsWidgetFactory.mm
nsWindow.h
nsWindow.mm