Commit Graph

  • 959f432030 Manually fix some merge issues amaitland 2014-06-12 12:24:45 +10:00
  • eef01bb1ed Merge remote-tracking branch 'remotes/upstream/master' into feature/DownloadHandler amaitland 2014-06-12 12:21:52 +10:00
  • e3a00eaa3c Keep things simple. Per Lundberg 2014-06-12 04:58:41 +03:00
  • 5cae04295c Sorted usings. Per Lundberg 2014-06-12 04:57:21 +03:00
  • 3d4b4ee368 Whitespace fix. Per Lundberg 2014-06-12 04:57:14 +03:00
  • 599385f373 Whitespace cleanup. Per Lundberg 2014-06-12 04:55:19 +03:00
  • 548291b06e Use a well-known ReSharper simplification which I think ought to be OK in this case. Per Lundberg 2014-06-12 04:54:07 +03:00
  • 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#... :( Per Lundberg 2014-06-12 04:30:09 +03:00
  • 824c9667c4 Very simple ReSharper cleanups. Per Lundberg 2014-06-12 02:52:24 +03:00
  • b60de42153 And again, similar. :) Per Lundberg 2014-06-12 02:48:17 +03:00
  • 55ac83c546 Similar changes. Per Lundberg 2014-06-12 02:46:47 +03:00
  • 01a2e27275 Likewise. Per Lundberg 2014-06-12 02:45:09 +03:00
  • 9c520936d1 Better casing of the name. Per Lundberg 2014-06-12 02:44:29 +03:00
  • 6d4b16fcb6 Trivial ReSharper cleanups. Jan - have you stopped using it lately? :) Per Lundberg 2014-06-12 02:42:18 +03:00
  • 1ae5bf8d30 Trivial adjustments. Let's try to get property assignment working, shall we not! Per Lundberg 2014-06-12 02:41:59 +03:00
  • 0fd7e6c84a Let's use a better name for this one. Per Lundberg 2014-06-12 02:37:01 +03:00
  • e3a0589547 Execute SetNavState on UI Thread amaitland 2014-05-23 16:54:53 +10:00
  • 6496a28a24 Updated because the webView is now just called 'browser' in the .xaml file. Per Lundberg 2014-06-12 02:33:20 +03:00
  • 901c851e57 Need to include the <vector> header for VS2013 to be able to compile the code now. Per Lundberg 2014-06-12 02:31:16 +03:00
  • c84bc19bdb The other half of the b65587cdfc change. Per Lundberg 2014-06-12 02:19:31 +03:00
  • 264dddd530 Likewise; this file no longer exists in this project. We should REALLY try to get the JS stuff merged as soon as possible since it's rather costly to let it live on its own branch this long. Per Lundberg 2014-06-12 02:18:30 +03:00
  • 801d425cdc These do not exist. Per Lundberg 2014-06-12 02:17:09 +03:00
  • b65587cdfc CefKeyType is now called just KeyType, for simplicity. (or maybe stupidity. ;) Per Lundberg 2014-06-12 02:16:53 +03:00
  • d34a67a516 Duh. The same file was specified multiple times; feels like quite a waste, doesn't it. Per Lundberg 2014-06-12 02:12:50 +03:00
  • b8c7f23972 Thank you, ReSharper. :) Per Lundberg 2014-06-12 02:11:29 +03:00
  • a3bbd6e1f0 Merge commit '36ed4dbdc0cf0cb0d6b294df9d81a6a4fb7c1646' into JsBinding_WIP. This was taking @JanEggers changes and merging them into my local branch. Per Lundberg 2014-06-12 02:10:08 +03:00
  • 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). Per Lundberg 2014-06-12 02:07:27 +03:00
  • 682adee813 I don't like empty lines. :-) Let's add a slightly explanatory comment instead, to help people (hopefully) know what to do. Per Lundberg 2014-06-12 02:00:33 +03:00
  • aeeaf79035 Implement CefKeyboardHandler.OnPreKeyEvent amaitland 2014-06-10 16:57:45 +10:00
  • e515a606ef Remove NavigationType unused enum amaitland 2014-06-11 17:03:26 +10:00
  • 81a0f60db3 Update LogSeverity to reflect cef_log_severity_t amaitland 2014-06-11 17:02:02 +10:00
  • 27040fa8b3 Move CefEventFlags into it's own class amaitland 2014-06-10 16:39:27 +10:00
  • 3ec232a73e Move NavigationType to it's own file amaitland 2014-06-06 09:04:00 +10:00
  • d092b3e66c Implement basic DownloadHandler (can now save a file to disk correctly) amaitland 2014-05-29 08:28:53 +10:00
  • 36503b616c Assign RequestHandler in BrowserTabView amaitland 2014-05-29 08:18:33 +10:00
  • 5755516ed6 Second half of the 500cca5e6e commit. Per Lundberg 2014-06-12 01:55:10 +03:00
  • 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) amaitland 2014-05-29 08:15:24 +10:00
  • ff03b13a33 Create CefExample class to house common Init() and DefaultUrl amaitland 2014-05-29 08:10:44 +10:00
  • 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. amaitland 2014-05-25 13:43:04 +10:00
  • 9f0ea3a987 Comment out OnResourceResponse as it's not currently implemented (not direct translation from CEF1 to CEF3) amaitland 2014-05-23 16:32:39 +10:00
  • 32a68c0a1c Implement IWebBrowserInternal explicitly amaitland 2014-05-23 15:58:48 +10:00
  • 1dd617015e ReSharper-inspired cleanups from e911753dc7. amaitland 2014-05-23 14:39:08 +10:00
  • 26f3778262 Surround dependency properties with regions, like the rest of the (unfortunately massively huge) file. Manual cherry-pick of @JanEggers 9b9bfee8f9. Per Lundberg 2014-06-12 01:38:46 +03:00
  • 5ad6a0f34d Trivial ReSharpenings/cleanups. Per Lundberg 2014-06-12 01:35:55 +03:00
  • dd01b21fbd Let's complete the circle by adding the CanReload method to the public/generic-most interface also. Per Lundberg 2014-06-12 01:30:47 +03:00
  • ecbb961624 Once again, the lack of "continuous integration" before commit is apparent. :P Per Lundberg 2014-06-12 01:28:42 +03:00
  • 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... ;) Per Lundberg 2014-06-12 01:25:14 +03:00
  • 305ebfbefb Extract DisposableEventWrapper into separate internal class amaitland 2014-05-23 12:32:11 +10:00
  • e6bc1d951b Set IsBrowserInitialized in WinForms WebView amaitland 2014-05-23 12:27:36 +10:00
  • 92ddf8286b Expose Delete (part of the Cut/Copy/Paste suite of commands) amaitland 2014-05-23 12:25:18 +10:00
  • 9670d94597 Explicitly implement IRenderWebBrowser.BytesPerPixel - IRenderWebBrowser should now be fully explicit amaitland 2014-05-23 12:15:50 +10:00
  • 53117ad7f2 Move properties LifeSpanHandler, KeyboardHandler, JsDialogHandler from IWebBrowserInternal to IWebBrowser amaitland 2014-05-23 12:11:12 +10:00
  • ef1e82d04d And why not be more explicit about this part also, while we're at it? Per Lundberg 2014-06-12 01:19:43 +03:00
  • d31732375d Since we are now in "generic land", make the comments take that into accounts. (Dependency Properties is a WPF-only feature.) Per Lundberg 2014-06-12 01:18:17 +03:00
  • 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. Per Lundberg 2014-06-12 01:14:18 +03:00
  • 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). Per Lundberg 2014-06-12 01:12:34 +03:00
  • 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. ;) Per Lundberg 2014-06-12 01:11:09 +03:00
  • 407d581105 Spaces, not tabs, as usual. :) Per Lundberg 2014-06-11 23:54:21 +03:00
  • 8b4c1f79f7 Change public commands to be straight ICommand (easier for them to be replaced if we implement an mvvm framework later) amaitland 2014-05-20 14:37:01 +10:00
  • 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. Per Lundberg 2014-06-11 23:48:47 +03:00
  • f2510c31a1 Change IWebBrowser.LoadError to have proper EventArgs (LoadErrorEventArgs) amaitland 2014-05-20 17:21:43 +10:00
  • 3adbb954a9 Merge pull request #371 from amaitland/bug/duplicate-headers Per Lundberg 2014-06-11 21:51:29 +03:00
  • 7185574cca Fix formatting amaitland 2014-06-11 16:28:32 +10:00
  • 5995026acd Amend Xml documentation for IDownloadHandler amaitland 2014-06-11 16:26:52 +10:00
  • 876f34b324 Add Example DownloadHandler to WinForms Example amaitland 2014-06-11 15:45:39 +10:00
  • dcba2d6065 Modify DownloadAdapter::ConvertCefTimeToNullableDateTime to return local time amaitland 2014-06-11 15:45:16 +10:00
  • 5fe3f16502 Complete implementation of DownloadItem amaitland 2014-06-11 15:38:15 +10:00
  • 6aff137a8a Make example DownloadHandler public amaitland 2014-06-11 15:31:36 +10:00
  • 8c97e29e2a Move DownloadHandler from IRequestHandler to directly on IWebBrowser amaitland 2014-06-11 14:47:19 +10:00
  • 8a12566b8a Split DownloadAdapter into cpp and h file amaitland 2014-06-11 13:56:57 +10:00
  • 32292ea47d Implement DownloadHandler based on current Cef API. Still needs some work amaitland 2014-06-06 11:26:27 +10:00
  • fd79c18c8c Merge pull request #380 from amaitland/feature/DialogHandler Per Lundberg 2014-06-11 00:19:15 +03:00
  • 234250f914 Document IDialogHandler jornh 2014-06-10 21:41:13 +02:00
  • cd13ca7e42 Make DialogHandler visible to Wpf too jornh 2014-06-10 21:40:04 +02:00
  • a4cd342efd Merge pull request #389 from amaitland/enhancement/expand-error-enum Per Lundberg 2014-06-10 06:34:05 +03:00
  • d0f44163d0 Change formatting at @perlun's request amaitland 2014-06-10 11:36:23 +10:00
  • 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) amaitland 2014-06-02 13:40:20 +10:00
  • 36ed4dbdc0 implemented Property Getter / Setter JanEggers 2014-06-07 09:52:45 +02:00
  • 52b52cead9 fixed global rigistered objects not to be bound JanEggers 2014-06-07 09:27:52 +02:00
  • dc5fdaad9f Add CefFileDialogMode enum to IDialogHandler.OnFileDialog amaitland 2014-06-06 07:58:10 +10:00
  • a8074f8807 Merge remote-tracking branch 'remotes/upstream/master' into feature/DialogHandler amaitland 2014-06-06 07:43:16 +10:00
  • 461f5abc37 Merge pull request #384 from cefsharp/feature/rename-webview jornh 2014-06-05 23:00:14 +02:00
  • eed4d94a6d Merge pull request #372 from amaitland/feature/add-onplugincrashed jornh 2014-06-05 16:15:52 +02:00
  • 4f4741c837 OnPluginCrashed avoid blank line jornh 2014-06-05 01:21:13 +02:00
  • 461bac893c Also rename to ChromiumWebBrowser in test fixture so it at least can compile jornh 2014-06-03 12:19:33 +02:00
  • 086172c606 Merge remote-tracking branch 'remotes/upstream/master' into feature/DialogHandler amaitland 2014-06-03 19:28:30 +10:00
  • 9bf90d573f Merge commit '254f1c7bba9bde5b7acf1a8a538ca0d53421d0bd' into feature/rename-webview Per Lundberg 2014-06-02 23:36:25 -07:00
  • 254f1c7bba Merge pull request #383 from amaitland/bug/Keyboard-Input-Incorrect-Instance amaitland 2014-06-03 11:51:17 +10:00
  • 42c0419d41 Resolve issue #242 CEF3: Keyboard input is sent to wrong WebView instance sometimes amaitland 2014-06-03 11:45:42 +10:00
  • 4baf13f3d6 Merge pull request #377 from jornh/no-sync-over-async amaitland 2014-06-03 10:32:09 +10:00
  • 46b7f4ab9c Amend Xml comment amaitland 2014-06-03 10:18:20 +10:00
  • 6d39dd1f56 Back out .NET 4.5 Task stuff for now jornh 2014-06-02 23:58:06 +02:00
  • 96d19deb34 fine tuning on analyse of .Net Objects so the BoundObject registered by the example does not throw exceptions JanEggers 2014-06-02 22:39:23 +02:00
  • eec7360204 added ToString for some classes for better debugging JanEggers 2014-06-02 22:36:50 +02:00
  • daadce8417 Simplified the documentation comments a bit. We don't need to prefix every single command description with "Command which"... :) Per Lundberg 2014-06-02 13:04:39 -07:00
  • 4b865946c3 Renamed the WPF control also, in line with how System.Windows.Controls.WebBrowser is actually named. Per Lundberg 2014-06-02 13:00:03 -07:00
  • f519566a48 Whitespace fix. Per Lundberg 2014-06-02 12:54:57 -07:00
  • 7312935e18 Added missing copyright header. Per Lundberg 2014-06-02 12:52:28 -07:00
  • 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). Per Lundberg 2014-06-02 12:51:58 -07:00
  • 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) Per Lundberg 2014-06-02 12:50:55 -07:00