8000 Remove OleCmdHelper/ISecureCommand dead code (CAS/XBAP leftovers) (#9… · dotnet/wpf@7bccb25 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7bccb25

Browse files
authored
Remove OleCmdHelper/ISecureCommand dead code (CAS/XBAP leftovers) (#9943)
* Rmove OleCmdHelper/CommandWithArgument classes (XBAP) * Remove obsolete enums from IBrowserHostServices * Remove ISecureCommand / SecureUICommand dead code
1 parent 96db72e commit 7bccb25

File tree

6 files changed

+0
-469
lines changed

6 files changed

+0
-469
lines changed

src/Microsoft.DotNet.Wpf/src/PresentationCore/PresentationCore.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,6 @@
611611
<Compile Include="System\Windows\Input\Command\InputBindingCollection.cs" />
612612
<Compile Include="System\Windows\Input\Command\InputGesture.cs" />
613613
<Compile Include="System\Windows\Input\Command\InputGestureCollection.cs" />
614-
<Compile Include="System\Windows\Input\Command\ISecureCommand.cs" />
615614
<Compile Include="System\Windows\Input\Command\KeyBinding.cs" />
616615
<Compile Include="System\Windows\Input\Command\KeyGesture.cs" />
617616
<Compile Include="System\Windows\Input\Command\KeyGestureConverter.cs" />
@@ -627,7 +626,6 @@
627626
<Compile Include="System\Windows\Input\Command\NavigationCommands.cs" />
628627
<Compile Include="System\Windows\Input\Command\RoutedCommand.cs" />
629628
<Compile Include="System\Windows\Input\Command\RoutedUICommand.cs" />
630-
<Compile Include="System\Windows\Input\Command\SecureUICommand.cs" />
631629
<Compile Include="System\Windows\Input\Stylus\Common\DynamicRenderer.cs" />
632630
<Compile Include="System\Windows\Input\Stylus\Common\DynamicRendererThreadManager.cs" />
633631
<Compile Include="System\Windows\Input\Stylus\Common\MultiTouchSystemGestureLogic.cs" />

src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Input/Command/ISecureCommand.cs

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Input/Command/SecureUICommand.cs

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/Microsoft.DotNet.Wpf/src/PresentationFramework/MS/Internal/AppModel/IBrowserHostServices.cs

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -61,64 +61,4 @@ internal enum MimeType
6161
Application = 2,
6262
Markup = 3
6363
}
64-
65-
//********************************************************************************************//
66-
// IMPORTANT: IMPORTANT: IMPORTANT: IMPORTANT: //
67-
//********************************************************************************************//
68-
//Start with 8001 , the enum defined on the managed world starts with 8001 as well
69-
//KEEP THESE IN SYNC
70-
//The ApplicationCommands enums in wcp\host\inc\hostservices.idl and IBrowserHostServices.cs
71-
//and the menuIDs wcp\host\docobj\resource.hxx and resources.rc
72-
//
73-
internal enum AppCommands
74-
{
75-
Edit_Cut = 8001,
76-
Edit_Copy,
77-
Edit_Paste,
78-
Edit_SelectAll,
79-
Edit_Find,
80-
81-
Edit_Digitalsignatures,
82-
Edit_Digitalsignatures_SignDocument,
83-
Edit_Digitalsignatures_RequestSignature,
84-
Edit_Digitalsignatures_ViewSignature,
85-
86-
Edit_Permission,
87-
Edit_Permission_Set,
88-
Edit_Permission_View,
89-
Edit_Permission_Restrict,
90-
91-
View_StatusBar,
92-
View_Stop,
93-
View_Refresh,
94-
View_FullScreen,
95-
96-
View_Zoom,
97-
View_Zoom_In,
98-
View_Zoom_Out,
99-
View_Zoom_400,
100-
View_Zoom_250,
101-
View_Zoom_150,
102-
View_Zoom_100,
103-
View_Zoom_75,
104-
View_Zoom_50,
105-
View_Zoom_25,
106-
View_Zoom_PageWidth,
107-
View_Zoom_WholePage,
108-
View_Zoom_TwoPages,
109-
View_Zoom_Thumbnails,
110-
}
111-
112-
internal enum AppMenus
113-
{
114-
EditMenu = 0x3020,
115-
ViewMenu = 0x3040
116-
}
117-
118-
//***Keep in sync with host\Inc\HostServices.idl.
119-
internal enum EditingCommandIds : uint
120-
{
121-
Backspace = 1,
122-
Delete = 2
123-
};
12464
}

0 commit comments

Comments
 (0)
0