Skip to content

Commit 52b0235

Browse files
committed
Core - Update WindowOpenDisposition (101.0.4951.54)
1 parent a465b9c commit 52b0235

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

CefSharp/Enums/WindowOpenDisposition.cs

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,42 +12,57 @@ public enum WindowOpenDisposition
1212
/// <summary>
1313
/// An enum constant representing the unknown option.
1414
/// </summary>
15-
Unknown,
15+
Unknown = 0,
1616
/// <summary>
1717
/// An enum constant representing the current tab option.
1818
/// </summary>
19-
CurrentTab,
19+
CurrentTab = 1,
2020
/// <summary>
2121
/// Indicates that only one tab with the url should exist in the same window
2222
/// </summary>
23-
SingletonTab,
23+
SingletonTab = 2,
2424
/// <summary>
2525
/// An enum constant representing the new foreground tab option.
2626
/// </summary>
27-
NewForegroundTab,
27+
NewForegroundTab = 3,
2828
/// <summary>
2929
/// An enum constant representing the new background tab option.
3030
/// </summary>
31-
NewBackgroundTab,
31+
NewBackgroundTab = 4,
3232
/// <summary>
3333
/// An enum constant representing the new popup option.
3434
/// </summary>
35-
NewPopup,
35+
NewPopup = 5,
3636
/// <summary>
3737
/// An enum constant representing the new window option.
3838
/// </summary>
39-
NewWindow,
39+
NewWindow = 6,
4040
/// <summary>
4141
/// An enum constant representing the save to disk option.
4242
/// </summary>
43-
SaveToDisk,
43+
SaveToDisk = 7,
4444
/// <summary>
4545
/// An enum constant representing the off the record option.
4646
/// </summary>
47-
OffTheRecord,
47+
OffTheRecord = 8,
4848
/// <summary>
4949
/// An enum constant representing the ignore action option.
5050
/// </summary>
51-
IgnoreAction
51+
IgnoreAction = 9,
52+
53+
/// <summary>
54+
/// Activates an existing tab containing the url, rather than navigating.
55+
/// This is similar to SINGLETON_TAB, but searches across all windows from
56+
/// the current profile and anonymity (instead of just the current one);
57+
/// closes the current tab on switching if the current tab was the NTP with
58+
/// no session history; and behaves like CURRENT_TAB instead of
59+
/// NEW_FOREGROUND_TAB when no existing tab is found.
60+
/// </summary>
61+
SwitchToTab = 10,
62+
63+
/// <summary>
64+
/// Creates a new document picture-in-picture window showing a child WebView.
65+
/// </summary>
66+
NewPictureInPicture = 11,
5267
}
5368
}

0 commit comments

Comments
 (0)