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
17df6f8153
Add PostDataElementType enum
2015-07-07 20:37:09 +10:00
amaitland
133a88b644
Add sample of how to use the new post data implementation
2015-07-07 20:35:08 +10:00
amaitland
9d1b9e16f5
Remove Body
...
Read in byte array
Add some extensions to access the Body data
2015-07-07 20:27:41 +10:00
amaitland
597b48b7da
Add CefPostDataElementWrapper implementation
2015-07-07 19:56:52 +10:00
amaitland
6005fd3f2c
Add outline of IPostData implementation
2015-07-07 19:35:39 +10: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
amaitland
fbe8ccd61c
Move Invalidate method from ManagedCefBrowserAdapter into CefBrowserHostWrapper - now can be used in OffScreen
2015-07-06 12:25:09 +10:00
amaitland
bbe267b44c
Throw exception if IsBrowserInitialized when trying to call RegisterJsObject
2015-07-06 12:16:58 +10:00
Alex Maitland
938877aaf3
Merge pull request #1105 from amaitland/enhancement/releasemodemessage
...
Display Release Mode Message Box In Examples
2015-07-06 12:04:01 +10:00
amaitland
ab72636831
Add BackgroundColor property
...
Add xml comments
2015-07-06 12:00:07 +10:00
amaitland
af92dade32
Fix type
...
Change case of JavaScript to Javascript - matches other project references
2015-07-06 11:32:46 +10:00
amaitland
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
2015-07-06 11:30:53 +10:00
amaitland
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
2015-07-03 12:44:34 +10:00
amaitland
92a325b77e
Change Nullable types from ref to value (as nullable is a struct).
...
Decompiled code showed `ValueType` before and how shows the correct type
2015-07-01 22:42:24 +10:00
amaitland
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
2015-07-01 19:58:54 +10:00
amaitland
df94d54a61
Remove duplicate GetMainFrame and GetFocusedFrame methods - turned them into extensions
2015-07-01 19:49:27 +10:00
amaitland
f239503bb3
Move SendMouseWheelEvent to IBrowserHost
2015-07-01 19:38:14 +10:00
amaitland
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
2015-07-01 19:27:04 +10:00
amaitland
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
2015-07-01 19:24:49 +10:00
Alex Maitland
9c456b32ce
Merge pull request #1099 from amaitland/feature/cefwindowinfo
...
Add CefWindowInfoWrapper
2015-07-01 19:05:25 +10:00