CefDevService.cs 400 B

1234567891011121314151617181920
  1. using CefSharp;
  2. using CefSharp.WinForms;
  3. namespace Cbdx.Tests.Services
  4. {
  5. internal class CefDevService : ICefDevService
  6. {
  7. private readonly ChromiumWebBrowser _browser;
  8. public CefDevService(ChromiumWebBrowser browser)
  9. {
  10. _browser = browser;
  11. }
  12. void ICefDevService.ShowF12()
  13. {
  14. _browser.ShowDevTools();
  15. }
  16. }
  17. }