Commit Graph

2231 Commits

Author SHA1 Message Date
amaitland 89a04abef9 Untabify 2015-02-15 22:29:59 +10:00
amaitland b6ac43a0a8 Merge remote-tracking branch 'remotes/upstream/master' into improvements/more-wpf-rendering-tweaks 2015-02-15 22:26:03 +10:00
amaitland 6d4a766c32 Remove IMouseEvent interface - served no real purpose 2015-02-03 23:07:00 +10:00
amaitland da16d9f0eb Cleanup code as per feedback in PR #732 2015-02-03 23:05:43 +10:00
amaitland 38e60a97f3 Merge branch 'feature/2171-drag-drop' of https://github.com/Bodekaer/CefSharp into enhancement/focus-take4 2015-02-03 22:54:46 +10:00
amaitland bfec2c95b1 Add IBitmapFactory so that different Rendering methods can be plugged in (potentially a .Net 4.5 InteropBitmapInfo can be created)
Move into Rendering namespace
2015-01-29 15:25:08 +10:00
amaitland 524f5cb213 Merge branch 'enhancement/writeablebitmap' into improvements/more-wpf-rendering-tweaks 2015-01-29 11:54:12 +10:00
amaitland 0c45119f17 Remove SetBufferHelper method and move code inline so some minor tweaks can be performed like only setting variables when required (Small things I know though important in such a performance critical section) 2015-01-29 11:50:13 +10:00
amaitland 823889099d Allow setting IsLocal and IsDisplayIsolated for a CustomScheme
Added relevant xml comments
2015-01-29 11:50:13 +10:00
pushplay aba800a9c3 Implement CefGeolocationHandler::OnRequestGeolocationPermission delegating the request to a CefSharp.IGeolocationHandler implementation. This allows CefSharp to permit geolocation requests. 2015-01-26 14:16:46 -08:00
amaitland 953d917226 Add JSB support for Methods with optional params 2015-01-22 12:54:38 +10:00
amaitland ec9ad7107d Update AssemblyCopyright year (At somepoint it would be nice to update the source files, though that may have to wait until much later) 2015-01-20 18:53:09 +10:00
amaitland bf4983b52d Resolve null pointer exception - Functions/Methods that return null or have no return value were through an exception 2015-01-19 11:45:24 +10:00
amaitland 2defbb59e2 Untabify 2015-01-16 14:05:54 +10:00
amaitland 899e991a0a First attempt at WritableBitmapInfo implementation - uses dirty rects to determine which part of the screen to update 2015-01-16 14:02:08 +10:00
amaitland c2242e5158 Create another layer of abstraction around BitmapInfo - Allow for future possibility of implementing WritableBitmap in WPF 2015-01-16 12:22:40 +10:00
amaitland 4562b984ab Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2015-01-16 11:53:25 +10:00
amaitland fce5f06362 Remove unused resultString param, CefJSDialogCallback->Continue is used for multiple callbacks, in this case only the success param is required.
Change isReload to a normal param (was an out param), so the user can be notified correctly
Add some rough documentation to IJsDialogHandlerAdd some additional comments to JsDialogHandler for demonstrating code to users

Add JsDialogHandler that implements the default behavior
Assign in the WinForms example

Fix typo in IRequestHandler
2015-01-11 14:05:10 +10:00
amaitland a4cdd5b04a Merge branch 'master' of https://github.com/daveaton/UpStream_CefSharp 2015-01-11 13:17:22 +10:00
amaitland c0cdae9ee3 Improve LoadHtml comment, include a valid example of the url param 2015-01-09 20:59:31 +10:00
amaitland ff678b5ae2 Remove duplicate JavascriptObject analysis code - add additional params 2015-01-09 13:33:24 +10:00
amaitland 6f5730e5c8 Rename Analyse method to AnalyseObjectForBinding
Add additional comment about it's functionality
2015-01-09 12:26:27 +10:00
amaitland 94eff90411 Revert JavascriptKnownTypesRegistra changes - go back to using just knowntype attribute as it's no longer required. 2015-01-09 12:22:10 +10:00
amaitland 224cbcda9f First step towards getting JSB functions to return complex types - uses JavascriptOjbect/JavascriptProperty classes to represent the metadata transferred over WCF
(Sending the complex type it's self is difficult as the type is not known by both client and server)
2015-01-09 12:18:56 +10:00
amaitland 901a70ac00 Automatically register function return types with WCF (only solves have the equation as the subprocess has no idea during deserialization) 2015-01-08 15:43:56 +10:00
amaitland ff634e299b Replace IWebPluginInfo with WebPluginInfo
Instead of wrapping the Cef object, just read it's properties through a helper method
2015-01-08 13:00:49 +10:00
Bodekaer 3407a91d1d Added drag-drop support, to allow dragging files, text and links into the browser (WPF-only currently) 2015-01-07 16:10:56 +01:00
daveaton 82affbebb6 Changed Small case and spaces changes 2015-01-06 05:12:19 -06:00
daveaton 3202167a61 Revert "Small case and space changes"
This reverts commit 74a2f1a13a.
2015-01-06 05:08:19 -06:00
amaitland 0a3ef1d0e2 Add service ServiceKnownTypes for object[] and Dictionary<string, object> so that basic arrays can be passed two and from functions 2015-01-06 20:42:52 +10:00
daveaton 74a2f1a13a Small case and space changes 2015-01-06 04:39:58 -06:00
amaitland ba7dcdc1a6 Merge remote-tracking branch 'remotes/upstream/master' into improvements/2171 2015-01-06 16:14:21 +10:00
MantisCore 1cc6ab2f5e Changed the ResourceHandler constructor overload taking a stream to a method FromStream instead to make it more consistent with existing methods. 2014-12-27 12:22:16 +01:00
MantisCore eabfcff3fe Added constructor overloads to ResourceHandler to enable supplying an existing resource stream. 2014-12-27 11:56:54 +01:00
daveaton 4d056bca41 Simple Fix to OnBefore Unload
Added is_Reloaded
2014-12-25 21:54:09 -06:00
daveaton bbc03c0741 Extend IJsDialogHandler To Include OnBeforeUnload Dialog Messages
Extended IJsDialogHandler to catch on exit Javascript Dialog messages.
2014-12-25 14:07:42 -06:00
amaitland abbb3145c8 Merge remote-tracking branch 'remotes/upstream/cef/2171' into improvements/2171 2014-12-22 23:06:23 +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 f805f50544 Save the internal byte array of MemoryStream from being expanded unnecessarily as per https://github.com/cefsharp/CefSharp/pull/691#issuecomment-67116871 2014-12-16 16:19:51 +10:00
amaitland e235cf1598 Spelling mistakes 2014-12-16 12:35:03 +10:00
amaitland c6a387e592 Add LoadHtml overrides with Encoding param (default is UTF-8) 2014-12-16 10:48:16 +10:00
amaitland 85024f2fb0 Add ability to specify FromText Encoding and Preamble (without a preamble then Cef will use DefaultEncoding to render the html) 2014-12-16 10:43:44 +10:00
amaitland 7ef8406179 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-09 21:38:44 +10:00