Commit Graph

34 Commits

Author SHA1 Message Date
amaitland c3aff2f803 Resharper inspired cleanup - remove redundant using 2015-01-08 10:39:40 +10:00
amaitland 592149ea21 Simplified OffScreen InvokeRenderAsync again - create bitmap using the BackBufferHandle directly rather than copying the memory 2014-12-30 12:46:15 +10:00
amaitland 22f70bbb9e Copy the buffer directly into the bitmap rather than converting to InteropBitmap then back again
Bitmap property was unused, so change to IsCleared property for now
2014-12-30 12:37:00 +10:00
amaitland 8b92441fec Remove the second lock in InvokeRenderAsync - now using the same lock object for GdiBitmap 2014-12-30 10:56:51 +10:00
amaitland 16905e02a7 Simplify ScreenshotAsync, now just uses a TaskCompletionSource 2014-12-30 10:27:07 +10:00
amaitland 794114c53e Fix comment formatting
Remove `this.` - no need
2014-12-30 09:59:48 +10:00
amaitland f9821ae549 Add offScreenRendering param to ManagedCefBrowserAdapter and create the relevant Client Adapter as required. 2014-12-30 08:53:16 +10:00
amaitland 8b8d97e350 Pass in WPF Window handle when creating offscreeen browser 2014-12-30 08:42:29 +10:00
amaitland af24c31592 Add license disclaimer to GdiBitmapInfo 2014-12-22 23:16:57 +10:00
amaitland abbb3145c8 Merge remote-tracking branch 'remotes/upstream/cef/2171' into improvements/2171 2014-12-22 23:06:23 +10:00
amaitland 78bbc23bd2 Implement AddWordToDictionary and ReplaceMisspelling in CefSharp.Offscreen 2014-12-22 17:24:07 +10:00
amaitland 3a2dc3ff44 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-22 16:51:23 +10:00
amaitland 9ce2c07888 Reanme SetNavState to SetLoadingStateChange (Internal method rename, to keep inline with Cef API, no external naming changes so shouldn't affect user, just makes it a little easier when looking at the Cef documentation) 2014-12-22 16:48:54 +10:00
amaitland c7fe363126 Renamed CanReload param on SetNavState to isLoading as that's the value passed through from Cef
Add IsLoading property to NavStateChangedEventArgs (inverse of CanReload)
Whilst `CanReload` is the inverse of `IsLoading` I think from a support point of view it's easier to have both as users are looking for some sort of loading flag
2014-12-22 16:44:05 +10:00
amaitland 85c44f7754 Move BytesPerPixel to BitmapInfo - simplifies code 2014-12-16 23:41:11 +10:00
amaitland 520349d643 Make BitmapInfo abstract and implement a strongly typed version in WPF and OffScreen 2014-12-16 23:19:21 +10:00
amaitland da6e95e898 Remove redundant SetBitmap method from IRenderWebBrowser 2014-12-16 19:44:31 +10:00
amaitland 4dd0328712 Remove redundant ClearBitmap method from IRenderWebBrowser 2014-12-16 19:42:49 +10:00
amaitland d3d8d53e15 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-16 19:27:13 +10:00
amaitland 6089015c99 Add NavstateChanged EventHandler to OffScreen 2014-12-16 17:21:33 +10:00
amaitland c6a387e592 Add LoadHtml overrides with Encoding param (default is UTF-8) 2014-12-16 10:48:16 +10:00
amaitland 7ef8406179 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-09 21:38:44 +10:00
amaitland ba06c3d892 Change LoadHtml to register a ResourceHandler 2014-12-09 12:41:21 +10:00
amaitland 3e2511bb81 Add DefaultResourceHandler implementation 2014-12-09 12:37:21 +10:00
amaitland 5c50f5ea8b Split GetResourceHandler out of IRequestHandler into it's own IResourceHandler interface 2014-12-09 12:27:32 +10:00
daveaton 175ed7c972 Added Missing Include and included missing get sets
The project will build now..  got to figure out what's needed for
DragData.cs and DragOperationsMask.cs
2014-12-08 20:55:21 +10:00
amaitland e08051fcd7 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-11-27 13:12:49 +10:00
amaitland eab35e7306 Merge branch 'feature/focus-handler-ext' of https://github.com/numbersint/CefSharp 2014-11-26 13:32:40 +10:00
jankurianski 3bbb01c6ef Added IFocusHandler and WinForms example. 2014-11-25 22:29:35 +11:00
amaitland 8ba6b6bde5 Add NavStateChanged EventHandler to WPF control
Add NavStateChanged to IWebBrowser
Update xml comment
Add stub to Offscreen ChromiumWebBrowser
2014-11-25 21:26:40 +10:00
amaitland 7058a9bc29 Update OffScreen browser to support 2171 2014-11-18 13:53:55 +10:00
amaitland eded63be55 Hopefully the final renaming 2014-11-18 13:32:38 +10:00
amaitland f3f9fd2ed1 Rename Offscreen in AssemblyInfo 2014-11-18 13:31:01 +10:00
amaitland 4ba99d274c Finish renaming 2014-11-18 13:16:51 +10:00