Commit Graph

6294 Commits

Author SHA1 Message Date
amaitland 49ef3b44c1 Untabify 2015-04-17 13:07:07 +10:00
amaitland 2468e41ea1 Extract ISchemeHandler into IResourceHandler - haven't marked as [Obsolete] as it may make more sense naming wise to keep this interface
Maybe need to add a code comment explaining the reason for keeping both interfaces?
2015-04-17 13:07:07 +10:00
amaitland 1863c571ae Extract ISchemeHandlerResponse into IResourceHandlerResponse and mark as obsolete 2015-04-17 13:07:07 +10:00
amaitland 1d2f2e44a7 Improve SchemeHandler documentation 2015-04-17 13:07:06 +10:00
amaitland 98e89111f4 Remove unnecessary ret value and simply use bytes_read instead 2015-04-17 13:07:06 +10:00
amaitland e07148815e Fix has_data naming - remove underscore
Replace if statement with ternary operator for response_length
2015-04-17 13:07:06 +10:00
amaitland f32b717187 ResourceHandlerWrapper release resources on destructor 2015-04-17 13:07:05 +10:00
amaitland a904e6c667 Simplify code by removing local variable handled variable - simply return 2015-04-17 13:07:05 +10:00
amaitland f38438874c Resolve SeekOrigin ambiguous reference 2015-04-17 13:07:05 +10:00
amaitland c1d15e46d2 Switch to using ISchemeHandlerResponse interface 2015-04-17 13:07:05 +10:00
amaitland aa2006f352 Remove note about crashing as bug is now fixed 2015-04-17 13:07:04 +10:00
amaitland 3551faa364 Move ToHeaderMap method into TypeConversion as it's generic and used in two places 2015-04-17 13:07:04 +10:00
amaitland 5cc55b50ad Switch SchemeHandlerResponse to using a more traditional destructor and calling delete on the object (I think it explains the behaviour better when reading the code) 2015-04-17 13:07:04 +10:00
amaitland bbbd2393f6 Explicitly release ISchemeHandlerFactory in SchemeHandlerFactoryWrapper 2015-04-17 13:07:04 +10:00
amaitland 16e785a723 Remove OnRequestCompletedHandler action wrapper and expose the method directly on SchemeHandlerResponse 2015-04-17 13:07:03 +10:00
amaitland 94fa0f0e48 Inline SchemeHandlerFactoryWrapper::Create (for such a small .cpp file it didn't make a lot of sense) 2015-04-17 13:07:03 +10:00
amaitland 6480706ced Rename SchemeHandlerWrapper to ResourceHandlerWrapper 2015-04-17 13:07:03 +10:00
amaitland 9044359bb4 Explicitly specify class access modifiers 2015-04-17 13:06:24 +10:00
amaitland 36b7d10f42 Untabify 2015-04-17 13:06:24 +10:00
amaitland 42f029070b Take PR #896 and add code to CefExample project - proxy lookup 2015-04-17 13:06:24 +10:00
Bill b3c331c5a9 Merge pull request #954 from rassilon/GetZoomFromUIThread
Call GetZoomLevel On CEF UI Thread
2015-04-16 19:02:03 -04:00
rassilon b910a1f2fa Minor review cleanups. 2015-04-16 18:51:37 -04:00
rassilon 06e26f132d GetZoomLevel is required to be called from the UI thread, but it has a failure mode of just returning 0. Here's a cheesy temporary solution to adding a full on GetZoomLevelAsync method that returns a .Net task. 2015-04-16 15:15:01 -04:00
pushplay ca443502dd Add BrowserSubProcess dependency checking. 2015-04-16 10:57:16 -07:00
amaitland 39c8194b49 rename lowerCaseJavascriptNames to camelCaseJavascriptNames - more accurate description of what's going on 2015-04-16 16:31:54 +10:00
amaitland f3f03cb7b9 Untabify 2015-04-14 13:31:06 +10:00
amaitland 5c43063670 Take PR #896 and add code to CefExample project - proxy lookup 2015-04-14 13:29:47 +10:00
amaitland bdabd3a91c Remove usage of TaskFactory - will look at implementing later 2015-04-10 16:33:12 +10:00
Alex Maitland 5c40ff0af3 Merge pull request #933 from amaitland/experiment/taskscheduler
Add Experiment TaskScheduler
2015-04-10 16:30:46 +10:00
amaitland 9b35342d28 Accidentally deleted cef.redist x86 redist target 2015-04-10 16:28:05 +10:00
amaitland 4b3ee2a9a0 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-04-10 16:22:57 +10:00
Alex Maitland d7525280d8 Merge pull request #923 from exinferis/master
Added parameter for lowercasing JS functions (or not)
2015-04-10 15:44:21 +10:00
Alex Maitland 69ebc20c03 Merge pull request #929 from amaitland/feature/OnContextInitialized
Add OnContextInitialized Delegate
2015-04-10 15:41:19 +10:00
Alex Maitland 3d9841517f Merge pull request #913 from amaitland/bug/wpf-isloading
Resolve: IsLoaded is unreliable
2015-04-10 15:40:06 +10:00
Alex Maitland 4f3868656b Merge pull request #916 from svantreeck/master
WPF Popup - Change to absolute positioning
2015-04-10 15:38:57 +10:00
amaitland ad45c4db7d Merge branch 'master' of https://github.com/ralphmayr/CefSharp 2015-04-10 15:34:34 +10:00
ralphmayr 7eafe6211c Fixed #583: Handle IME input in the WPF example
Reverted changes from 77b433bb69 and
instead exposed SendKeyEvent in the ChromiumWebBrowser to be able to
move the handler for OnPreviewTextInput to the WPF example.
2015-04-10 06:57:16 +02:00
amaitland fb4f0bbc05 Mark IsLoadingChanged Obsolete in OffScreen and WinForms versions 2015-04-10 08:26:26 +10:00
Alex Maitland 6030977ed8 Merge pull request #931 from amaitland/cleanup/isloading
Rename NavStateChanged to LoadingStateChanged
2015-04-10 08:11:31 +10:00
Alex Maitland d21a08ff87 Merge pull request #932 from amaitland/feature/pluginvisitor
Add CefVisitWebPluginInfo Wrapper
2015-04-10 08:07:23 +10:00
amaitland ad56dbb6b0 Expose SendKeyEvent on the WPF ChromiumWebBrowser 2015-04-09 19:26:10 +10:00
amaitland 76e28b1b16 Switch lparam to CastToInt32() extension method 2015-04-09 19:23:28 +10:00
ralphmayr 23b96b8fcf Merge remote-tracking branch 'upstream/master' 2015-04-09 06:42:08 +02:00
amaitland bca6c09114 Add license disclaimer
Untabify
2015-04-09 11:36:09 +10:00
amaitland 99000a4940 Remove CefTaskScheduler.cpp from CefSharp.BrowserSubprocess.Core.vcxproj - was missed during the rebase 2015-04-09 11:35:50 +10:00
amaitland 9d7b65ccfc Add TaskFactory that corresponds to the UI Thread
Execute SetZoomLevel on UI Thread
2015-04-09 11:30:02 +10:00
amaitland 484a2de0a2 Move CefTaskScheduler from CefSharp.BrowserSubprocess.Core to CefSharp.Core
Add ITaskScheduler interface to simplify the code
2015-04-09 11:25:37 +10:00
amaitland 805daee1da Modify SetZoomLevel to execute on CEF UI Thread
Ideally would replace the with `CefTaskScheduler` which currently lives in the subprocess
2015-04-09 11:22:55 +10:00
amaitland 40025e008a Fix GetPlugins xml comment 2015-04-09 10:52:32 +10:00
amaitland ce44a92d65 Add basic html output for plugin diagnostic to CefExample 2015-04-09 07:47:04 +10:00