File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Interop Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 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-
1410namespace 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
You can’t perform that action at this time.
0 commit comments