Commit Graph

19 Commits

Author SHA1 Message Date
Chris 30ee538ce0 Added EditorConfig (#2514) 2018-09-17 00:46:21 +02:00
Chris bef5dd37c4 Maintenance - Fixed formatting, file encoding, and copyright year (#2504)
* Applied formatting

* Fixed file encoding + Updated copyright year

* Updated License

* Fixed more file encoding

* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
amaitland bf934b2ec3 WinForms - Example LifeSpanHandler update DevTools Url
The Default Devtools URL has been changed in `CEF`.

https://bitbucket.org/chromiumembedded/cef/commits/7b00e057140c3c134dfae328718a005f2064b9f6?at=3396
2018-07-29 19:37:00 +10:00
amaitland dd9ba1472e WinForms Example - Update LifeSpanHandler implementation to support closing Tabs vis window.close() javascript 2018-04-04 13:18:21 +10:00
amaitland fbce2d61de WinForms Example - Update LifeSpanHandler example to host popup in Tab (notify popup of move and resize) 2018-01-30 15:01:38 +10:00
amaitland c138ba2519 Remove experimental option #1 from WinForms LifeSpanHandler example - should use SetAsChild method instead (I know the example is incomplete, contributions welcome).
newBrowser should only be used in WPF/OffScreen
2017-04-18 15:33:02 +10:00
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland 43f2a3faba WinForms LifeSpanHandler - Check browser.IsDisposed (should only happen when disposing)
Update ILifeSpanHandler.DoClose comment
2017-01-06 13:08:39 +10:00
amaitland 2d86311b44 Fix bug in WinForms example - the LifeSpanHandler implementation wasn't allowing popup windows to close 2016-10-19 07:51:19 +10:00
amaitland 662ef561b5 ILifeSpanHandler.OnBeforePopup - Add comment about setting newBrowser to null 2016-10-12 12:43:11 +10:00
amaitland 79f3844cab Follow up to #1764
- Call SetHandlersToNull() in a consistent fashion across all three implementations
- Reword comments slightly
2016-08-09 12:40:58 +10:00
Dan Backes 7108ae3f43 Fix LifeSpanHandler not Called During Dispose (#1764)
- Make it so that the lifespan handler is still called when the
  ChromiumWebBrowser is disposed We need to make sure that the
  LifeSpanHandler is still around when `managedCefBrowserAdapter`
  is disposed since it is going to call `CloseBrowser`. That way,
  we can implement LifeSpanHandler and reject closing the entire
  application as described in #1574
2016-08-09 12:32:41 +10:00
amaitland 885e0d685f Forgot to comment out the experimental window hosting 2016-05-19 17:56:10 +10:00
amaitland d1d754cf58 Remove CefWindowInfo from ClientAdapter::OnBeforePopup they will now need to be made in client code
(This is now possible as IWindowInfo exposes all the relevant pieces).
This will allow for a little more flexibility, specially on the WinForms front, it should be possible to create the control and then show the window later
2016-05-19 12:11:29 +10:00
amaitland 1a0c08afa0 Add another experimental ILifeSpanHandler.OnBeforePopup option 2016-05-04 23:34:33 +10:00
amaitland dd7ea823a3 Add PopupFeatures and BrowserSettings to OnBeforePopup
Update WinForms popup example - comment out experimental feature

Had to add interfaces to allow for wrapping of the structures (BrowserSettings and PopupFeatures)

Resolves #1586
2016-03-07 18:58:56 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland b780568544 Add DoClose to ILifeSpanHandler 2015-08-17 13:49:10 +10:00
amaitland 326aaf70f8 Move handlers to their own namespace and create an implementation of LifeSpanHandler to deal with custom popups 2015-08-03 17:57:01 +10:00