mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
af7fd7c0e8
Disable App Nap in Firefox to avoid macOS App Nap'ing the parent process while child processes continue to run normally. Differential Revision: https://phabricator.services.mozilla.com/D33130 --HG-- extra : moz-landing-system : lando
18 lines
641 B
C
18 lines
641 B
C
/* -*- Mode: C++; tab-width: 4; 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/. */
|
|
|
|
// This file defines the interface between Cocoa-specific Obj-C++ and generic
|
|
// C++, so it itself cannot have any Obj-C bits in it.
|
|
|
|
#ifndef MacApplicationDelegate_h_
|
|
#define MacApplicationDelegate_h_
|
|
|
|
void EnsureUseCocoaDockAPI(void);
|
|
void SetupMacApplicationDelegate(void);
|
|
void ProcessPendingGetURLAppleEvents(void);
|
|
void DisableAppNap(void);
|
|
|
|
#endif
|