amaitland
18c19edc86
kJavascriptCallbackDestroyRequest jscallbackId is located at Index 0
2015-07-10 10:35:51 +10:00
amaitland
c74dc29b57
Add TODO about throwing exception in CefAppUnmanagedWrapper
2015-07-10 10:26:21 +10:00
amaitland
a945e3f4dc
Always create response message so that errors can be returned
2015-07-10 10:24:48 +10:00
amaitland
4784a0122e
Return error message when unable to enter context or find matching frame
2015-07-10 10:22:12 +10:00
amaitland
ca836c50af
Reapply change to move try finally block inside context->Enter() - otherwise we could potentially Exit a context we never entered
2015-07-10 10:18:01 +10:00
amaitland
d0f316379c
Add more detail to NOTE
...
Call GetIdentifier() directly rather than allocating browserId
2015-07-10 10:15:27 +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
249c09c583
Add menu to WPF example
...
Can now easily open binding test example
TODO: Import tests from cefclient example
2015-07-09 12:21:59 +10:00
amaitland
2eaebcc715
Remove stray line
2015-07-09 12:04:21 +10: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
amaitland
0f4570bba4
If BrowserId doesn't match then return an error message rather than throw exception
2015-07-09 11:35:10 +10:00
amaitland
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
2015-07-09 11:23:11 +10:00
amaitland
7ec1d78205
Don't send message if browser->IsDisposed - shouldn't be throwing exceptions in destructor/finalizer blocks
2015-07-09 11:14:58 +10:00
amaitland
60f98cb55d
Fix formatting
2015-07-09 11:06:42 +10:00
amaitland
7053eebae3
Reduce nesting for if statement
2015-07-09 11:06:36 +10:00
amaitland
9192bdfb4b
Convert BrowserWrapper into a basic property - simpler
2015-07-09 11:05:00 +10:00
amaitland
7b49b479d0
Remove TODO - the field is still used
2015-07-09 11:02:59 +10:00
amaitland
1f74357e40
Going forward constructors/destructors/finalizers all go in the headers
2015-07-09 10:55:12 +10:00
amaitland
e3881aa9f5
In cpp local variables prefixed with _
2015-07-09 10:46:37 +10:00
David Serfozo
6f53c61b88
readded try-finally for renderprocess side messaging handling
2015-07-08 18:46:28 +02:00
David Serfozo
5c9681e62e
renamed javascriptcallbackimpl
2015-07-08 18:41:04 +02:00
David Serfozo
a1fda63425
removed unused execute method from javsacriptcallbackregistry and javascrptcallbackwrapper
2015-07-08 18:30:57 +02: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
33cd908fdd
dded explicit accessors
2015-07-08 18:21:47 +02:00
David Serfozo
d6661df344
removed unnecessary code from previous js callback implementation
2015-07-07 19:30:50 +02:00
David Serfozo
2feeac690a
changed jscallback implementation to use cefsharpbrowserwrapper
2015-07-07 19:30:47 +02:00
David Serfozo
7c9a449158
added new IJavascriptCallback implementation into the pipeline
2015-07-07 19:30:43 +02:00
David Serfozo
c7db48ae7a
created new implementation of ijavascriptcallback to handle cef ipc solution
2015-07-07 19:30:33 +02:00
David Serfozo
5f573c8563
message handling added for js callback execution through cef ipc
2015-07-07 19:28:49 +02:00
David Serfozo
e270455352
added serialization of .net objects and deserialization on render process side
2015-07-07 19:28:43 +02:00
David Serfozo
463f3ba2bd
added simple cycle detection to serialization to avoid stackoverflows
2015-07-07 19:28:38 +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
3ab612a44a
Rename Oninitialized to OnAfterBrowserCreated (more closely matches the underlying CEF API)
2015-07-07 16:48:45 +10:00
amaitland
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)
2015-07-07 16:48:44 +10:00
amaitland
23455de261
Add targetFrameName param to OnBeforePopup
2015-07-07 12:28:29 +10:00
amaitland
b8a322ebe0
Ignore AddressChange if newValue == null
...
Cherry picked from https://github.com/jamespearce2006/CefSharp/commit/94225377388acc7b70cfe7f5715215b446c7a6aa
2015-07-07 12:26:01 +10:00
amaitland
3773edb986
Merge branch 'master' of https://github.com/jamespearce2006/CefSharp
2015-07-07 10:59:42 +10:00
amaitland
0547c45f41
Readd using System.Collections.Generic; as needed by quality comparer
...
Remove implicit http scheme if none provided
2015-07-07 10:42:39 +10:00
amaitland
5bba0b15fa
Merge branch 'master' of https://github.com/lamerbug/CefSharp
2015-07-07 10:39:27 +10:00
Alex Maitland
ff6d53ecff
Merge pull request #1102 from amaitland/cleanup/browsersettings
...
BrowserSettings map to Enabled/Disabled/Default Enum
2015-07-07 10:37:07 +10:00
Alex Maitland
f5bd2fd2c4
Merge pull request #1100 from amaitland/cleanup/throwexceptions
...
Throw Exceptions rather than Fail quietly
2015-07-07 10:34:14 +10:00
amaitland
0188329d10
Untabify
2015-07-07 10:26:45 +10:00
jamespearce2006
9555eab476
Suggested Changes
2015-07-06 14:27:27 +01:00
jamespearce2006
0b1cef8d11
Fix NullReferenceException
...
Fix NullReferenceException when Address is set before OnApplyTemplate is
called
2015-07-06 13:53:30 +01:00
lamerbug
6f08123174
Update DefaultResourceHandlerFactory.cs
...
- using ConcurrentDictionary
- create canonical URL from any string
- update value if key exists
- return bool when register and unregister
2015-07-06 19:47:47 +07:00
lamerbug
3b69adc7c4
Merge pull request #1 from cefsharp/master
...
update from original
2015-07-06 18:27:25 +07:00
amaitland
df29944016
Implement SendMouseMoveEvent in IBrowserHost
...
Can now be used by offscreen
2015-07-06 12:47:29 +10:00
amaitland
5c27b7befa
Set toolTip to null after mouse leaves
2015-07-06 12:42:50 +10:00
amaitland
98d186c33c
Move OnMouseButton into IBrowserHost (rename to SendMouseClickEvent)
2015-07-06 12:39:33 +10:00