Commit Graph

  • 2eaebcc715 Remove stray line amaitland 2015-07-09 12:04:21 +10:00
  • d766cc826e The Message should be sent on the corresponding browser, not just the first browser - handle popups Remove browserId from the message as it shouldn't be required now amaitland 2015-07-09 12:01:44 +10:00
  • 0f4570bba4 If BrowserId doesn't match then return an error message rather than throw exception amaitland 2015-07-09 11:30:30 +10:00
  • 582df0d0ad Only Exit context if we actually entered it - calls need to be paired up Always create response message and return a message if unsuccessful amaitland 2015-07-09 11:23:11 +10:00
  • 7ec1d78205 Don't send message if browser->IsDisposed - shouldn't be throwing exceptions in destructor/finalizer blocks amaitland 2015-07-09 11:14:58 +10:00
  • 60f98cb55d Fix formatting amaitland 2015-07-09 11:06:42 +10:00
  • 7053eebae3 Reduce nesting for if statement amaitland 2015-07-09 11:06:36 +10:00
  • 9192bdfb4b Convert BrowserWrapper into a basic property - simpler amaitland 2015-07-09 11:05:00 +10:00
  • 7b49b479d0 Remove TODO - the field is still used amaitland 2015-07-09 11:02:59 +10:00
  • 1f74357e40 Going forward constructors/destructors/finalizers all go in the headers amaitland 2015-07-09 10:55:12 +10:00
  • e3881aa9f5 In cpp local variables prefixed with _ amaitland 2015-07-09 10:46:37 +10:00
  • 6f53c61b88 readded try-finally for renderprocess side messaging handling David Serfozo 2015-07-08 18:46:28 +02:00
  • 5c9681e62e renamed javascriptcallbackimpl David Serfozo 2015-07-08 18:41:04 +02:00
  • a1fda63425 removed unused execute method from javsacriptcallbackregistry and javascrptcallbackwrapper David Serfozo 2015-07-08 18:30:57 +02:00
  • 798d90ade2 constructors/destructors moved to .h;;little changes to make code more consistent David Serfozo 2015-07-08 18:27:32 +02:00
  • 33cd908fdd dded explicit accessors David Serfozo 2015-07-08 18:21:47 +02:00
  • d6661df344 removed unnecessary code from previous js callback implementation David Serfozo 2015-07-07 19:26:56 +02:00
  • 2feeac690a changed jscallback implementation to use cefsharpbrowserwrapper David Serfozo 2015-07-07 19:25:15 +02:00
  • 7c9a449158 added new IJavascriptCallback implementation into the pipeline David Serfozo 2015-07-07 19:10:20 +02:00
  • c7db48ae7a created new implementation of ijavascriptcallback to handle cef ipc solution David Serfozo 2015-07-07 08:26:13 +02:00
  • 5f573c8563 message handling added for js callback execution through cef ipc David Serfozo 2015-07-07 08:12:04 +02:00
  • e270455352 added serialization of .net objects and deserialization on render process side David Serfozo 2015-07-06 19:17:00 +02:00
  • 463f3ba2bd added simple cycle detection to serialization to avoid stackoverflows David Serfozo 2015-06-30 19:52:13 +02:00
  • 17df6f8153 Add PostDataElementType enum amaitland 2015-07-07 20:37:09 +10:00
  • 133a88b644 Add sample of how to use the new post data implementation amaitland 2015-07-07 20:35:08 +10:00
  • 9d1b9e16f5 Remove Body Read in byte array Add some extensions to access the Body data amaitland 2015-07-07 20:27:41 +10:00
  • 597b48b7da Add CefPostDataElementWrapper implementation amaitland 2015-07-07 19:56:52 +10:00
  • 6005fd3f2c Add outline of IPostData implementation amaitland 2015-07-07 19:35:39 +10:00
  • c86d24a177 Change to Object::ReferenceEquals for gcroot nullptr comparison - seemed a little nicer than a static_cast Use direct cast of CefErrorCode amaitland 2015-07-07 15:20:27 +10:00
  • 3ab612a44a Rename Oninitialized to OnAfterBrowserCreated (more closely matches the underlying CEF API) amaitland 2015-07-07 16:46:46 +10:00
  • 9798772694 Reordering of events in the WPF control means that the pages weren't loading consistently. As we suggest with users, now waiting for the browser control to be initialized before attempting to load a url Store a local volatile browserInitialized flag so that we can access on any thread (as opposed to the DependencyProperty that can only be used on the UI thread) amaitland 2015-07-07 16:44:52 +10:00
  • 23455de261 Add targetFrameName param to OnBeforePopup amaitland 2015-07-07 12:28:29 +10:00
  • b8a322ebe0 Ignore AddressChange if newValue == null Cherry picked from https://github.com/jamespearce2006/CefSharp/commit/94225377388acc7b70cfe7f5715215b446c7a6aa amaitland 2015-07-07 12:26:01 +10:00
  • 3773edb986 Merge branch 'master' of https://github.com/jamespearce2006/CefSharp amaitland 2015-07-07 10:59:42 +10:00
  • 0547c45f41 Readd using System.Collections.Generic; as needed by quality comparer Remove implicit http scheme if none provided amaitland 2015-07-07 10:42:39 +10:00
  • 5bba0b15fa Merge branch 'master' of https://github.com/lamerbug/CefSharp amaitland 2015-07-07 10:39:27 +10:00
  • ff6d53ecff Merge pull request #1102 from amaitland/cleanup/browsersettings Alex Maitland 2015-07-07 10:37:07 +10:00
  • f5bd2fd2c4 Merge pull request #1100 from amaitland/cleanup/throwexceptions Alex Maitland 2015-07-07 10:34:14 +10:00
  • 0188329d10 Untabify amaitland 2015-07-07 10:26:45 +10:00
  • 9555eab476 Suggested Changes jamespearce2006 2015-07-06 14:27:27 +01:00
  • 0b1cef8d11 Fix NullReferenceException jamespearce2006 2015-07-06 13:53:30 +01:00
  • 6f08123174 Update DefaultResourceHandlerFactory.cs lamerbug 2015-07-06 19:47:47 +07:00
  • 3b69adc7c4 Merge pull request #1 from cefsharp/master lamerbug 2015-07-06 18:27:25 +07:00
  • df29944016 Implement SendMouseMoveEvent in IBrowserHost Can now be used by offscreen amaitland 2015-07-06 12:47:29 +10:00
  • 5c27b7befa Set toolTip to null after mouse leaves amaitland 2015-07-06 12:42:50 +10:00
  • 98d186c33c Move OnMouseButton into IBrowserHost (rename to SendMouseClickEvent) amaitland 2015-07-06 12:39:33 +10:00
  • fbe8ccd61c Move Invalidate method from ManagedCefBrowserAdapter into CefBrowserHostWrapper - now can be used in OffScreen amaitland 2015-07-06 12:25:09 +10:00
  • bbe267b44c Throw exception if IsBrowserInitialized when trying to call RegisterJsObject amaitland 2015-07-06 12:16:58 +10:00
  • 938877aaf3 Merge pull request #1105 from amaitland/enhancement/releasemodemessage Alex Maitland 2015-07-06 12:04:01 +10:00
  • ab72636831 Add BackgroundColor property Add xml comments amaitland 2015-07-06 12:00:07 +10:00
  • af92dade32 Fix type Change case of JavaScript to Javascript - matches other project references amaitland 2015-07-06 11:32:46 +10:00
  • 8eff8d011e Add CefState enum Change BrowserSettings to use CefState instead of bool? Remove the Allowed/Disabled prefix so names now more closely match those of CEF Should be easier to understand as there's no double negatives now amaitland 2015-07-06 11:30:53 +10:00
  • 619e7aa771 Merge pull request #1107 from mkosieradzki/cefsharp/41 Alex Maitland 2015-07-05 21:01:03 +10:00
  • ebdb1eb264 Sign the OffScreen project (using existing snk file) amaitland 2015-05-02 06:55:27 +10:00
  • 34b9ec3d1c Add Message Box into WinForms and WPF examples to alert users they need to compile in Release mode when running outside of Visual Studio amaitland 2015-07-03 12:44:34 +10:00
  • 92a325b77e Change Nullable types from ref to value (as nullable is a struct). Decompiled code showed ValueType before and how shows the correct type amaitland 2015-07-01 22:42:24 +10:00
  • cf10fdf9dc Add ThrowExceptionIfBrowserNotInitialized to WinForms GetBrowser Haven't done WPF yet as it's IsBrowserInitialized implementation is a DependencyProperty which will likely cause problems if run on a CEF thread amaitland 2015-07-01 19:58:54 +10:00
  • df94d54a61 Remove duplicate GetMainFrame and GetFocusedFrame methods - turned them into extensions amaitland 2015-07-01 19:49:27 +10:00
  • f239503bb3 Move SendMouseWheelEvent to IBrowserHost amaitland 2015-07-01 19:38:14 +10:00
  • 93e99dadfc Apply changes to the WinForms control so exception throw Will refactor a few more methods into extensions so it's not really a problem amaitland 2015-07-01 19:27:04 +10:00
  • 091339de25 OffScreen control - update to throw exception if Browser has not been initialized It's quite common for users to attempt to execute a browser function before it's initialized and for it to silently fail if it's not been initialized amaitland 2015-07-01 19:24:49 +10:00
  • 9c456b32ce Merge pull request #1099 from amaitland/feature/cefwindowinfo Alex Maitland 2015-07-01 19:05:25 +10:00
  • f499465f1d Add CefWindowInfoWrapper amaitland 2015-07-01 13:53:17 +10:00
  • 5fb726117d Move methods into body of class amaitland 2015-06-26 16:53:57 +10:00
  • 598937eb19 Cleanup Finalizer/Dispose for BrowserSettings and CefSettings amaitland 2015-06-26 16:52:59 +10:00
  • 958a6264a3 Remove LoadUrl code from ManagedCefBrowserAdapter - remove more duplication amaitland 2015-06-26 15:32:57 +10:00
  • 676ddc394e Remove redundant TypeUtils prefix amaitland 2015-06-26 12:39:37 +10:00
  • eb4a1b7e53 Merge pull request #1097 from amaitland/enhancement/cefinitialize Alex Maitland 2015-06-29 22:23:27 +10:00
  • ca40aed5d3 Merge pull request #1095 from arsher/cefipcserialization Alex Maitland 2015-06-29 22:22:56 +10:00
  • 53be51b48a Explicitly throw Exception if Cef is already Initialized in response to issue on google group https://groups.google.com/d/msg/cefsharp/JHO4KRARzdE/ol16kUGJQj0J amaitland 2015-06-29 22:21:17 +10:00
  • dc5bfdf636 Merge pull request #2 from amaitland/feature/ipc David Serfozo 2015-06-29 10:41:46 +02:00
  • 81a2202753 Throw exception if browser Id's don't match Use the provided browser object rather than get the wrapped one - should be the same amaitland 2015-06-29 15:35:30 +10:00
  • 7090ac9cda For now simplify message handing - remove delegates Will look at implementing a managed class to handle/route messages later amaitland 2015-06-29 15:08:53 +10:00
  • ddd7ec1687 Cleanup usings amaitland 2015-06-29 14:14:12 +10:00
  • 02ddbd702b Change GetWrapped to Browser - consistent with other code e.g. cefframewrapper amaitland 2015-06-29 14:08:24 +10:00
  • 192f6e7783 Make FindBrowserWrapper public - preferable to using friend which amaitland 2015-06-29 14:04:08 +10:00
  • 2129c1907e Remove IBrowserAdapter from Frame and Browser wrappers - now directly cast CefClient to ClientAdapter so can execute js amaitland 2015-06-29 14:03:10 +10:00
  • 819dfd54f9 Move WcfEnabled option into CefSharpSettings class Reduce code duplication - move EvaluateScriptAsync in WebBrowserExtensions amaitland 2015-06-26 11:19:51 +10:00
  • 833db43a1d FrameId is actually a 64bit int amaitland 2015-06-29 12:38:54 +10:00
  • 53221506f2 Remove redundant AddProcessMessageDelegate method from ClientAdapter amaitland 2015-06-29 12:33:42 +10:00
  • ccbc97ffc4 Minor code formatting amaitland 2015-06-29 12:03:01 +10:00
  • a40590405a Remove AddProcessMessageDelegate method from CefAppUnmanagedWrapper - not required amaitland 2015-06-29 12:01:41 +10:00
  • af39be37bb Remove FindBrowserWrapper overload - not really required amaitland 2015-06-29 12:00:33 +10:00
  • d21808b582 Rename variable to be more .net like amaitland 2015-06-29 11:58:42 +10:00
  • 0a220f2f96 Inline most of the methods in EvaluateScriptDelegate - much easier to step through now (with the CefRefPtrs, it's a lot harder to step into a function than normal) amaitland 2015-06-29 11:57:16 +10:00
  • f8954dcffe Rename messaging keys to include Request/Response suffix Would be nice to move them into a class so they're not just out there on their own - whilst it's valid c++, it's not very .net amaitland 2015-06-29 11:49:12 +10:00
  • 03a893bdac Inline some of the EvaluateScriptDoneDelegate methods - as they're not used in multiple places it's easier to debug this way amaitland 2015-06-29 11:42:25 +10:00
  • 6d28f97a14 Prefer using statements directly after inclues - they get a little lost if we put them further down amaitland 2015-06-29 11:36:29 +10:00
  • d188382d20 Move PendingTaskRepository into matching namespace (resharper cleanup) - there is no messaging folder amaitland 2015-06-29 11:34:43 +10:00
  • b9e3100994 Simplify PendingTaskRepository TaskCompletionSource creation - use KeyValuePair amaitland 2015-06-29 11:25:57 +10:00
  • 93a61c1442 removed unneeded eval script related methods David Serfozo 2015-06-27 18:56:21 +02:00
  • 762d94942a added jscallback support for new evaluatescript implementation David Serfozo 2015-06-27 18:42:56 +02:00
  • cc8a07c21f added evaluatescriptasync message handlers and rerouted evalscript to cef ipc David Serfozo 2015-06-27 18:24:32 +02:00
  • 7588259964 added process message handlers and code to call them on both sides David Serfozo 2015-06-27 17:01:51 +02:00
  • bf33f0bc7c V8 serialization utils added David Serfozo 2015-06-27 16:06:47 +02:00
  • b92cdfd958 Add additional comment and revise CefExample comment amaitland 2015-06-25 11:15:57 +10:00
  • ff695dbf6d Only close _browserProcessServiceHost if Wcf::Enabled (Had circular reference problem when trying to use Wcf::Enabled in ManagedCefBrowserAdapter.h class so for now just use a local variable) amaitland 2015-06-25 11:09:32 +10:00
  • 898668aab2 Move wcfEnabled check from CefRenderProcess out into main program - launch the generic CefSubProcess instance if WCF is disabled amaitland 2015-06-25 10:45:28 +10:00
  • 3487e21335 Prefer using statements over partly qualified namespace for class reference amaitland 2015-06-25 10:44:03 +10:00
  • aa63727712 Untabify ManagedCefBrowserAdapter amaitland 2015-06-25 10:41:37 +10:00