37db307153
* chore: bump chromium in DEPS to 461ecae368fd0832f18e0b13e61f3561d83f0031 * update patches * update patches * Remove both vs browser/child split in content gn files. https://chromium-review.googlesource.com/c/chromium/src/+/2157965 * chore: bump chromium in DEPS to 7ff3897f3104563763ef26ad940d4e988d7245dd * update patches * update patches * Add ElectronKioskDelegate for extensions https://chromium-review.googlesource.com/c/chromium/src/+/2159760 Co-authored-by: John Kleinschmidt <jkleinsc@github.com> Co-authored-by: Electron Bot <anonymous@electronjs.org>
26 lines
843 B
C++
26 lines
843 B
C++
// 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.
|
|
|
|
#ifndef SHELL_BROWSER_EXTENSIONS_ELECTRON_KIOSK_DELEGATE_H_
|
|
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_KIOSK_DELEGATE_H_
|
|
|
|
#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
|
|
|
|
#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_KIOSK_DELEGATE_H_
|