WinForms ChromiumWebBrowser - Make NotifyMoveOrResizeStarted and SetFocus obsolete they have been removed from master - use the underlying IBrowserHost methods instead.

This commit is contained in:
amaitland
2016-01-09 08:13:50 +10:00
parent c19dc85494
commit fa37d22a24
+2
View File
@@ -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();