况洋洋
2025-07-04 0d247bd2a17e0f99f3609774a1ce54ae00857997
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// 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
{
    /// <summary>
    /// The manner in which a link click should be opened.
    /// </summary>
    public enum WindowOpenDisposition
    {
        /// <summary>
        /// An enum constant representing the unknown option.
        /// </summary>
        Unknown = 0,
        /// <summary>
        /// An enum constant representing the current tab option.
        /// </summary>
        CurrentTab = 1,
        /// <summary>
        /// Indicates that only one tab with the url should exist in the same window
        /// </summary>
        SingletonTab = 2,
        /// <summary>
        /// An enum constant representing the new foreground tab option.
        /// </summary>
        NewForegroundTab = 3,
        /// <summary>
        /// An enum constant representing the new background tab option.
        /// </summary>
        NewBackgroundTab = 4,
        /// <summary>
        /// An enum constant representing the new popup option.
        /// </summary>
        NewPopup = 5,
        /// <summary>
        /// An enum constant representing the new window option.
        /// </summary>
        NewWindow = 6,
        /// <summary>
        /// An enum constant representing the save to disk option.
        /// </summary>
        SaveToDisk = 7,
        /// <summary>
        /// An enum constant representing the off the record option.
        /// </summary>
        OffTheRecord = 8,
        /// <summary>
        /// An enum constant representing the ignore action option.
        /// </summary>
        IgnoreAction = 9,
 
        /// <summary>
        /// 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.
        /// </summary>
        SwitchToTab = 10,
 
        /// <summary>
        /// Creates a new document picture-in-picture window showing a child WebView.
        /// </summary>
        NewPictureInPicture = 11,
    }
}