Per Lundberg
|
682adee813
|
I don't like empty lines. :-) Let's add a slightly explanatory comment instead, to help people (hopefully) know what to do.
|
2014-06-12 02:00:33 +03:00 |
|
amaitland
|
aeeaf79035
|
Implement CefKeyboardHandler.OnPreKeyEvent
|
2014-06-12 01:59:11 +03:00 |
|
amaitland
|
e515a606ef
|
Remove NavigationType unused enum
|
2014-06-12 01:59:06 +03:00 |
|
amaitland
|
81a0f60db3
|
Update LogSeverity to reflect cef_log_severity_t
|
2014-06-12 01:58:58 +03:00 |
|
amaitland
|
27040fa8b3
|
Move CefEventFlags into it's own class
|
2014-06-12 01:58:53 +03:00 |
|
amaitland
|
3ec232a73e
|
Move NavigationType to it's own file
|
2014-06-12 01:58:45 +03:00 |
|
amaitland
|
d092b3e66c
|
Implement basic DownloadHandler (can now save a file to disk correctly)
|
2014-06-12 01:55:52 +03:00 |
|
amaitland
|
36503b616c
|
Assign RequestHandler in BrowserTabView
|
2014-06-12 01:55:34 +03:00 |
|
Per Lundberg
|
5755516ed6
|
Second half of the 500cca5e6e commit.
|
2014-06-12 01:55:10 +03:00 |
|
amaitland
|
fff9422e52
|
Rename ExamplePresenter to RequestHandler (Alex had also removed old commented out code, but I am moving that part of the change to a separate commit to help git/SourceTree better understand that the file has been renamed, so we preserve history etc)
Conflicts:
CefSharp.Example/ExamplePresenter.cs
|
2014-06-12 01:53:46 +03:00 |
|
amaitland
|
ff03b13a33
|
Create CefExample class to house common Init() and DefaultUrl
Conflicts:
CefSharp.WinForms.Example/BrowserForm.cs
|
2014-06-12 01:49:37 +03:00 |
|
amaitland
|
9e19bce707
|
Set WebBrowser = null on UI thread - when hosting the WPF control under WinForms the dispose is called on a different thread and this causes an exception. So executing on UI thread resolves this.
|
2014-06-12 01:44:50 +03:00 |
|
amaitland
|
9f0ea3a987
|
Comment out OnResourceResponse as it's not currently implemented (not direct translation from CEF1 to CEF3)
|
2014-06-12 01:44:09 +03:00 |
|
amaitland
|
32a68c0a1c
|
Implement IWebBrowserInternal explicitly
|
2014-06-12 01:43:40 +03:00 |
|
amaitland
|
1dd617015e
|
ReSharper-inspired cleanups from e911753dc7.
|
2014-06-12 01:41:11 +03:00 |
|
Per Lundberg
|
26f3778262
|
Surround dependency properties with regions, like the rest of the (unfortunately massively huge) file.
Manual cherry-pick of @JanEggers 9b9bfee8f9.
|
2014-06-12 01:38:46 +03:00 |
|
Per Lundberg
|
5ad6a0f34d
|
Trivial ReSharpenings/cleanups.
|
2014-06-12 01:35:55 +03: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
|
ecbb961624
|
Once again, the lack of "continuous integration" before commit is apparent. :P
|
2014-06-12 01:28:42 +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
|
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 |
|
amaitland
|
7185574cca
|
Fix formatting
|
2014-06-11 16:28:32 +10:00 |
|
amaitland
|
5995026acd
|
Amend Xml documentation for IDownloadHandler
|
2014-06-11 16:26:52 +10:00 |
|
amaitland
|
876f34b324
|
Add Example DownloadHandler to WinForms Example
|
2014-06-11 15:45:39 +10:00 |
|
amaitland
|
dcba2d6065
|
Modify DownloadAdapter::ConvertCefTimeToNullableDateTime to return local time
|
2014-06-11 15:45:16 +10:00 |
|
amaitland
|
5fe3f16502
|
Complete implementation of DownloadItem
|
2014-06-11 15:38:15 +10:00 |
|
amaitland
|
6aff137a8a
|
Make example DownloadHandler public
|
2014-06-11 15:31:36 +10:00 |
|
amaitland
|
8c97e29e2a
|
Move DownloadHandler from IRequestHandler to directly on IWebBrowser
|
2014-06-11 14:47:19 +10:00 |
|
amaitland
|
8a12566b8a
|
Split DownloadAdapter into cpp and h file
|
2014-06-11 13:56:57 +10:00 |
|
amaitland
|
32292ea47d
|
Implement DownloadHandler based on current Cef API. Still needs some work
|
2014-06-11 11:33:08 +10: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 |
|