Commit Graph

6294 Commits

Author SHA1 Message Date
dimas 06ac7f7641 Adding more condition to OnPreviewKey so Ctrl+A will work when web browser is put inside a listbox 2015-03-16 18:58:21 +08:00
dimas bd6f7937f9 Revert "Testing webbrowser inside listbox"
This reverts commit 11f1ab5eb4.
2015-03-16 18:50:56 +08:00
dimas 2abb5ca064 Merge branch 'master' of https://github.com/cefsharp/CefSharp 2015-03-16 17:45:14 +08:00
dimas 3bf3b2e1df Merge branch 'master' of https://github.com/Bodekaer/CefSharp 2015-03-16 17:43:50 +08:00
rassilon b27b7d8fdf Remove debugging logic, and add some additional commentary. 2015-03-15 12:42:15 -04:00
Jan Kurianski d9e272c4d8 Merge pull request #877 from numbersint/fixes/more-error-codes
Added many missing error codes to CefErrorCode.cs
2015-03-12 15:37:40 +11:00
jankurianski bb2a7d0345 Added many missing error codes to CefErrorCode.cs
From Chromium's net/base/net_error_list.h.  Also added a comment to
indicate where the error codes were sourced from.
2015-03-12 14:35:08 +11:00
amaitland a0ba80ca6c Add HasHandlers property to IResourceHandlerFactory - immediately return NULL if no handlers registered 2015-03-12 12:38:23 +10:00
amaitland 090ed3989b Add RemoveWebPluginPath and UnregisterInternalWebPlugin 2015-03-12 12:14:09 +10:00
amaitland 0f48c637db Execute jsb callback in a Task 2015-03-12 11:48:42 +10:00
amaitland 886e303893 As we don't have control over the lifecycle of the Surrogate or EndPointBehaviour I think it's easier just to pass around a WeakReference 2015-03-12 11:32:35 +10:00
amaitland 1e7e2210ad Rename JavascriptCallbackDto to JavascriptCallback 2015-03-12 11:29:14 +10:00
amaitland c8d9272508 Rename JavascriptCallback to JavascriptCallbackProxy 2015-03-12 11:26:46 +10:00
amaitland a5688b4510 Revert "Remove WCF Surrogate and inject browser host"
This reverts commit 746e51432a.
2015-03-12 11:08:01 +10:00
amaitland 9c77f20c39 Add example LoadError handler to WinForms example 2015-03-12 10:53:39 +10:00
amaitland 746e51432a Remove WCF Surrogate and inject browser host 2015-03-11 14:46:36 +10:00
amaitland c2b1f48c7c Start to make method naming contestant - methods are now Register and Deregister for javascript callback 2015-03-11 13:52:32 +10:00
amaitland 6f5875a7b0 Convert to using ConcurrentDictionary 2015-03-11 13:23:00 +10:00
amaitland 15f0a20b6d Add ConvertFromCef to else statement so it's only called when not using a function 2015-03-11 12:09:52 +10:00
amaitland a09767b72c More descriptive naming of WeakReference
Also check if channel state is Opened before trying to release callback
2015-03-11 11:57:26 +10:00
amaitland e614bcac54 Expose DisposableResource to WCF (makr with [DataContract]) 2015-03-11 11:49:46 +10:00
amaitland c9d65caa49 Reformat BindingTest.html 2015-03-11 11:47:06 +10:00
amaitland 4ce268e320 Merge branch 'jscallback' of https://github.com/arsher/CefSharp into feature/jsb-callback 2015-03-11 11:41:20 +10:00
amaitland fa31882137 Untabify xml comments of newly added methods 2015-03-10 22:54:40 +10:00
amaitland 545c63aacc Expose CefAddWebPluginDirectory, CefAddWebPluginPath, CefRefreshWebPlugins methods 2015-03-10 22:52:45 +10:00
David Serfozo 9775b438bd dispose fix in CefBrowserWrapper, JavascriptCallback modified to inherit from DisposableResource 2015-03-09 23:57:25 +01:00
David Serfozo 011e94fe6b removed auto keyword for managed type deduction 2015-03-09 23:35:17 +01:00
David Serfozo d9541ab463 added explicit access modifiers where missing,fixed vs2012 build issue,changed field names according to conventions 2015-03-09 20:23:13 +01:00
David Serfozo 4468961b5e reverted formatting issues, removed entry from DotSettings and fixed copyright notice 2015-03-09 20:19:01 +01:00
David Serfozo 462c4c0f98 weakreference for browserprocessservicehost in javascriptcallback 2015-03-08 22:33:44 +01:00
David Serfozo 609b13a758 few tests for js callback 2015-03-08 16:23:49 +01:00
David Serfozo 8eb889e2a3 added conversion code for CefV8Value::IsFunction 2015-03-08 16:23:14 +01:00
David Serfozo c950e7a0c8 set callbackregistry on jsobjectwrapper 2015-03-08 16:22:31 +01:00
David Serfozo 0644cf1c18 added actual callback code on browserprocess side and IJavascriptCallback 2015-03-08 16:15:41 +01:00
David Serfozo 98ba30bf5d added wcf operations to do javascript callbacks 2015-03-08 13:22:56 +01:00
David Serfozo 754bf3f913 added browserprocess side of javascriptcallback and wcf classes for conversion 2015-03-08 13:18:20 +01:00
David Serfozo bb4fe467b8 added JavascriptCallbackRegistry and wired up 2015-03-08 13:11:09 +01:00
David Serfozo 75d8a206e6 moved JavascriptRootObjectWrapper impl to separate cpp 2015-03-08 12:57:51 +01:00
David Serfozo 0bdbd304ae moved JavascriptMethodHandler impl to a separate cpp file 2015-03-08 12:56:36 +01:00
David Serfozo ece611f0df moved CefBrowserWrapper impl into a separate cpp file 2015-03-08 12:42:05 +01:00
amaitland 649c497387 Remove nuget msbuild target from vc++ projects 2015-03-06 18:00:00 +10:00
amaitland f39fd0c2b3 Fix compiler warnings - minor typo's in xml comments 2015-03-06 17:55:02 +10:00
rassilon cc8e51dced Don't .Activate ChromiumWebBrowser during activation if the ChromiumWebBrowser was the .ActiveControl before the app was deactivated.
This will allow WinForm's .ActiveControl logic to occur properly.
Update address bar logic to deal with BackColor being in yellow whenever the control has focus.
2015-03-06 02:31:05 -05:00
amaitland 1e78265aeb Remove redundant namespace qualifier 2015-03-06 06:23:18 +10:00
amaitland 602ba52ad5 Change Load behaviour to only call LoadUrl if the browser has been initialized, otherwise set Address which in an ideal world will be passed into the constructor.
Ignoring threading issues for now (if required user should wait for IsBrowserInitializedChanged event to fire and then call Load if experiencing timing issues, must invoke Load on the UI thread in IsBrowserInitializedChanged).
2015-03-06 06:21:27 +10:00
amaitland a7946d53d0 Change to latest nuget restore method using https://github.com/owen2/AutomaticPackageRestoreMigrationScript/blob/master/migrateToAutomaticPackageRestore.ps1 2015-03-05 22:11:54 +10:00
Alex Maitland a7f4c41c21 Update Readme.md to include Changelog reference.
Add changelog reference.
2015-03-05 18:34:29 +10:00
Alex Maitland 6fca20b632 Merge pull request #857 from rassilon/CleanupResourceHandler
Rename IResourceHandler to IResourceHandlerFactory.
2015-03-05 18:26:58 +10:00
Jan Kurianski 87651fece8 Merge pull request #863 from Jayman1305/patch-3
Update ResourceHandler.cs
2015-03-05 18:24:53 +11:00
James 44fa52cc96 Update ResourceHandler.cs
Missing mime type for svg added
2015-03-05 14:57:27 +08:00