Commit Graph

206 Commits

Author SHA1 Message Date
amaitland a8c64a8346 Rename OnInitialized to OnAfterBrowserCreated - naming consistency 2014-10-01 10:35:28 +10:00
amaitland cf06d6e04f Naming - Rename OnBrowserCreated to OnAfterBrowserCreated easier to track down for debugging purposes 2014-10-01 10:34:57 +10:00
amaitland 16f3bc4753 When trying to get browser from frame, occasionally a null pointer was occurring as per #493.
Cleanup logic to handle null pointer, also simplify as was a little convoluted.
2014-09-29 17:56:33 +10:00
amaitland 48525ad926 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding/Wip2 2014-09-22 21:54:06 +10:00
Karl Hiramoto 077ac64a65 provide access to settings boolean ignore_certificate_errors 2014-09-20 23:58:06 +02:00
amaitland be73858233 Include BrowserId in EvaluateScriptAsync WCF call - needed for when there are multiple browser instances created in the one render process 2014-09-16 11:53:07 +10:00
amaitland a2096292b7 Add EvaluateScriptAsync timeout validation 2014-09-15 12:28:33 +10:00
amaitland 286b590960 Rename EvaluateScript to EvaluateScriptAsync for consistency 2014-09-15 12:15:48 +10:00
amaitland 003a857412 Simplify if statement 2014-09-15 12:12:34 +10:00
amaitland 6505f43b15 EvaluateScript now accepts a nullable timespan and only executes a timeout if a value is specified 2014-09-15 12:11:31 +10:00
amaitland 605f237998 Remove CefRenderProcessHandler, not relevant for CefClient (in Cef3) 2014-09-12 12:36:11 +10:00
amaitland 9eac3dbb27 Remove redundant CefSettingsBase class - merged functionality into CefSettings.h 2014-09-11 17:37:41 +10:00
amaitland 34f27d60e7 Fix compiler warning (amend xml comment) 2014-09-02 21:28:43 +10:00
amaitland 2c4d179c5d Change ExecuteScriptAsync to return JavascriptResponse so error messages and result can be returned 2014-09-02 12:02:32 +10:00
amaitland 779f29fe1b Tinkering with WCF and service callbacks
Add TaskCompletionSource so that script task will execute after a reference to the OperationContext has been obtained (Can then call GetCallbackChannel)
2014-09-01 15:29:22 +10:00
amaitland b714cf759e Change timeout to timespan 2014-08-29 12:37:33 +10:00
amaitland e9fdeceb63 Change IRenderProcess to return Task<object> - moving towards having proper WCF async 2014-08-29 11:15:54 +10:00
amaitland d76ae257ee Add #pragma once to files 2014-08-28 16:35:54 +10:00
amaitland 901a6358cb Change BrowserProcessService to reference JavascriptObjectRepository directly - simplifies code
Also had to fix up int to long conversion as Id must have changed types at some point
2014-08-28 12:53:36 +10:00
amaitland 125490dc82 Remove global Js object repository 2014-08-27 14:57:30 +10:00
jornh 4a36a2e57a Merge pull request #449 from JanEggers/FixedAccessViolationWhenClosingPopup
Fixed access violation when closing popup...
2014-08-25 17:20:22 +02:00
amaitland 024620cd78 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-08-21 20:17:47 +10:00
JanEggers b171b88680 new pc an whitespace is messed again 2014-08-14 13:28:55 +02:00
JanEggers 81a77325f3 fixed access violation while dispose of BrowserWrapper when closing a popup 2014-08-14 13:25:12 +02:00
Adrian Phinney d5d3077735 Implemented OnStatusMessage and event for WPF and WinForms. 2014-08-12 08:57:06 -04:00
amaitland 5f413552bc Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-08-12 10:57:21 +10:00
Alex Maitland e5e53133de Merge pull request #396 from amaitland/feature/OnRenderProcessTerminated
Add OnRenderProcessTerminated - Resolves issue #207
2014-08-05 11:30:17 +10:00
jankurianski 454d0dfbf5 Fix crash when responding to request that was previously cancelled by CEF (e.g. due to page reload) 2014-07-31 18:43:28 +10:00
amaitland e2f6cec26a Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-07-08 17:02:04 +10:00
Rich McNeary b5b976007f NameValueCollection allows for duplicate keys.
For each key get each of the values that matches the key.
2014-07-02 09:52:44 -04:00
Rich McNeary 916ad3bbde Tabs -> spaces per cefsharp guidelines.
Tabs -> spaces per cefsharp guidelines.
2014-07-01 10:10:33 -04:00
Rich McNeary 35bdbf317c Set Headers now iterates over key
The NameValueCollection iterator returns the string key, not a
KeyValuePair.
2014-07-01 10:04:16 -04:00
amaitland e8f3a5e8cf Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-07-01 14:08:16 +10:00
amaitland f49d095fcb Simplify code flow (I think it's preferable to check == rather than != when both conditions are evaluated) 2014-06-30 14:27:00 +10:00
amaitland b3cb255676 Change codepage to fix copyright symbol encoding 2014-06-30 14:23:42 +10:00
amaitland af34956dbd return response from FlushStore method 2014-06-30 14:20:39 +10:00
amaitland 05d52cfd02 Rename IComplete to ICompletionHandler to make naming more consistent 2014-06-30 14:18:41 +10:00
amaitland a6a1fcb812 Add files to project (easier to do manually than fix merge issues) 2014-06-30 14:18:41 +10:00
brock8503 f299a002e6 Exposing the cookies flushstore method 2014-06-30 14:18:01 +10:00
amaitland 0af11a719e Change to UTF-8 encoding to support copyright symbol 2014-06-25 16:11:41 +10:00
amaitland eab8ff7cbb Fix copyright symbol 2014-06-25 16:10:08 +10:00
amaitland d48bf5fbd9 Add license disclaimer to rest of solution files (hopefully got them all now) 2014-06-25 16:00:28 +10:00
jornh 968b1fcc99 Merge pull request #397 from jornh/fix/small-handler-fixes
small handler fixes,
2014-06-24 05:17:55 +02:00
amaitland 852e887d5c Add OnRenderProcessTerminated - Resolves issue #207 2014-06-24 11:16:40 +10:00
amaitland e4b9aa622d Only Call Continue if handled == true
Only call the continue callback when handled is true
2014-06-24 09:41:05 +10:00
jornh 3941b32f4b Fix on of those pesky (c) chars in copyright line 2014-06-23 23:16:42 +02:00
jornh 401101ba4f Add fix for #388 so default JSDialogs don't show up if not wanted 2014-06-12 19:55:25 +02:00
jornh 7f55396353 Dereference the bool* is_keyboard_shortcut pointer to fix bug in #379 code 2014-06-12 19:39:40 +02:00
jornh 81cefe8868 Simple warning cleanup of unused variable 2014-06-12 19:20:43 +02:00
amaitland 042af772cf Fix issue where OnPreKeyEvent was cherry picked from a different branch, which had some WIP changes, fixed naming of KeyType 2014-06-12 12:32:38 +10:00