Commit Graph

1398 Commits

Author SHA1 Message Date
amaitland 305ebfbefb Extract DisposableEventWrapper into separate internal class 2014-06-12 01:21:10 +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
amaitland 9670d94597 Explicitly implement IRenderWebBrowser.BytesPerPixel - IRenderWebBrowser should now be fully explicit 2014-06-12 01:20:21 +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 407d581105 Spaces, not tabs, as usual. :) 2014-06-11 23:54:21 +03:00
amaitland 8b4c1f79f7 Change public commands to be straight ICommand (easier for them to be replaced if we implement an mvvm framework later) 2014-06-11 23:49:07 +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
Per Lundberg 3adbb954a9 Merge pull request #371 from amaitland/bug/duplicate-headers
Support Duplicate Headers
2014-06-11 21:51:29 +03:00
Per Lundberg fd79c18c8c Merge pull request #380 from amaitland/feature/DialogHandler
Implement CefDialogHandler based on #342
2014-06-11 00:19:15 +03:00
jornh 234250f914 Document IDialogHandler 2014-06-10 21:41:13 +02:00
jornh cd13ca7e42 Make DialogHandler visible to Wpf too 2014-06-10 21:40:04 +02:00
Per Lundberg a4cd342efd Merge pull request #389 from amaitland/enhancement/expand-error-enum
Expand CefErrorCode enum
2014-06-10 06:34:05 +03:00
amaitland d0f44163d0 Change formatting at @perlun's request 2014-06-10 11:36:23 +10:00
amaitland 446bb84f43 Add in additional Error codes and license disclaimer
Descriptions obtained from (http://src.chromium.org/svn/trunk/src/net/base/net_error_list.h)
2014-06-10 11:31:29 +10:00
amaitland dc5fdaad9f Add CefFileDialogMode enum to IDialogHandler.OnFileDialog 2014-06-06 08:01:12 +10:00
amaitland a8074f8807 Merge remote-tracking branch 'remotes/upstream/master' into feature/DialogHandler 2014-06-06 07:43:16 +10:00
jornh 461f5abc37 Merge pull request #384 from cefsharp/feature/rename-webview
Rename WebView to ChromiumWebBrowser
2014-06-05 23:00:14 +02:00
jornh eed4d94a6d Merge pull request #372 from amaitland/feature/add-onplugincrashed
Add OnPluginCrashed to RequestHandler
2014-06-05 16:15:52 +02:00
jornh 4f4741c837 OnPluginCrashed avoid blank line
As suggested by Per
2014-06-05 01:21:13 +02:00
jornh 461bac893c Also rename to ChromiumWebBrowser in test fixture so it at least can compile 2014-06-03 12:19:33 +02: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
amaitland 254f1c7bba Merge pull request #383 from amaitland/bug/Keyboard-Input-Incorrect-Instance
CEF3: Keyboard input is sent to wrong WebView instance sometimes
2014-06-03 11:51:17 +10:00
amaitland 42c0419d41 Resolve issue #242 CEF3: Keyboard input is sent to wrong WebView instance sometimes 2014-06-03 11:45:42 +10:00
amaitland 4baf13f3d6 Merge pull request #377 from jornh/no-sync-over-async
No sync over async
2014-06-03 10:32:09 +10:00
amaitland 46b7f4ab9c Amend Xml comment 2014-06-03 10:19:12 +10:00
jornh 6d39dd1f56 Back out .NET 4.5 Task stuff for now 2014-06-02 23:58:06 +02:00
Per Lundberg daadce8417 Simplified the documentation comments a bit. We don't need to prefix every single command description with "Command which"... :) 2014-06-02 13:04:39 -07:00
Per Lundberg 4b865946c3 Renamed the WPF control also, in line with how System.Windows.Controls.WebBrowser is actually named. 2014-06-02 13:00:03 -07:00
Per Lundberg f519566a48 Whitespace fix. 2014-06-02 12:54:57 -07:00
Per Lundberg 7312935e18 Added missing copyright header. 2014-06-02 12:52:28 -07:00
Per Lundberg 57051ad7c5 Let's simplify things a bit by using the same copyright year for this file also (even though it didn't exist back in 2010). 2014-06-02 12:51:58 -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
Per Lundberg 728bff341b Added missing license header also. 2014-06-02 11:27:27 -07:00
Per Lundberg 6b2a8d7011 Fixed spelling error + updated string which was funkily replaced a while ago when doing mass updates to the file headers. Also, refer to CefSharp.Core now, since that's where the reference comes from. 2014-06-02 11:26:56 -07:00
Per Lundberg 329c6ec126 Extracted the KeyType enumeration into a file of its own. 2014-06-02 11:22:48 -07:00
amaitland 48339c2a14 Spaces not tabs 2014-06-03 00:25:37 +10:00
amaitland 7a5de124fe Add TempFileDialogHandler for easy testing of DialogHandler - generates a random filename 2014-06-02 16:36:14 +10:00
amaitland bc15305601 Rename method OnOpenFile to OnFileDialog - match Cef naming (reduce confusion when consulting upstream documentation) 2014-06-02 16:33:01 +10:00
amaitland aa651bf71e Return result from IDialogHandler.OnOpenFile 2014-06-02 16:30:19 +10:00
amaitland 26ba66ff0e Implement vector to List<string> method (just returned an empty List before) 2014-06-02 16:15:26 +10:00
amaitland 1e4dfe7329 Add missing deceleration keyword 2014-06-02 16:14:37 +10:00
amaitland 29000d2c40 Remove code duplication 2014-06-02 15:29:09 +10:00