Commit Graph

152 Commits

Author SHA1 Message Date
amaitland 286b590960 Rename EvaluateScript to EvaluateScriptAsync for consistency 2014-09-15 12:15:48 +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 bdbb8c3f45 Register sample JS BoundObject after Handle is created (Handle creates managedCefBrowserAdapter) 2014-09-11 17:45:47 +10:00
amaitland 08d557ca46 Fix whitespace 2014-09-02 12:04:39 +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 4a3f459956 Add Task Timeout and change default timeout value to 60 seconds 2014-08-29 12:55:22 +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 ef5ef1a704 Remove unused BoundObjects dictionary 2014-08-29 10:09:02 +10:00
amaitland 0ed7555ba0 Change ExecuteScript to ExecuteScriptAsync and return a Task, changed IWebBrowser interface and simply wrapped the backend call.
This at least gets the API inline with what I'd expect in the future, still need to change WCF to use Async, this is a start.
Ideally would like to port @JanEggers PR #289 and have a Cef driven TaskScheduler
2014-08-29 10:00:41 +10:00
amaitland 31efce45e7 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-08-22 13:44:10 +10:00
amaitland 4fb72c9237 Fix incorrect version number in comment 2014-08-21 20:20:08 +10:00
amaitland 5e7e8b6304 Merge remote-tracking branch 'remotes/upstream/master' into feature/add-devtoolsurl 2014-08-21 20:18:42 +10:00
amaitland 024620cd78 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-08-21 20:17:47 +10:00
Adrian Phinney d5d3077735 Implemented OnStatusMessage and event for WPF and WinForms. 2014-08-12 08:57:06 -04:00
amaitland d3237a0721 Add DevToolsUrl property for temporary use until upgrade to Cef 1738 2014-08-05 11:45:54 +10:00
amaitland ff2c90b0ff Implement WinForms RegisterJsObject 2014-07-08 17:11:34 +10:00
amaitland eef01bb1ed Merge remote-tracking branch 'remotes/upstream/master' into feature/DownloadHandler 2014-06-12 12:24:22 +10:00
amaitland 32a68c0a1c Implement IWebBrowserInternal explicitly 2014-06-12 01:43:40 +03:00
amaitland e6bc1d951b Set IsBrowserInitialized in WinForms WebView 2014-06-12 01:20:49 +03:00
amaitland 92ddf8286b Expose Delete (part of the Cut/Copy/Paste suite of commands) 2014-06-12 01:20:39 +03:00
Per Lundberg 26e7a36d3e Forward-port of ec4e0650c6 from @amaitland: API cleanup - move non WPF specific commands from IWpfWebBrowser to IWebBrowser (The files had changed, so it was easier to just redo the change than trying to get the merge working). 2014-06-12 01:12:34 +03:00
amaitland f2510c31a1 Change IWebBrowser.LoadError to have proper EventArgs (LoadErrorEventArgs) 2014-06-11 23:46:42 +03:00
amaitland 8c97e29e2a Move DownloadHandler from IRequestHandler to directly on IWebBrowser 2014-06-11 14:47:19 +10:00
amaitland a8074f8807 Merge remote-tracking branch 'remotes/upstream/master' into feature/DialogHandler 2014-06-06 07:43:16 +10:00
amaitland 086172c606 Merge remote-tracking branch 'remotes/upstream/master' into feature/DialogHandler 2014-06-03 19:28:30 +10:00
Per Lundberg 9bf90d573f Merge commit '254f1c7bba9bde5b7acf1a8a538ca0d53421d0bd' into feature/rename-webview
Conflicts:
	CefSharp.WinForms.Example/BrowserForm.cs (manually merged)
2014-06-02 23:36:25 -07:00
Per Lundberg 7312935e18 Added missing copyright header. 2014-06-02 12:52:28 -07:00
Per Lundberg de0f1fefac Renamed the WinForms WebView to ChromiumWebBrowser, in line with how System.Windows.Forms.WebBrowser is named. (and our browser control is arguably very similar in nature to the Microsoft ones) 2014-06-02 12:50:55 -07:00
amaitland 0e687c48e0 Merge remote-tracking branch 'remotes/upstream/master' into feature/DialogHandler 2014-06-02 15:07:27 +10:00
jornh 95d98db46d Revert "Add GetText() sync method"
This reverts commit 9369967c7f.
2014-06-01 18:43:11 +02:00
jornh 65f5880010 Remove the GetSource() sync-over-async wrapper from WebView again 2014-06-01 18:40:50 +02:00
amaitland 9369967c7f Add GetText() sync method 2014-05-29 13:03:55 +10:00
amaitland aa1f2725a9 Add GetSource() Sync method and WinForms example usage 2014-05-29 12:59:51 +10: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
JanEggers 6bbe660df0 Merge remote-tracking branch 'upstream/master' into ExplitImplementInternalInterface 2014-05-21 08:45:25 +02:00
JanEggers 7ccc5a59ee implement dispose and use repo in cef for emergency dispose on shutdown 2014-05-17 06:00:12 +02:00
JanEggers 6f5a7c5435 close gets called in dispose so this call is redundant 2014-05-17 05:58:38 +02:00
JanEggers 9d875c0eca also implement internal interfaces explicit for win forms browser 2014-05-15 18:57:49 +02:00
amaitland 945866e001 Merge remote-tracking branch 'CefSharp/Master' into feature/add-text-search 2014-05-14 11:28:04 +10:00
amaitland 197dc10cd9 Add httpStatusCode to OnFrameLoadEnd 2014-05-13 16:57:49 +10:00
amaitland 6aa917fa63 Rename event handler reference (for consistency) 2014-05-13 16:47:30 +10:00
amaitland 95ae4fd09d Move Find and StopFinding methods from IWpfWebBrowser to IWebBrowser and implement in WinForms WebView 2014-05-13 12:42:23 +10:00
amaitland cc60e7785e Another event handler cleanup (take reference before use) 2014-05-12 14:24:33 +10:00
amaitland d5393f74f3 Rename LoadStart to FrameLoadStart 2014-05-12 14:11:39 +10:00
amaitland 260f8b1f39 Rename LoadCompleted to FrameLoadEnd (event is actually triggered when the loading of each frame is complete) 2014-05-12 14:09:30 +10:00
amaitland 59e437fa12 Add isMainFrame bool to OnFrameLoadEnd 2014-05-12 11:30:18 +10:00
amaitland b349a0d361 Add isMainFrame param to OnFrameLoadStart 2014-05-12 11:25:42 +10:00
amaitland 94eddc3ff2 Add TitleChanged event handler 2014-05-12 11:04:51 +10:00
amaitland ace598eedf Add AddressChanged event 2014-05-12 11:01:37 +10:00
amaitland e297bd9ca0 Take reference to Delegate before check/execute (best practice) 2014-05-07 16:49:58 +10:00