// Copyright © 2015 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp { /// /// The manner in which a link click should be opened. /// public enum WindowOpenDisposition { /// /// An enum constant representing the unknown option. /// Unknown = 0, /// /// An enum constant representing the current tab option. /// CurrentTab = 1, /// /// Indicates that only one tab with the url should exist in the same window /// SingletonTab = 2, /// /// An enum constant representing the new foreground tab option. /// NewForegroundTab = 3, /// /// An enum constant representing the new background tab option. /// NewBackgroundTab = 4, /// /// An enum constant representing the new popup option. /// NewPopup = 5, /// /// An enum constant representing the new window option. /// NewWindow = 6, /// /// An enum constant representing the save to disk option. /// SaveToDisk = 7, /// /// An enum constant representing the off the record option. /// OffTheRecord = 8, /// /// An enum constant representing the ignore action option. /// IgnoreAction = 9, /// /// Activates an existing tab containing the url, rather than navigating. /// This is similar to SINGLETON_TAB, but searches across all windows from /// the current profile and anonymity (instead of just the current one); /// closes the current tab on switching if the current tab was the NTP with /// no session history; and behaves like CURRENT_TAB instead of /// NEW_FOREGROUND_TAB when no existing tab is found. /// SwitchToTab = 10, /// /// Creates a new document picture-in-picture window showing a child WebView. /// NewPictureInPicture = 11, } }