diff options
Diffstat (limited to 'widget/WindowButtonType.h')
-rw-r--r-- | widget/WindowButtonType.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/widget/WindowButtonType.h b/widget/WindowButtonType.h new file mode 100644 index 0000000000..76314709df --- /dev/null +++ b/widget/WindowButtonType.h @@ -0,0 +1,22 @@ +/* -*- 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 |