mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
1992e4970c
* Add a SplitContainer as the base UI panel and place the browserPanel in Panel1 and new devToolsPanel in Panel2. Create two new public methods to open and close the devtools. * BrowserForm - Changed the Show/Close devtools to call the new methods in the BrowserTabUserControl. If the LifeHandler is null, normal behaviour is assumed. * Handle the DoClose event in LifeSpanHandler if the IBrowserHost.CloseDevTools() is called directly. This is more of a fail-safe, if the normal CEF behaviour is allowed then entire application will close. * Added some addtional comments. * Uncomment the instantiation of the LifeSpanHandler * Removed devToolsPanel from designer Removed CloseDevToolsDocked() method Made ShowDevToolsDocked() method easier to copy and paste Closing Devtools should now be handled in LifeSpanHandler.DoClose() Added a bool to the LifeSpanHandler constructor whether to handle Browser popups. Added Toolscript menu item to show DevTools Docked or Popup Added async Method to check it DevTools is open * Changed field access modifier to private * Renamed dispose devtools handler with a more meaningful name