forked from mirrors/gecko-dev
This is simpler given we only have a couple of windows with these looks, and removes the dual mode of the ToolbarWindow class. We just draw the title into the window frame and rely on CSS reserving enough space (exposed as a new -moz-mac-titlebar-height environment variable). We remove the toolbox and toolbar appearance values on mac, now that they do nothing (toolbar did, but it didn't support dark mode and is effectively unused). Differential Revision: https://phabricator.services.mozilla.com/D205469
15 lines
531 B
C
15 lines
531 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_widget_ThemeGeometryType
|
|
#define mozilla_widget_ThemeGeometryType
|
|
|
|
enum MacThemeGeometryType {
|
|
eThemeGeometryTypeTitlebar = 1,
|
|
eThemeGeometryTypeWindowButtons,
|
|
eThemeGeometryTypeMenu,
|
|
eThemeGeometryTypeTooltip,
|
|
};
|
|
|
|
#endif
|