/* * Copyright (c) 2018 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/. */ using System; namespace SafeExamBrowser.Contracts.Configuration.Settings { /// /// Defines all configuration options for the browser of the application. /// [Serializable] public class BrowserSettings { /// /// Determines whether the user should be allowed to change the URL of a browser window. /// public bool AllowAddressBar { get; set; } /// /// Determines whether the user should be allowed to navigate backwards in a browser window. /// public bool AllowBackwardNavigation { get; set; } /// /// Determines whether the user should be allowed to open the developer console of a browser window. /// public bool AllowDeveloperConsole { get; set; } /// /// Determines whether the user should be allowed to download files. /// public bool AllowDownloads { get; set; } /// /// Determines whether the user should be allowed to navigate forwards in a browser window. /// public bool AllowForwardNavigation { get; set; } /// /// Determines whether the user should be allowed to reload webpages. /// public bool AllowReloading { get; set; } /// /// Determines whether the main browser window should be rendered in fullscreen mode, i.e. without window frame. /// public bool FullScreenMode { get; set; } /// /// The start URL with which a new browser window should be loaded. /// public string StartUrl { get; set; } } }