|
| 1 | +<Window x:Class="WebView2WpfBrowser.ClusterEnvironmentDialog" |
| 2 | + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 3 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 4 | + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| 5 | + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| 6 | + xmlns:local="clr-namespace:WebView2WpfBrowser" |
| 7 | + mc:Ignorable="d" |
| 8 | + Title="Shared Cluster Environment" |
| 9 | + SizeToContent="Height" |
| 10 | + Width="440" |
| 11 | + WindowStartupLocation="CenterOwner"> |
| 12 | + <StackPanel Margin="12"> |
| 13 | + <TextBlock TextWrapping="Wrap" Margin="0,0,0,10" |
| 14 | + Text="Hosts that pass the same ClusterName and the same options share a single browser process. The first host to create the cluster pins these options; a later host that asks for a different set gets an options mismatch."/> |
| 15 | + |
| 16 | + <TextBlock x:Name="ClusterNameLabel" Text="ClusterName"/> |
| 17 | + <TextBox x:Name="ClusterNameInput" Margin="0,2,0,8" |
| 18 | + AutomationProperties.LabeledBy="{Binding ElementName=ClusterNameLabel}"/> |
| 19 | + |
| 20 | + <TextBlock x:Name="LanguageLabel" Text="Language"/> |
| 21 | + <TextBox x:Name="LanguageInput" Margin="0,2,0,8" |
| 22 | + AutomationProperties.LabeledBy="{Binding ElementName=LanguageLabel}"/> |
| 23 | + |
| 24 | + <TextBlock x:Name="BrowserArgsLabel" Text="AdditionalBrowserArguments"/> |
| 25 | + <TextBox x:Name="BrowserArgsInput" Margin="0,2,0,8" |
| 26 | + AutomationProperties.LabeledBy="{Binding ElementName=BrowserArgsLabel}"/> |
| 27 | + |
| 28 | + <TextBlock Text="Options" Margin="0,4,0,2"/> |
| 29 | + <CheckBox x:Name="SingleSignOnInput" Content="AllowSingleSignOnUsingOSPrimaryAccount" Margin="0,2"/> |
| 30 | + <CheckBox x:Name="TrackingPreventionInput" Content="EnableTrackingPrevention" Margin="0,2"/> |
| 31 | + <CheckBox x:Name="BrowserExtensionsInput" Content="AreBrowserExtensionsEnabled" Margin="0,2"/> |
| 32 | + <CheckBox x:Name="ProfileIsolationInput" Content="PerHostProfileIsolation" Margin="0,2,0,8"/> |
| 33 | + |
| 34 | + <TextBlock Text="ReleaseChannels" Margin="0,4,0,2"/> |
| 35 | + <StackPanel Orientation="Horizontal" Margin="0,0,0,8" |
| 36 | + AutomationProperties.Name="ReleaseChannels"> |
| 37 | + <CheckBox x:Name="StableInput" Content="Stable" Margin="0,0,12,0"/> |
| 38 | + <CheckBox x:Name="BetaInput" Content="Beta" Margin="0,0,12,0"/> |
| 39 | + <CheckBox x:Name="DevInput" Content="Dev" Margin="0,0,12,0"/> |
| 40 | + <CheckBox x:Name="CanaryInput" Content="Canary"/> |
| 41 | + </StackPanel> |
| 42 | + |
| 43 | + <TextBlock x:Name="SearchKindLabel" Text="ChannelSearchKind"/> |
| 44 | + <ComboBox x:Name="SearchKindInput" Margin="0,2,0,12" |
| 45 | + AutomationProperties.LabeledBy="{Binding ElementName=SearchKindLabel}"> |
| 46 | + <ComboBoxItem Content="MostStable"/> |
| 47 | + <ComboBoxItem Content="LeastStable"/> |
| 48 | + </ComboBox> |
| 49 | + |
| 50 | + <StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> |
| 51 | + <Button Click="ok_Clicked" IsDefault="True" Width="80" Margin="0,0,8,0">OK</Button> |
| 52 | + <Button IsCancel="True" Width="80">Cancel</Button> |
| 53 | + </StackPanel> |
| 54 | + </StackPanel> |
| 55 | +</Window> |
0 commit comments