diff options
Diffstat (limited to 'webkit/glue/cpp_binding_example.h')
-rw-r--r-- | webkit/glue/cpp_binding_example.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/cpp_binding_example.h b/webkit/glue/cpp_binding_example.h index c89e814..a663682 100644 --- a/webkit/glue/cpp_binding_example.h +++ b/webkit/glue/cpp_binding_example.h @@ -63,6 +63,9 @@ class CppBindingExample : public CppBoundClass { // numbers (integers or doubles). Otherwise returns null. void plus(const CppArgumentList& args, CppVariant* result); + // Always returns the same value -- an example of a read-only property. + void same(CppVariant* result); + // Invoked when a nonexistent method is called on this example object, this // prints an error message. void fallbackMethod(const CppArgumentList& args, CppVariant* result); |