mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
Remove old commented out code
This commit is contained in:
@@ -27,24 +27,6 @@ namespace CefSharp.Wpf.Example.Views
|
||||
browser.GeolocationHandler = new GeolocationHandler();
|
||||
browser.DownloadHandler = new DownloadHandler();
|
||||
|
||||
//NOTE:This code is a workaround for https://github.com/cefsharp/CefSharp/issues/583
|
||||
// The `upstream` issue has been flagged as resolved, so hopefully this can be removed
|
||||
// in the future.
|
||||
//browser.PreviewTextInput += (sender, args) =>
|
||||
//{
|
||||
// var host = browser.GetBrowser().GetHost();
|
||||
// var keyEvent = new KeyEvent();
|
||||
|
||||
// foreach (var character in args.Text)
|
||||
// {
|
||||
// keyEvent.WindowsKeyCode = character;
|
||||
// keyEvent.Type = KeyEventType.Char;
|
||||
// host.SendKeyEvent(keyEvent);
|
||||
// }
|
||||
|
||||
// args.Handled = true;
|
||||
//};
|
||||
|
||||
browser.LoadError += (sender, args) =>
|
||||
{
|
||||
// Don't display an error for downloaded files.
|
||||
|
||||
Reference in New Issue
Block a user