mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
098175cf10
This fixes the snap layouts feature on Windows 11. Instead of using a content attribute (which is somewhat expensive to look up) use the default appearance and do this where we deal with other appearance hacks (before building themed backgrounds). Consolidate this inside a DealWithWindowsAppearanceHacks function along with the glass stuff. Differential Revision: https://phabricator.services.mozilla.com/D162757
23 lines
519 B
C++
23 lines
519 B
C++
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef mozilla_WindowButtonType_h
|
|
#define mozilla_WindowButtonType_h
|
|
|
|
#include <cstdint>
|
|
|
|
namespace mozilla {
|
|
|
|
enum class WindowButtonType : uint8_t {
|
|
Minimize,
|
|
Maximize, // Also covers restore.
|
|
Close,
|
|
Count,
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|