chore: bump chromium to 4563763ef26ad940d4e988d7245dd (master) (#23219)
* chore: bump chromium in DEPS to 461ecae368fd0832f18e0b13e61f3561d83f0031 * update patches * update patches * Remove both vs browser/child split in content gn files.2157965
* chore: bump chromium in DEPS to 7ff3897f3104563763ef26ad940d4e988d7245dd * update patches * update patches * Add ElectronKioskDelegate for extensions2159760
Co-authored-by: John Kleinschmidt <jkleinsc@github.com> Co-authored-by: Electron Bot <anonymous@electronjs.org>
This commit is contained in:
parent
176a120ec2
commit
37db307153
46 changed files with 226 additions and 174 deletions
26
shell/browser/extensions/electron_kiosk_delegate.h
Normal file
26
shell/browser/extensions/electron_kiosk_delegate.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
// 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_
|
Loading…
Add table
Add a link
Reference in a new issue