seb-win-refactoring/SafeExamBrowser.Contracts/Configuration/Settings/IBrowserSettings.cs

54 lines
1.6 KiB
C#
Raw Normal View History

2017-07-28 14:52:15 +02:00
/*
* Copyright (c) 2017 ETH Zürich, Educational Development and Technology (LET)
*
* 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/.
*/
namespace SafeExamBrowser.Contracts.Configuration.Settings
{
public interface IBrowserSettings
{
/// <summary>
/// Determines whether the user should be allowed to change the URL of a browser window.
/// </summary>
bool AllowAddressBar { get; }
/// <summary>
/// Determines whether the user should be allowed to navigate backwards in a browser window.
/// </summary>
bool AllowBackwardNavigation { get; }
/// <summary>
/// Determines whether the user should be allowed to open the debug console of a browser window.
/// </summary>
bool AllowDebugConsole { get; }
/// <summary>
/// Determines whether the user should be allowed to navigate forwards in a browser window.
/// </summary>
bool AllowForwardNavigation { get; }
/// <summary>
/// Determines whether the user should be allowed to reload webpages.
/// </summary>
bool AllowReloading { get; }
/// <summary>
/// The path where the browser cache is to be stored.
/// </summary>
string CachePath { get; }
/// <summary>
/// The file path under which the browser log is to be stored.
/// </summary>
string LogFile { get; }
/// <summary>
/// Determines whether the main browser window should be rendered in fullscreen mode, i.e. without window frame.
/// </summary>
bool FullScreenMode { get; }
}
}