Skip to content

Commit

Permalink
Expose Dispatcher via IWpfWebBrowser interface - could be useful for …
Browse files Browse the repository at this point in the history
…Handler implementations
  • Loading branch information
amaitland committed Mar 18, 2015
1 parent 2b88af6 commit d316486
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CefSharp.Wpf/IWpfWebBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

using System.Windows.Input;
using System.Windows.Threading;

namespace CefSharp.Wpf
{
Expand Down Expand Up @@ -96,5 +97,10 @@ public interface IWpfWebBrowser : IWebBrowser
/// </summary>
/// <param name="type">indicates which surface to re-paint either View or Popup.</param>
void Invalidate(PaintElementType type);

/// <summary>
/// Gets the <see cref="Dispatcher"/> associated with this instance.
/// </summary>
Dispatcher Dispatcher { get; }
}
}

0 comments on commit d316486

Please sign in to comment.