File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5252 </ItemGroup >
5353 <ItemGroup >
5454 <Compile Include =" Internals\DefaultFocusHandler.cs" />
55+ <Compile Include =" Internals\User32.cs" />
5556 <Compile Include =" Properties\AssemblyInfo.cs" />
5657 <Compile Include =" ChromiumWebBrowser.cs" >
5758 <SubType >Component</SubType >
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ public override bool Focused
366366 }
367367
368368 // Ask Windows which control has the focus and then check if it's one of our children
369- IntPtr focus = User32 . GetFocus ( ) ;
369+ var focus = User32 . GetFocus ( ) ;
370370 return focus != IntPtr . Zero && User32 . IsChild ( Handle , focus ) ;
371371 }
372372 }
Original file line number Diff line number Diff line change 55using System ;
66using System . Runtime . InteropServices ;
77
8- namespace CefSharp . Internals
8+ namespace CefSharp . WinForms . Internals
99{
1010 public static class User32
1111 {
Original file line number Diff line number Diff line change 9090 <ItemGroup >
9191 <Compile Include =" CefFileDialogMode.cs" />
9292 <Compile Include =" IFocusHandler.cs" />
93- <Compile Include =" Internals\User32.cs" />
9493 <Compile Include =" IsBrowserInitializedChangedEventArgs.cs" />
9594 <Compile Include =" CefTerminationStatus.cs" />
9695 <Compile Include =" IDialogHandler.cs" />
You can’t perform that action at this time.
0 commit comments