Commit Graph

1046 Commits

Author SHA1 Message Date
amaitland 0572ef6a25 Add isMainFrame to OnBeforeResourceLoad 2015-03-18 17:44:19 +10:00
dimas bc56e2f91f Adding comment for the IsMainFrame parameter 2015-03-18 15:02:10 +08:00
dimas 16bc1215ee Passing IsMainFrame as parameter to the OnBeforeBrowse 2015-03-18 13:15:25 +08:00
Jan Kurianski d9e272c4d8 Merge pull request #877 from numbersint/fixes/more-error-codes
Added many missing error codes to CefErrorCode.cs
2015-03-12 15:37:40 +11:00
jankurianski bb2a7d0345 Added many missing error codes to CefErrorCode.cs
From Chromium's net/base/net_error_list.h.  Also added a comment to
indicate where the error codes were sourced from.
2015-03-12 14:35:08 +11:00
amaitland a0ba80ca6c Add HasHandlers property to IResourceHandlerFactory - immediately return NULL if no handlers registered 2015-03-12 12:38:23 +10:00
Alex Maitland 6fca20b632 Merge pull request #857 from rassilon/CleanupResourceHandler
Rename IResourceHandler to IResourceHandlerFactory.
2015-03-05 18:26:58 +10:00
James 44fa52cc96 Update ResourceHandler.cs
Missing mime type for svg added
2015-03-05 14:57:27 +08:00
rassilon 9ebe4fcdc2 Hopefully the last of the IDE overzealous comment renaming. 2015-03-03 01:44:19 -05:00
rassilon 6d8f8866b0 Rename files to new name. 2015-03-03 00:19:52 -05:00
rassilon be06762512 Correct over zealous renames in comments. 2015-03-03 00:15:44 -05:00
rassilon a04d3c6eb8 Rename IResourceHandler to IResourceHandlerFactory. 2015-03-02 23:08:04 -05:00
rassilon a300631954 Do a little cleaning up of StreamAdapter to more effeciently deal with MemoryStreams, and add lame header to ResourceHandler usage in CefExample.cs.
Additionally, allocate Headers NameValueCollection in constructor.
2015-03-02 19:02:37 -05:00
amaitland aada02c356 Add ScreenInfo class to represent Width/Height/ScaleFactor 2015-03-02 10:40:01 +10:00
Bjarte Skogøy f8c242e88d Use device scale factor to support higher DPI on WPF 2015-02-25 09:31:58 +01:00
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