amaitland
fb286eae03
Add conditional block for OnBeforePopup to handle WinForms style browser creation
2015-08-03 17:56:24 +10:00
amaitland
aabbb65f8d
Merge branch 'asyncmethods' of https://github.com/cefsharp-ms/CefSharp
2015-08-03 10:29:52 +10:00
cefsharp-ms
0b300d5dda
Merged master
2015-07-31 17:41:00 +02:00
cefsharp-ms
561c2de020
RootObject message renamed to include async
2015-07-31 17:17:35 +02:00
cefsharp-ms
4523ddfaab
method call message names include Async now
2015-07-31 17:17:16 +02:00
amaitland
4034bcd2dd
Rename variables so GetResourceHandler code matches that of SchemeHandlerFactoryWrapper
2015-07-29 20:56:23 +10:00
amaitland
88b02ba904
Add ResourceHandlerType to deal with Files differently, use the underlying CefStreamReader::CreateForFile implementation
2015-07-29 20:49:29 +10:00
amaitland
2b34f80e7c
Quick fix to make sure the correct IBrowser instance is used
2015-07-28 18:23:53 +10:00
amaitland
4ce9bc5463
Add IBrowser param to ILifeSpanHandler.OnAfterCreated
2015-07-28 17:19:50 +10:00
amaitland
9a0d7688a0
Merge branch 'cef/2272'
2015-07-28 17:17:12 +10:00
amaitland
19f0d61896
Add extra check for HasParent otherwise the browser window won't be closed accordingly - need to investigate why handles don't match
2015-07-28 17:07:25 +10:00
amaitland
ce2521c986
Add IWebBrowserInternal.HasParent property so we know when there is a parent - OnAfterCreated is handled different for popup with a parent
2015-07-28 16:59:59 +10:00
amaitland
d7edc64b13
Remove IsOffScreen param - will use the IPopupHandler events instead
2015-07-28 16:18:54 +10:00
amaitland
d843e96407
Merge branch 'cef/2272' of https://github.com/jamespearce2006/CefSharp into cef/2272
2015-07-28 15:59:30 +10:00
amaitland
bc8e2e6429
Fix minor mistake in OnResourceRedirect - was attempting to get the popup browser instance - still need to rewrite this at some point so it's cleaner
2015-07-28 13:50:28 +10:00
amaitland
03fa6e52c2
Add target_disposition and user_gesture params to ILifeSpanHandler.OnBeforePopup
2015-07-28 11:14:06 +10:00
amaitland
580faf9d90
Fix bug in OnFaviconURLChange - incorrectly passes in true for IsPopup when it's the main window
...
Should probably rewrite the function to simplify
2015-07-24 14:50:09 +10:00
cefsharp-ms
a8db666642
added async bound method result callback on browser process side
2015-07-23 15:12:28 +02:00
cefsharp-ms
7744b7197f
async bindings are dispatched to a background thread for each browser
2015-07-23 15:12:05 +02:00
cefsharp-ms
4ec6d1ca6e
async method bindings added
2015-07-23 15:11:27 +02:00
cefsharp-ms
0e073bcd0a
added message to transmit async bound jsrootobject to render process
2015-07-23 15:10:52 +02:00
amaitland
7169d904e7
Pedantic code cleanup - mostly just formatting and rearrange some if statements
...
Fixed one minor issue with OnBeforeResourceLoad - wouldn't have been called for a popup if RequestHandler was null
2015-07-22 15:36:44 +10:00
amaitland
a88ca171c9
Add IBrowser param to OnFaviconUrlChange
...
Add IBrowser param to OnResourceRedirect
Update comment so hopefully it's clearer that the browserControl param is the ChromiumWebBrowser instance
2015-07-22 14:53:34 +10:00
amaitland
1aba3b59e6
Add Request param to OnResourceRedirect
2015-07-22 14:47:28 +10:00
jankurianski
5e658fccb5
Upgraded to use local 3.2357.1274 NuGet packages and fixed breaking changes
2015-07-21 15:16:25 +10:00
amaitland
c201454905
Merge branch 'cefipcjscallbacks' of https://github.com/arsher/CefSharp into feature/replacewcf2
2015-07-10 10:12:53 +10:00
David Serfozo
e0d5dcd283
added error handling when browser id has no match in render process
2015-07-09 23:36:31 +02:00
amaitland
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
2015-07-09 12:01:44 +10:00
David Serfozo
798d90ade2
constructors/destructors moved to .h;;little changes to make code more consistent
2015-07-08 18:29:46 +02:00
David Serfozo
7c9a449158
added new IJavascriptCallback implementation into the pipeline
2015-07-07 19:30:43 +02:00
David Serfozo
5f573c8563
message handling added for js callback execution through cef ipc
2015-07-07 19:28:49 +02:00
amaitland
c86d24a177
Change to Object::ReferenceEquals for gcroot nullptr comparison - seemed a little nicer than a static_cast
...
Use direct cast of CefErrorCode
2015-07-07 16:51:45 +10:00
amaitland
23455de261
Add targetFrameName param to OnBeforePopup
2015-07-07 12:28:29 +10:00
amaitland
f499465f1d
Add CefWindowInfoWrapper
2015-07-01 19:04:28 +10:00
amaitland
7090ac9cda
For now simplify message handing - remove delegates
...
Will look at implementing a managed class to handle/route messages later
2015-06-29 15:24:40 +10:00
amaitland
2129c1907e
Remove IBrowserAdapter from Frame and Browser wrappers - now directly cast CefClient to ClientAdapter so can execute js
2015-06-29 14:03:10 +10:00
amaitland
833db43a1d
FrameId is actually a 64bit int
2015-06-29 13:13:06 +10:00
amaitland
53221506f2
Remove redundant AddProcessMessageDelegate method from ClientAdapter
2015-06-29 12:33:42 +10:00
David Serfozo
762d94942a
added jscallback support for new evaluatescript implementation
2015-06-27 19:01:41 +02:00
David Serfozo
cc8a07c21f
added evaluatescriptasync message handlers and rerouted evalscript to cef ipc
2015-06-27 19:01:21 +02:00
David Serfozo
7588259964
added process message handlers and code to call them on both sides
2015-06-27 17:20:09 +02:00
rassilon
1a62db2446
Allow the browser/frame instances to be active (i.e. non-disposed) until ResourceHandlerWrapper has completed processing for ResourceHandlers and Schemes.
2015-06-18 08:27:53 -04:00
rassilon
82dca3b481
Merge remote-tracking branch 'rassilon_fork/ReduceObjectsBeingFinalized' into continued/43
...
Conflicts:
CefSharp.Core/Internals/CefJSDialogCallbackWrapper.h
CefSharp.Core/Internals/CefRequestCallbackWrapper.h
CefSharp.Core/ResourceHandlerWrapper.h
2015-06-17 18:42:57 -04:00
rassilon
8ec01da230
Use GetBrowserWrapper everywhere except popup creation/closing for all of ClientAdapter.cpp.
...
This means that none of the callbacks need to own disposing the IBrowser^ instance.
2015-06-17 18:14:07 -04:00
amaitland
c445a508ea
Allow for ISchemeHandlerFactory.Create to return null (allow for default behaviour)
...
Updated ISchemeHandlerFactory xml doc
As both current use cases for ResourceHandlerWrapper can potentially return null rather than handle the resource change CefRequestWrapper to be disposed of automatically and use the CefRequest provided by ResourceHandlerWrapper::ProcessRequest
2015-06-15 20:00:32 +10:00
rassilon
431cb511c3
* Move unmanged objects into finalizer and call finalizer from Dispose.
...
* Remove DisposableResources from ManagedCefBrowserAdapter
* Improve disposing of CefRequestWrapper
* Have callbacks dispose themselves.
* Allow the Application exit handler shutdown CEF from the Winforms example application.
2015-06-13 10:42:33 -04:00
amaitland
5cf5fcf24c
Few more tweaks to simplify getting the browser instance.
...
Still need to move the wrapper out from ManagedCefBrowserAdapter and into ClientAdapter for the main CefBrowserWrapper
2015-06-11 13:33:35 +10:00
amaitland
fb8be8c816
Remove outdated comment, both key params are passed through
2015-06-11 13:07:25 +10:00
amaitland
4dbd6e36a7
IPopupHandler now implements IKeyboardHandler
...
At some point later on we can then consolidate the code in ClientAdapter to be much simpler
2015-06-11 12:40:32 +10:00
amaitland
169a8d1cf6
Dispose of CefContextMenuParamsWrapper
2015-06-11 12:28:20 +10:00