On Wed, Apr 29, 2009 at 6:47 PM, Marshall Greenblatt <[email protected] > wrote:
> 3. Is there a way to specify native getter/setter functions for a property > defined on the JS side? For instance, "myobject.foo = bar" would somehow > call a natively defined "setFoo" function with the "bar" argument. If this > isn't possible, are there any plans to support native properties directly? You can always use __define[SG]etter__. See webkit/extensions/v8/gears_extension.cc for an example. --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
