Closed GoogleCodeExporter closed 9 years ago
r215 added support for accessor-based properties in CefV8Value objects.
You just need to create an object with a CefV8Accessor interface that you
implement to handle the Get() and Set() calls on your property and add the
properties via
bool CefV8Value::SetValue(const CefString& key, AccessControl settings,
PropertyAttribute attribute)
See an example here where I create an object with x and y properties:
http://code.google.com/p/chromiumembedded/source/browse/trunk/tests/unittests/v8
_unittest.cc?spec=svn215&r=215#402
Is this what you are looking for?
Original comment by gusver...@gmail.com
on 26 Apr 2011 at 9:09
Original comment by magreenb...@gmail.com
on 29 Apr 2011 at 7:01
Original issue reported on code.google.com by
Yuankain...@gmail.com
on 25 Apr 2011 at 3:37