Bug 1888033 - [Menu Redesign] Add a secret setting and feature flag for the menu...
[gecko.git] / toolkit / xre / nsNativeAppSupportBase.cpp
blob43c329ec86417a8a0d27ff79045ff4e91ab90aaf
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
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 #include "nsNativeAppSupportBase.h"
8 nsNativeAppSupportBase::nsNativeAppSupportBase() = default;
10 nsNativeAppSupportBase::~nsNativeAppSupportBase() = default;
12 NS_IMPL_ISUPPORTS(nsNativeAppSupportBase, nsINativeAppSupport)
14 // Start answer defaults to OK.
15 NS_IMETHODIMP
16 nsNativeAppSupportBase::Start(bool* result) {
17 *result = true;
18 return NS_OK;
21 NS_IMETHODIMP
22 nsNativeAppSupportBase::Enable() { return NS_OK; }
24 NS_IMETHODIMP
25 nsNativeAppSupportBase::ReOpen() { return NS_OK; }
27 NS_IMETHODIMP
28 nsNativeAppSupportBase::OnLastWindowClosing() { return NS_OK; }