Commit Graph

72 Commits

Author SHA1 Message Date
rassilon 431cb511c3 * Move unmanged objects into finalizer and call finalizer from Dispose.
* Remove DisposableResources from ManagedCefBrowserAdapter
* Improve disposing of CefRequestWrapper
* Have callbacks dispose themselves.
* Allow the Application exit handler shutdown CEF from the Winforms example application.
2015-06-13 10:42:33 -04:00
amaitland 996661de60 Resharper inspired cleanup of BrowserForm - mostly remove redundant type arguments from anon delegates 2015-05-21 13:51:14 +10:00
rassilon fdd5508467 Continue the TaskScheduler items:
* Replace IWebBrowser.ZoomLevel property with:
   GetZoomLevelAsync(), and SetZoomLevel().
2015-04-27 18:20:32 -04:00
rassilon b910a1f2fa Minor review cleanups. 2015-04-16 18:51:37 -04:00
rassilon 06e26f132d GetZoomLevel is required to be called from the UI thread, but it has a failure mode of just returning 0. Here's a cheesy temporary solution to adding a full on GetZoomLevelAsync method that returns a .Net task. 2015-04-16 15:15:01 -04:00
Sylvain Hamel b72f3b757c fix #553 by handling Initial resize and OnSizeChanged 2014-11-18 23:08:34 -05:00
amaitland f693fc2119 Add x64/x86 to WinForms Window Title 2014-10-27 11:17:33 +10:00
amaitland 53e6dcb95d Prevent window redraw when resizing as per http://stackoverflow.com/questions/2353381/prevent-window-redraw-when-resizing-c-sharp-windows-forms 2014-10-21 21:50:55 +10:00
amaitland 35d7fc6ea4 Make sure Close calls Cef.Shutdown() 2014-10-13 17:36:27 +10:00
amaitland a6bacdec55 Simplify setting of active tab
Conflicts:
	CefSharp.WinForms.Example/BrowserForm.cs
2014-10-13 17:36:27 +10:00
amaitland f6afe37214 Set tab index to current - 1 when closing a tab 2014-10-13 16:39:29 +10:00
amaitland 57f39701ba Attempt to get layout working properly - still has some problems better than before though 2014-10-13 16:31:22 +10:00
amaitland a59c83d0be Change to use build in devtools introduced in 1750 2014-10-13 15:43:33 +10:00
amaitland 8f7254e5ca Merge remote-tracking branch 'remotes/upstream/master' into feature/winforms-tabbed 2014-10-13 15:39:59 +10:00
amaitland a58b6086c7 First 1750 feature - ShowDevTools/CloseDevTools 2014-10-03 16:41:17 +10:00
amaitland 4f60818744 Add CloseDevTools option 2014-08-26 17:54:23 +10:00
amaitland c363a23b4e Show DevTools in panel 2014-08-26 17:46:46 +10:00
amaitland def3790d9a Show DevToolsUrl in browser tab next to currently active tab (still needs some work as layout doesn't update properly) 2014-08-25 17:19:08 +10:00
amaitland 43afa96acb Close main form when there are no remaining tabs 2014-08-25 16:54:44 +10:00
Adrian Phinney 96bdad96d4 Add StatusMessage examples for WPF/WinForms. 2014-08-12 09:25:33 -04:00
amaitland b7e29dacd0 Add print menu item 2014-07-01 12:05:50 +10:00
amaitland 60d53bca93 Implement Edit menu items 2014-07-01 12:05:50 +10:00
amaitland e9b35654c5 Add menu item stubs 2014-07-01 12:05:50 +10:00
amaitland f358f5c7ef Fix issue caused by rebasing on Master (using statement got wrapped in with the license disclaimer) 2014-07-01 12:03:59 +10:00
amaitland 9abc5bcc33 Fix BrowserTabUserControl - wasn't passing in the specified URL 2014-07-01 12:03:59 +10:00
amaitland 4cdba3aec1 Fix layout issue where Tab Content wasn't taking up the whole screen 2014-07-01 12:03:59 +10:00
amaitland 4162db8d66 Add Close menu item (force of dispose when closing of tab) 2014-07-01 12:03:58 +10:00
amaitland 7375fd01e8 Make newly created tab active 2014-07-01 12:03:58 +10:00
amaitland 9b13fd8ef1 Add New Tab menu item 2014-07-01 12:03:58 +10:00
amaitland 8240b7ec13 Remove unused load event handler 2014-07-01 12:03:58 +10:00
amaitland 6ed6662427 Re-add find to BrowserTabUserControl 2014-07-01 12:03:58 +10:00
amaitland 63f90b54d3 Get CopySourceToClipBoardAsync working 2014-07-01 12:03:58 +10:00
amaitland 16ad577f7b First run at implementing TabControl 2014-07-01 12:03:57 +10:00
amaitland d48bf5fbd9 Add license disclaimer to rest of solution files (hopefully got them all now) 2014-06-25 16:00:28 +10:00
amaitland eef01bb1ed Merge remote-tracking branch 'remotes/upstream/master' into feature/DownloadHandler 2014-06-12 12:24:22 +10:00
amaitland ff03b13a33 Create CefExample class to house common Init() and DefaultUrl
Conflicts:
	CefSharp.WinForms.Example/BrowserForm.cs
2014-06-12 01:49:37 +03:00
amaitland 7185574cca Fix formatting 2014-06-11 16:28:32 +10:00
amaitland 876f34b324 Add Example DownloadHandler to WinForms Example 2014-06-11 15:45:39 +10:00
Per Lundberg 9bf90d573f Merge commit '254f1c7bba9bde5b7acf1a8a538ca0d53421d0bd' into feature/rename-webview
Conflicts:
	CefSharp.WinForms.Example/BrowserForm.cs (manually merged)
2014-06-02 23:36:25 -07:00
jornh 6d39dd1f56 Back out .NET 4.5 Task stuff for now 2014-06-02 23:58:06 +02:00
Per Lundberg de0f1fefac Renamed the WinForms WebView to ChromiumWebBrowser, in line with how System.Windows.Forms.WebBrowser is named. (and our browser control is arguably very similar in nature to the Microsoft ones) 2014-06-02 12:50:55 -07:00
jornh cc252db9f8 Remove sync over async GetSource() WinForms example 2014-06-01 18:37:57 +02:00
amaitland aa1f2725a9 Add GetSource() Sync method and WinForms example usage 2014-05-29 12:59:51 +10:00
amaitland d15fb7bfb6 Fix whitespace 2014-05-14 17:20:11 +10:00
amaitland de85119938 WinForms Example - Implement Find Next/Previous 2014-05-14 17:17:50 +10:00
amaitland 5e00353459 Make methods private 2014-05-12 11:15:36 +10:00
amaitland 49dc7cb901 Remove SetAddress method (only used in one place so no longer required) 2014-05-12 11:14:26 +10:00
amaitland 4ab185723b Remove SetTitle method (only used in one place so no longer required) 2014-05-12 11:13:34 +10:00
amaitland 64b4ae8ba2 Remove WebViewLoadCompleted as it's no longer required 2014-05-12 11:12:12 +10:00
amaitland 396bfb537a Remove LoadStart handler from BrowserForm 2014-05-12 11:09:43 +10:00