Bug 1861709 replace AudioCallbackDriver::ThreadRunning() assertions that mean to...
[gecko.git] / widget / cocoa / AppearanceOverride.h
blobc826323c5124be68bf3d67ec560b5cc8e44976af
1 /* -*- Mode: c++; tab-width: 2; indent-tabs-mode: nil; -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef AppearanceOverride_h
7 #define AppearanceOverride_h
9 #import <Cocoa/Cocoa.h>
11 // Implements support for the browser.theme.toolbar-theme pref.
12 // Use MOZGlobalAppearance.sharedInstance.effectiveAppearance
13 // in all places where you would like the global override to be respected. The effectiveAppearance
14 // property can be key-value observed.
15 @interface MOZGlobalAppearance : NSObject <NSAppearanceCustomization>
16 @property(class, readonly) MOZGlobalAppearance* sharedInstance;
17 @end
19 #endif