gecko-dev/toolkit/xre/MacApplicationDelegate.h
Haik Aftandilian af7fd7c0e8 Bug 1551990 - Firefox hangs on wake up from OS X Power Nap r=spohl
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
2019-06-04 20:04:24 +00:00

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