mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 03:32:37 +00:00
WinForms ChromiumWebBrowser - Make NotifyMoveOrResizeStarted and SetFocus obsolete they have been removed from master - use the underlying IBrowserHost methods instead.
This commit is contained in:
@@ -347,6 +347,7 @@ namespace CefSharp.WinForms
|
||||
}
|
||||
}
|
||||
|
||||
[Obsolete("Use GetBrowser().GetHost().NotifyMoveOrResizeStarted() instead")]
|
||||
public void NotifyMoveOrResizeStarted()
|
||||
{
|
||||
this.ThrowExceptionIfBrowserNotInitialized();
|
||||
@@ -367,6 +368,7 @@ namespace CefSharp.WinForms
|
||||
/// <summary>
|
||||
/// Tell the browser to acquire/release focus.
|
||||
/// </summary>
|
||||
[Obsolete("Use GetBrowser().GetHost().SetFocus(isFocused) instead")]
|
||||
public void SetFocus(bool isFocused)
|
||||
{
|
||||
this.ThrowExceptionIfBrowserNotInitialized();
|
||||
|
||||
Reference in New Issue
Block a user