2020-04-24 01:55:17 +00:00
|
|
|
// Copyright 2016 The Chromium Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2021-11-22 07:34:31 +00:00
|
|
|
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_KIOSK_DELEGATE_H_
|
|
|
|
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_KIOSK_DELEGATE_H_
|
2020-04-24 01:55:17 +00:00
|
|
|
|
|
|
|
#include "extensions/browser/kiosk/kiosk_delegate.h"
|
|
|
|
#include "extensions/common/extension_id.h"
|
|
|
|
|
|
|
|
namespace electron {
|
|
|
|
|
|
|
|
// Delegate in Electron that provides an extension/app API with Kiosk mode
|
|
|
|
// functionality.
|
|
|
|
class ElectronKioskDelegate : public extensions::KioskDelegate {
|
|
|
|
public:
|
|
|
|
ElectronKioskDelegate();
|
|
|
|
~ElectronKioskDelegate() override;
|
|
|
|
|
|
|
|
// KioskDelegate overrides:
|
|
|
|
bool IsAutoLaunchedKioskApp(const extensions::ExtensionId& id) const override;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace electron
|
|
|
|
|
2021-11-22 07:34:31 +00:00
|
|
|
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_KIOSK_DELEGATE_H_
|