Bug 1880227 - Migrate Focus docs into Sphinx. r=owlish,geckoview-reviewers,android...
[gecko.git] / widget / cocoa / AppearanceOverride.h
blobc4ae629320703eab58897c0f3311e24714d77666
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
14 // effectiveAppearance property can be key-value observed.
15 @interface MOZGlobalAppearance : NSObject <NSAppearanceCustomization>
16 @property(class, readonly) MOZGlobalAppearance* sharedInstance;
17 @end
19 #endif