Commit Graph

6294 Commits

Author SHA1 Message Date
amaitland 771158af28 Pass CefSharpBrowserWrapper instance (IBrowser) into IDownloadHandler - for now not populating the IBrowserAdapter property as there's currently no way to grantee when the resource would be released/disposed.
Maybe need to look at WeakReference or a layer of indirection (which I was hoping to avoid)
2015-05-21 14:25:32 +10:00
amaitland 22146e33ca Untabify 2015-05-21 13:57:17 +10:00
amaitland 8a53dfe54d Pass the IBrowserAdapter (ManagedCefBrowserAdapter) reference directly into the ClientAdapter instance 2015-05-21 13:57:17 +10:00
amaitland 2f40861dca Use default params on the IFrame interface to provide the ExecuteJavaScriptAsync overload 2015-05-21 13:51:45 +10:00
amaitland ee7c8efdd9 A few more resharper inspired cleanups 2015-05-21 13:51:15 +10:00
amaitland 996661de60 Resharper inspired cleanup of BrowserForm - mostly remove redundant type arguments from anon delegates 2015-05-21 13:51:14 +10:00
amaitland 824fd21950 Resharper - disable localization warnings for CefSharp.WinForms.Example 2015-05-21 13:51:14 +10:00
amaitland cedc3196fa Remove WindowsBase reference from OffScreen - not required (Uses Gdi Bitmap) 2015-05-21 13:51:14 +10:00
amaitland 4ea3bfca37 Start marking Cut/Copy/Paste methods Obsolete - will soon be accessible at the frame level. 2015-05-21 13:51:14 +10:00
amaitland fcde9660d3 Add System.ServiceModel to OffScreen - needed to use the new extension methods 2015-05-21 13:51:14 +10:00
amaitland e43befe9fa Start to extract some duplicate code out into extension methods - saves repeating the same block three times 2015-05-21 13:51:14 +10:00
Bill Tutt 7541ca2d3b Merge pull request #1030 from rassilon/CefSharpBrowserWrapper
More CefSharp BrowserWrapper work, not quite done yet, but we are for this PR.
2015-05-20 23:28:08 -04:00
Bill Tutt c08b1ff38e Fix some review comments, and add frameloadstart/end/error related methods to IPopupHandler. 2015-05-20 22:59:43 -04:00
Bill Tutt 80d6ae12e5 Merge remote-tracking branch 'origin/cef/2272' into CefSharpBrowserWrapper 2015-05-20 21:54:31 -04:00
amaitland b642e15bc6 Revert "Auto-close blank popups when download is complete"
This reverts commit 7ea66af1cc.

Will look at exposing the IBrowser interface which will give users the ability to close the popup themselves
2015-05-21 10:48:17 +10:00
amaitland 3b7b006f08 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-05-21 10:47:00 +10:00
amaitland 16616d924f Add missing DECL (__declspec(dllexport)) to OnPopupSize 2015-05-21 09:05:07 +10:00
Alex Maitland 29f8021368 Merge pull request #1033 from jamespearce2006/master
Auto-close blank popups when download is complete
2015-05-20 19:00:02 +10:00
amaitland e8d9042fbb Update build.ps1 to latest cef.redist version (should have been updated when the main project packages were updated). 2015-05-20 18:16:53 +10:00
amaitland 8bcab86694 Fix #1035
OffScreen check BackBufferHandle == IntPtr.Zero before attempting to create a new bitmap
2015-05-20 18:12:50 +10:00
amaitland 294b429c48 Remove unnecessary + from event handler assignment 2015-05-20 18:03:08 +10:00
amaitland 5f3d4abf69 Fix json test error (<= should have just been <)
Change a few `==` checks to `===` to make visual studio happy (just comparing strings, so no fancy type conversion necessary)
2015-05-19 19:48:18 +10:00
amaitland 0de8b3513b Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-05-19 19:32:12 +10:00
amaitland bd4c7c5406 Change default build target to vs2012, remove the old Nupkg target, also have every build generate packages 2015-05-19 19:16:40 +10:00
jamespearce2006 bbd366227d Remove added line 2015-05-19 08:52:28 +01:00
jamespearce2006 ba0c0c1f19 force appveyor rebuild 2015-05-18 20:12:34 +01:00
jamespearce2006 7ea66af1cc Auto-close blank popups when download is complete 2015-05-18 19:12:46 +01:00
Bill Tutt bcaf67fa59 Helps to add IPopupHandler file. 2015-05-17 23:26:24 -04:00
Bill Tutt 79a66d8bc1 Add PopupHandler properties to the controls. 2015-05-17 17:57:14 -04:00
Bill Tutt adb5ae0d77 More work on wrapping CefBrowser/CefFrame. 2015-05-17 17:41:44 -04:00
amaitland d4b4e5fd35 Manually apply merge changes from master to ManagedCefBrowserAdapter as it's now split into .h and .cpp, so can't auto merge changes 2015-05-13 09:32:50 +10:00
amaitland 0413c0bc6c Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-05-13 09:29:07 +10:00
amaitland 59ded0957d Add disable-plugins-discovery example 2015-05-13 09:25:55 +10:00
amaitland d90b30dbae Specify cache path for CefExample, so data is persisted (outputs to a cache folder in the current app directory path).
Add debug-plugin-loading command line argument example
2015-05-13 09:20:15 +10:00
amaitland e0730250fb Directly access BrowserSettings as they're internal (extra property and wrapper seems redundant) 2015-05-12 14:35:05 +10:00
amaitland 6805c188e7 Uppercase S in OffScreen - match caseing of CefSharp.OffScreen project name
Use property syntax for brevity (can use short hand in ref classes)
2015-05-12 11:05:41 +10:00
amaitland 3b27034b35 Simplify OffscreenTransparentBackground nullable bool - use GetValueOrDefault 2015-05-12 11:01:40 +10:00
amaitland cb71f46662 Merge branch 'master' of https://github.com/jamespearce2006/CefSharp 2015-05-12 10:58:58 +10:00
jamespearce2006 118cae0c24 Use BrowserSettings instead of separate property 2015-05-11 09:07:26 +01:00
amaitland f2da822963 Use MSBuild version based on VS version - was previously set at version 4.0, now uses 12.0 when building for VS2013 2015-05-11 09:06:24 +10:00
Bill Tutt 03895c1f63 Merge pull request #1018 from hvdijk/detect-winxp
Automatically detect Windows XP.
2015-05-08 17:04:29 -04:00
jamespearce2006 885f80940d Allow disabled transparency /w OSR 2015-05-08 20:36:21 +01:00
Harald van Dijk 3043b4192b Automatically detect Windows XP. 2015-05-08 20:09:46 +02:00
jamespearce2006 b1b098b676 cleanup code 2015-05-08 19:02:09 +01:00
jamespearce2006 77c058f5e3 Honour control Background property 2015-05-08 18:58:47 +01:00
jamespearce2006 e20fad9081 Simplify XAML example 2015-05-08 11:14:29 +01:00
jamespearce2006 69c8c8264c Cleanup xaml 2015-05-08 10:19:55 +01:00
amaitland 679e5e70c7 Undate embedded jQuery to v1.11.3 2015-05-08 11:40:17 +10:00
Alex Maitland 2f30c5b710 Merge pull request #1012 from amaitland/fix/cefcookie
Create a Cookie class to represent the CefCookie
2015-05-08 11:23:09 +10:00
jamespearce2006 da9d4df2c8 Cleanup code formatting 2015-05-07 23:40:56 +01:00