Per Lundberg
c91c24ebb8
WIP: Added placeholder PropertyAccessor (doesn't really do anything useful at the moment). Next step is to actually get or set the property values from the object we're marshaling.
2013-06-05 11:28:10 +03:00
Per Lundberg
b74f3f2b91
Moved the BindingData and BindingHandler into a separate CefSharp::Internals::JavascriptBinding namespace, in an attempt to structure things in a more maintainable way. Also added explicit private (= internal in C# speak) visibility on the classes, so you don't have to think what the visibility actually is.
2013-06-05 11:28:10 +03:00
Per Lundberg
fe3c9b5558
WIP: Some cleanups and started working on my attempt to expose C# properties to JavaScript. Let's see if it is feasible...
2013-06-05 11:28:10 +03:00
Per Lundberg
7dee449f5f
Refactored out the BindingData into a separate header file (according to the "one class per file" paradigm), and moved the setting up of the Javascript methods into a separate helper method. This frees us from one (quite superfluous) comment, which is always a good thing.
2013-06-05 11:28:09 +03:00
Per Lundberg
3e4119d742
Added a couple of properties, and made them (= special methods) be exempt from the methods bound to Javascript. Next set is to to try and bind them as Javascript properties.
2013-06-05 11:28:09 +03:00
Per Lundberg
26d2e04aee
Whitespace? I suspect this is a CRLF vs LF style commit... Couldn't make git accept that the files are unmodified whatsoever.
2013-05-01 17:44:45 +03:00
anthony taranto
b9706f9bda
Merge branch 'master' into cef_update
2012-06-05 13:24:26 -07:00
anthony taranto
c27984e3b2
BindingHandler::Execute(): remove commented out param
2012-05-24 23:27:29 -07:00
anthony taranto
2f2324b773
fixup BindingHandler::Bind()
2012-05-24 23:19:10 -07:00
anthony taranto
461d39c2c0
chromium 21.0.1148.0, CEF r646 (Release only)
2012-05-24 00:59:34 -07:00
anthony taranto
f306f81a14
update to CEF r536
2012-03-15 18:44:24 -07:00
anthony taranto
36b11a92f3
split Utils into StringUtil, TypeUtil
2012-02-24 12:31:54 -08:00
anthony taranto
dc8a256879
update SetValue() calls
2011-11-21 13:17:28 -08:00
anthony taranto
bbbd0f9caa
BindingHandler: flatten BindingData class hierarchy, remove virtual inheritence, use static_cast<BindingData*>. this reenables js object binding
2011-06-02 15:43:15 -07:00
chillitom
7b55c9e3ee
improved ExecuteJavascript method
...
- modified CEF to provide callback after JavaScript completion
- removes need for JsResultHandler
- patch for CEF issue 151 in patches folder
- v8 to/from CEF methods moved to Utils.h
2011-01-07 16:15:50 +00:00
chillitom
5e723a6890
renamed convertFromString/convertToString to toNative/toClr
2010-12-21 10:51:41 +00:00
fddima
85e3b53191
- JavaScript<->CLR type conversion basic tests added
...
- Improved BindingHandler to handle many of base types, and method overloads by 'calling cost'.
- Still not supported JavaScript Date and DateTime type. (may be little cef related, but can be handled via double->DateTime and DateTime->double);
- Not supported Int64 (but can be done via string->Int64 and Int64->string);
- Poor supported Decimal (via double), but it is unsafe, and will be broken, better to give implicit string->decimal and decimal->string conversion.
2010-12-16 15:23:48 +02:00
fddima
9b210144d6
- Cost based method selection in BindingHandler.
...
- Added Bookmarks menu to CefSharp.Example with CefSharp Home and Firebug Lite.
- Fix some tests. Coming soon!
2010-12-16 12:44:02 +02:00
fddima
c8776be3b8
Added some type handling in CLR object binding.
2010-12-16 01:24:00 +02:00
fddima
b2c08d6142
Swap to home.
2010-12-15 19:07:38 +02:00
fddima
94a99f2a0c
Commit before merge.
2010-12-15 18:21:25 +02:00
fddima
0150d09a37
- Added ScriptException exception class.
...
- Fix ConvertToCef while method returns void.
- Add exception handling while converting arguments from cef.
- Add some tests, but it is not complete!
2010-12-15 15:33:23 +02:00
chillitom
d58fd008b1
basic support for binding a CLR object into the V8 javascript context
2010-12-13 22:37:51 +00:00