Commit Graph

153 Commits

Author SHA1 Message Date
amaitland d8b9afebf2 Add DevToolsUrl to IWebBrowser 2014-09-16 20:48:14 +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 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 c99cad1c9e Merge branch 'enhancement/minor-api-changes' into feature/winforms-tabbed 2014-08-25 12:16:21 +10:00
amaitland 902d61094e Change new status event to use generic EventHandler<> 2014-08-22 13:51:54 +10:00
amaitland 762b5af0cb Merge remote-tracking branch 'remotes/upstream/master' into enhancement/minor-api-changes 2014-08-22 13:49:17 +10:00
Adrian Phinney d5d3077735 Implemented OnStatusMessage and event for WPF and WinForms. 2014-08-12 08:57:06 -04:00
amaitland 6d673a9917 Improve Xml comment 2014-07-01 12:06:57 +10:00
amaitland ac9ab99620 Remove duplicate Back() and Forward() - caused by manual cherry pick 2014-07-01 11:44:11 +10:00
amaitland 305c506bff Add back and forward to interface 2014-07-01 11:41:02 +10:00
amaitland d9f3885eeb Make print public and add to IWebBrowser
Conflicts:
	CefSharp/IWebBrowser.cs
2014-07-01 11:40:53 +10:00
amaitland 6536a77427 Add Forward() and Back() to the public interface 2014-07-01 11:40:21 +10:00
amaitland d30c1bfbe8 Add Print to IWebBrowser 2014-07-01 11:33:58 +10:00
amaitland 941d1875e0 Fix comment 2014-07-01 11:33:47 +10:00
amaitland 9e671737d4 Remove custom delegates and replace with Generic EventHandler<>'s
Conflicts:
	CefSharp.WinForms/ChromiumWebBrowser.cs
2014-07-01 11:33:34 +10:00
amaitland 68551391e8 Improve comment 2014-07-01 11:29:17 +10:00
amaitland d07e184367 Remove TooltipText setter (should only be set by Cef) 2014-07-01 11:29:05 +10:00
amaitland 489545c8a9 Add comment for TooltipText 2014-07-01 11:28:53 +10:00
amaitland 08f82cb7e1 Add xml comment for handlers 2014-07-01 11:28:45 +10:00
amaitland b46a7acbbf Add IsBrowserInitialized xml comment 2014-07-01 11:28:14 +10:00
amaitland 2a9140ee8a Remove IsLoading property setter (show never be set from user code) 2014-07-01 11:28:00 +10:00
amaitland 68edca8d35 Add license disclaimer to all files in CefSharp project 2014-06-25 16:00:08 +10:00
amaitland eef01bb1ed Merge remote-tracking branch 'remotes/upstream/master' into feature/DownloadHandler 2014-06-12 12:24:22 +10:00
Per Lundberg dd01b21fbd Let's complete the circle by adding the CanReload method to the public/generic-most interface also. 2014-06-12 01:30:47 +03:00
Per Lundberg cd948339b2 Changed CanGoBack, CanGoForward and CanReload to be dependency properties, to simplify data binding scenarios for WPF.
Cherry-pick of 082faa5266 (which had a totally incorrect/misleading commit message for whatever reason, @JanEggers... ;)
2014-06-12 01:25:14 +03:00
amaitland 53117ad7f2 Move properties LifeSpanHandler, KeyboardHandler, JsDialogHandler from IWebBrowserInternal to IWebBrowser 2014-06-12 01:20:07 +03:00
Per Lundberg ef1e82d04d And why not be more explicit about this part also, while we're at it? 2014-06-12 01:19:43 +03:00
Per Lundberg d31732375d Since we are now in "generic land", make the comments take that into accounts. (Dependency Properties is a WPF-only feature.) 2014-06-12 01:18:17 +03:00
Per Lundberg e5fea12dbc Even though it's a tad extreme, let's go with the "one-file-per-type" approach. It just makes things so much easier, and ReSharper makes these kind of changes be only a single keyboard shortcut away anyway. 2014-06-12 01:14:18 +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
Per Lundberg 1ca86e4c08 Duh. I fouled up big-time in my previous commit. Always compile before committing... I guess I should start Visual Studio and not just sit in a text editor. ;) 2014-06-12 01:11:09 +03:00
Per Lundberg 0366da6573 Slight tweaks after 'cherrying' 284e4f89f5: I feel that the delegate type can stay here; it's not strictly a part of the LoadErrorEventArgs class (so it doesn't truly belong in that file), and it's too minimal to warrant its own file... so let's leave it like it were for the time being. 2014-06-11 23:48:47 +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
jornh cd13ca7e42 Make DialogHandler visible to Wpf too 2014-06-10 21:40:04 +02: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
amaitland f818a5a084 Improve XML comments in IWebBrowser 2014-05-20 11:04:05 +10:00
amaitland 7dfeffd602 Add Stop to IWebBrowser and implement in WPF WebView 2014-05-20 11:03:29 +10:00
JanEggers 7ccc5a59ee implement dispose and use repo in cef for emergency dispose on shutdown 2014-05-17 06:00:12 +02:00
amaitland 945866e001 Merge remote-tracking branch 'CefSharp/Master' into feature/add-text-search 2014-05-14 11:28:04 +10:00
amaitland f20b1b7e35 Fix spelling mistake 2014-05-14 11:23:06 +10:00
amaitland 0e68883f13 Update XML comments using Cef API Doc as guide 2014-05-13 17:13:28 +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 c34b83880b Add FrameLoadStart to IWebBrowser and add to Wpf WebView 2014-05-12 14:15:13 +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
JanEggers 6ceb2f7213 fixed javascript spelling 2014-05-05 18:55:50 +02:00