Commit Graph

4985 Commits

Author SHA1 Message Date
Jonathan Taylor 3b40ca0e00 Moved capture into Opened/Closed events for Popup 2017-02-13 20:55:59 -07:00
amaitland e6bcbe4111 Finish cookie manager rewrite, resolves #1936 2017-02-14 13:15:12 +10:00
amaitland ff836fdb98 Start spilitting out the Task based callbacks that are implemented in VC++ and implement them in C# with an interface - allow direct access to underlying CEF API 2017-02-14 12:27:07 +10:00
amaitland 960c5953ba Continue with CefSharp.csproj restructure - move more classes into subfolders (again no namespace change for backwards compatibility) 2017-02-14 12:08:58 +10:00
amaitland f4814c4abb Rename Task callbacks for consistency - will move them into a new folder shortly 2017-02-14 11:59:41 +10:00
amaitland 55f5ce44b5 Remove unused using statement from CookieManager
Update  cookieManager.SetSupportedSchemes usage as no longer accepts param array
2017-02-14 11:53:41 +10:00
amaitland 33416b009b Move callback interfaces into Callback folder - leave in the CefSharp namespace to maintain backwards compatibility 2017-02-14 11:52:57 +10:00
amaitland 6e443ca091 CookieManager Rewrite - remove all the async wrappers and expose the underlying CEF API
Remove CookieAsyncWrapper as it's no longer required to perform the operations directly on the CEF IO thread.
Async extension methods will be added to maintain existing functionality
2017-02-14 11:40:12 +10:00
amaitland ee5fd34ee6 Comment out Cef example - none of the CefSharp examples have the relevant directory present.
Update xml comments on Cef.RegisterWidevineCdm
Add braces to if check - even single line if statements have braces for consistency
2017-02-13 15:55:44 +10:00
Justin Stenning 2298ea0a93 Implementation of Cef.RegisterWidevineCdm (#1935)
* Added Cef.RegisterWidevineCdm for CEF Widevine CDM registration #1934
* Added test page for WidevineCdm registration and example registration #1934
* Noted additional steps for Widevine and proprietary codecs to CdmSupportTest.html
* Link for more information changed to issue #1934 in CefExample.cs
* replaced Cef.RegisterCdmCallback's async result with IRegisterCdmCallback parameter
* RegisterCdmCallback now uses taskCompletionSource
2017-02-13 15:37:55 +10:00
Per Lundberg a3c2fd4d1a Fixed typos (#1932)
* Fixed typo

Hello there, long time no see. :)

* Fixed another one as well
2017-02-13 10:18:46 +10:00
amaitland 64b63b3dce RequestEventHandler - Change to explicit interface implementation and remove code duplication 2017-02-10 09:41:22 +10:00
Florian Obermayer ee563827ac Request event handler (#1918)
* Create RequestEventArgs.cs

* Create RequestEventHandler

* Update RequestEventArgs.cs

corrected namespace

* removed regions, splitted up classes per file

* reformatted code

* removed wrong class doc

* deleted empty line

* removed TODOs (moved them in pr comments)

* adapted @amaitland 's pr notes

* made code backwards compatible to c# < 6

* made code backwards compatible to c# < 6 ++ (moved default values for event args to ctor)

* made code backwards compatible to c# < 6 ++ (added private setters to properties)
2017-02-10 09:24:27 +10:00
amaitland 4d697e00c8 ICompletionCallback now implements IDisposable and the CefCompletionCallbackAdapter disposes of the instance when it itself is disposed of. 2017-02-09 13:16:49 +10:00
Alex Maitland fe9d6a45a9 Update README.md
Upgrade `Readme.md` to reflect `55.0.0` release.
2017-02-06 16:52:23 +10:00
amaitland 856a8dd602 Upgrade API doc link 2017-02-06 15:06:26 +10:00
amaitland 84930b0784 Update sandcastle help file version numbers to 55.0.0
Fix some other xml comments and remove some unused fields - still lots of comments that could be added
2017-02-06 15:00:45 +10:00
amaitland e515cc0bfa background_color should be BackgroundColor 2017-02-02 11:21:15 +10:00
amaitland 01e7e6f3d7 Add LoadHtml extensions method - use data uri to load the html 2017-02-02 11:21:14 +10:00
Chris c0ec00953a Re-sign x86 assembly in post build (#1914) 2017-02-01 16:28:03 +10:00
amaitland 8a9b0deb60 Upgrade to 3.2883.1552
Add isMainFrame to IRequestContextHandler.OnBeforePluginLoad (CEF API changed)
2017-02-01 13:58:51 +10:00
amaitland 2b4840fc90 Add CssAnimation example for testing purposes 2017-02-01 09:37:08 +10:00
amaitland 526fe28bc9 Add missing using statement 2017-01-31 10:01:57 +10:00
amaitland 314b3a00c7 IGeolocationHandler.OnRequestGeolocationPermission - improve comment
GeolocationHandler Example - upgrade to properly use the callback.
2017-01-30 10:05:44 +10:00
amaitland 64c6f4410a Update GetScreenPoint - still not ready for use as there has been limited testing 2017-01-30 09:39:11 +10:00
amaitland 1228f992d0 FindReplaceResponseFilter - Remove debugging code that was outputting the count as part of the response
AppendResponseFilter - Improve comment
2017-01-30 09:38:36 +10:00
Alex Maitland 08d6fa902b GetScreenPoint changes not ready
Comment out code
2017-01-28 12:46:31 +10:00
amaitland c06a6bbc58 Add NativeMethodWrapper::SetWindowPosition helper method - code is duplicated and should be revisited later 2017-01-23 16:49:14 +10:00
amaitland 29a19ac6a6 Add reference to the cefsharp/55 branch (will be created shortly) 2017-01-23 15:34:48 +10:00
Ramon F. Mendes 34ab14a457 Update README.md (#1917)
* Update README.md

HtmlView is now open-source @amaitland
2017-01-19 20:43:42 +10:00
amaitland 954c87d58b WPF Change to BitmapScalingMode.HighQuality - default it to higher and let people reduce it rather than the other way around 2017-01-19 08:55:11 +10:00
amaitland d4ef1519b9 Add IRenderWebBrowser.GetScreenPoint - basic WPF implementation 2017-01-18 07:26:05 +10:00
amaitland 03560374cc Crash Reporting - getting errors in logs when attempting to enable crash reporting so leave disabled for now 2017-01-16 11:57:17 +10:00
amaitland b72b6f7310 Example projects - Remove workaround for crash reporting spawning man app exe and switch to using crash_reporter.cfg 2017-01-16 11:38:38 +10:00
amaitland 454be3cfa8 Add Crashreport functions
https://bitbucket.org/chromiumembedded/cef/src/6e0baff75ceeb3e079b1dda4099d81573334d741/include/cef_crash_util.h?at=2883&fileviewer=file-view-default
2017-01-16 11:30:37 +10:00
amaitland 8166a34c88 Upgrade to 3.2883.1545 2017-01-16 11:19:27 +10:00
amaitland e9a5434805 Add general usage guide to NuGet/Readme.txt 2017-01-16 11:18:33 +10:00
amaitland db238f0838 Upgrade to 3.2883.1542 2017-01-12 13:09:35 +10:00
amaitland 56f693fa69 WPF - Reuse existing tooltipTimer rather than create a new one - resolves #1801 2017-01-10 12:09:33 +10:00
Alex Maitland 820dd581f1 Update ISSUE_TEMPLATE.md
Add general usage link
2017-01-10 10:59:43 +10:00
amaitland 11fd871547 Add chrome_elf.dll to DependencyChecker (crashpad support) 2017-01-09 14:13:13 +10:00
amaitland 4e7f121f45 Untabify build.ps1 2017-01-09 14:13:12 +10:00
Chris 08bc409047 Added a missing space and made two letters lowercase (#1909) 2017-01-07 07:23:41 +10:00
amaitland 8c38bfd862 Nuspec pdb errors - some copy and paste errors meant that x64 versions of the xml and pdb files were being incorrectly included 2017-01-06 16:09:16 +10:00
amaitland 38f9ad92dc For GitLink to work efficiently it needs a clone of got, so change appveyor.yml, previously shallow_clone was only downloading a zip of the latest commit, see if we can get it to download the last 10 commits 2017-01-06 15:14:11 +10:00
amaitland 2caf55529e When running GitLink on AppVeyor it's not picking up the repository path - will hard code for now 2017-01-06 15:07:03 +10:00
amaitland 0f4f93fd86 First attempt at implementing GitLink #1680
Remove symbol package generation
2017-01-06 15:01:39 +10:00
amaitland 2415529519 Add calls to CefDoMessageLoopWork before CefShutdown is called when settings.MultiThreadedMessageLoop = false 2017-01-06 14:08:55 +10:00
amaitland 4c4f2e7da7 WPF - Add Program.cs to deal with Crashpad process 2017-01-06 13:56:25 +10:00
amaitland 264b42d35b Cef.Shutdown add double check lock - shouldn't be possible as it should always be run on the UI thread. Since we have the lock, best to double check
Add ManagedThreadId checking to Initialize/Shutdown - make sure they're called on the same thread.
2017-01-06 13:22:40 +10:00