Skip to content

Commit cf2f430

Browse files
committed
Cleanup after #9855 merge
1 parent f928a07 commit cf2f430

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Interop/BrowserInteropHelper.cs

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
// interop with the browser. Deprecated as XBAP is not supported.
88
//
99

10-
using MS.Win32;
11-
using MS.Internal;
12-
using MS.Internal.AppModel;
13-
1410
namespace System.Windows.Interop
1511
{
1612
/// <summary>
@@ -36,35 +32,13 @@ public static class BrowserInteropHelper
3632
/// <summary>
3733
/// Returns true if the app is a browser hosted app.
3834
/// </summary>
39-
/// <remarks>
40-
/// Note that HostingFlags may not be set at the time this property is queried first.
41-
/// That's why they are still separate. Also, this one is public.
42-
/// </remarks>
4335
public static bool IsBrowserHosted => false;
4436

4537
/// <summary>
4638
/// Returns the Uri used to launch the application.
4739
/// </summary>
4840
public static Uri Source => null;
4941

50-
/// <summary>
51-
/// Returns true if we are in viewer mode AND this is the first time that a viewer has been navigated.
52-
/// Including IsViewer is defense-in-depth in case somebody forgets to check IsViewer. There are other
53-
/// reasons why both IsViewer and IsViewerNavigation are necessary, however.
54-
/// </summary>
55-
internal static bool IsInitialViewerNavigation
56-
{
57-
get // Because IsViewer is always false, the value of _isInitialViewerNavigation does not matter
58-
{
59-
return IsViewer && _isInitialViewerNavigation;
60-
}
61-
set
62-
{
63-
_isInitialViewerNavigation = value;
64-
}
65-
}
66-
67-
private static bool _isInitialViewerNavigation;
6842
}
6943
}
7044

0 commit comments

Comments
 (0)