File tree Expand file tree Collapse file tree 1 file changed +25
-10
lines changed Expand file tree Collapse file tree 1 file changed +25
-10
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments