Commit Graph

65 Commits

Author SHA1 Message Date
amaitland a8c64a8346 Rename OnInitialized to OnAfterBrowserCreated - naming consistency 2014-10-01 10:35:28 +10:00
amaitland 16f3bc4753 When trying to get browser from frame, occasionally a null pointer was occurring as per #493.
Cleanup logic to handle null pointer, also simplify as was a little convoluted.
2014-09-29 17:56:33 +10:00
amaitland be73858233 Include BrowserId in EvaluateScriptAsync WCF call - needed for when there are multiple browser instances created in the one render process 2014-09-16 11:53:07 +10:00
amaitland a2096292b7 Add EvaluateScriptAsync timeout validation 2014-09-15 12:28:33 +10:00
amaitland 286b590960 Rename EvaluateScript to EvaluateScriptAsync for consistency 2014-09-15 12:15:48 +10:00
amaitland 003a857412 Simplify if statement 2014-09-15 12:12:34 +10:00
amaitland 6505f43b15 EvaluateScript now accepts a nullable timespan and only executes a timeout if a value is specified 2014-09-15 12:11:31 +10:00
amaitland 2c4d179c5d Change ExecuteScriptAsync to return JavascriptResponse so error messages and result can be returned 2014-09-02 12:02:32 +10:00
amaitland 779f29fe1b Tinkering with WCF and service callbacks
Add TaskCompletionSource so that script task will execute after a reference to the OperationContext has been obtained (Can then call GetCallbackChannel)
2014-09-01 15:29:22 +10:00
amaitland b714cf759e Change timeout to timespan 2014-08-29 12:37:33 +10:00
amaitland e9fdeceb63 Change IRenderProcess to return Task<object> - moving towards having proper WCF async 2014-08-29 11:15:54 +10:00
amaitland 901a6358cb Change BrowserProcessService to reference JavascriptObjectRepository directly - simplifies code
Also had to fix up int to long conversion as Id must have changed types at some point
2014-08-28 12:53:36 +10:00
Per Lundberg d593f11a89 C++ part of the name change done a few commits ago. Unfortunately, C++ doesn't allow itself to be refactored as easily as e.g. C#... :( 2014-06-12 04:30:09 +03:00
Per Lundberg a3bbd6e1f0 Merge commit '36ed4dbdc0cf0cb0d6b294df9d81a6a4fb7c1646' into JsBinding_WIP. This was taking @JanEggers changes and merging them into my local branch.
Conflicts:
	CefSharp.Core/CefSharp.Core.vcxproj
	CefSharp.Wpf.Example/ViewModels/BrowserTabViewModel.cs
	CefSharp/Internals/IWebBrowserInternal.cs
2014-06-12 02:10:08 +03:00
Per Lundberg d662860344 Merge branch 'master' into JsBinding_WIP. This was a bit of work but not *that* hard after all. Let's see if it compiles also, but I'll keep any required changes for that in a changeset of its own (so that it's easier to follow for you guys).
Conflicts:
	CefSharp.Core/CefSharp.Core.vcxproj
	CefSharp/CefErrorCode.cs
	CefSharp/CefEventFlags.cs
	CefSharp/CefSettingsBase.cs
	CefSharp/Internals/IWebBrowserInternal.cs
2014-06-12 02:07:27 +03:00
amaitland 92ddf8286b Expose Delete (part of the Cut/Copy/Paste suite of commands) 2014-06-12 01:20:39 +03:00
JanEggers 52b52cead9 fixed global rigistered objects not to be bound 2014-06-07 09:27:52 +02:00
JanEggers d8cec9be63 Merge remote-tracking branch 'upstream/master' into JsBinding_WIP 2014-06-02 20:06:02 +02:00
jornh 3fa7dcbfbf Merge pull request #373 from amaitland/feature/get-source
Add GetSource() and GetText() including their XxxAsync() counterparts
2014-05-30 18:03:23 +02:00
amaitland ee3fcb5505 Implement GetSource and GetText in an Async fashion - uses TaskStringVisitor as a wrapper around a TaskCompletionSource 2014-05-29 12:57:39 +10:00
amaitland f85e7a546d Add GetSource() method (Requires CefStringVisitor implementation) - performs GetSource() in an async fashion, so doesn't just return a value 2014-05-29 12:24:54 +10:00
JanEggers 731ebf67a9 reversed subprocess communication now Browser is host and renderer is client 2014-05-24 19:43:34 +02:00
JanEggers 388a23edbe added exception in case of missing initialization call 2014-05-23 23:00:49 +02:00
JanEggers 9aae266bca "logical merge" of passing the managedCefBrowserAdapter and calling OnInitialized on it and passing an Action and calling that action if a browser is created 2014-05-20 22:50:15 +02:00
JanEggers db71d32881 Merge remote-tracking branch 'upstream/master' into JsBinding_WIP 2014-05-20 20:47:13 +02:00
JanEggers 70066fd1f4 missing file 2014-05-15 19:13:49 +02:00
JanEggers 5e018e56b7 Merge remote-tracking branch 'upstream/master' into DisposePatternV2 2014-05-15 19:10:21 +02:00
amaitland 945866e001 Merge remote-tracking branch 'CefSharp/Master' into feature/add-text-search 2014-05-14 11:28:04 +10:00
JanEggers 0ef76dca05 wire calls from the renderprocess with the objects in the browserprocess 2014-05-10 20:01:35 +02:00
JanEggers 363734e0aa next step: metadata can be transported via wcf and is automatically converted to wrapper objects so we have fields to store native stuff 2014-05-10 17:26:57 +02:00
JanEggers e8d60b32c4 added some more meta data 2014-05-10 15:44:00 +02:00
JanEggers d7f8c8961b wired method calls to reach the BrowserProcess 2014-05-08 22:21:06 +02:00
amaitland 2c39ce32bb Add Stop method to ManagedCefBrowserAdapter 2014-05-07 16:22:41 +10:00
amaitland 4ba0a54f9b Expose Cef Find and StopFind methods 2014-05-05 13:07:52 +10:00
Per Lundberg 0f1e18826f Merge pull request #308 from JanEggers/FixedBinding
fixed binding
2014-04-20 17:25:32 +03:00
jornh 0b3d13265e Add Print() now that it's supported in the CEF 1650 branch 2014-04-17 09:41:12 +02:00
jornh 5e7e3ae06f Merge pull request #328 from amaitland/feature/additional-key-bindings
Add Missing key bindings Ctrl-A, Z and Y
2014-04-16 14:23:47 +02:00
jornh 00501fe8bb Merge branch 'feature/add-reload-overload' of https://github.com/amaitland/CefSharp into amaitland-feature/add-reload-overload
Conflicts:
	CefSharp.Wpf/IWpfWebBrowser.cs resolved manually
2014-04-16 13:30:39 +02:00
amaitland 40895c73ea Add Missing key bindings
Add SelectAll
Add Undo
Add Redo
2014-04-16 17:55:23 +10:00
Per Lundberg 2b0d6bd62b Apparently, I missed some files in my earlier commits. Bummer! 2014-04-15 22:55:29 +03:00
amaitland 7ca2dcddaf Fix code formatting - add missing space in ManagedCefBrowserAdapter
Fix code comment - Update Reload function code comment with suggestion in IWpfWebBrowser
2014-04-15 10:24:23 +10:00
Per Lundberg 69afa79b3a Merge pull request #306 from amaitland/master
WPF ZoomIn/Out Functionality
2014-04-14 23:06:13 +03:00
jornh 20f2907d34 Merge pull request #321 from amaitland/bug/key-modifier-not-being-sent
Key Modifier not being sent to Browser
2014-04-14 20:40:03 +02:00
amaitland 04af21434e Add Reload(bool ignoreCache) method overload allowing for force Reload of web pages 2014-04-14 18:03:23 +10:00
amaitland abe9f6d68f Add modifiers param to SendKeyEvent
Sent through key modifier so things like Shift-LeftArrow as expected
Also include Home key in list that gets sent to the browser directly
2014-04-14 15:39:36 +10:00
amaitland 64e869b6bb Added Cut method to ManagedCefBrowserAdapter
Added shortcut to CefSharp.Wpf.WebView (also changed from if else branch to switch)
2014-04-14 12:17:20 +10:00
Per Lundberg a6834426cc Added dummy implementations of these methods. 2014-04-08 18:17:25 +01:00
Per Lundberg a9a016eecf SubprocessProxyFactory is a better name of this one, since that more accurately describes its purpose. 2014-04-08 18:49:58 +02:00
amaitland 4655401632 Fix Indentation
Fix indentation from previous commit (change from tabs to spaces)
2014-04-08 10:53:41 +10:00
Per Lundberg 76872c14ca Added a silly BindingTest. None of this is really used for now. 2014-04-05 19:49:32 +03:00