summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/objc/WebScriptObjectPrivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/objc/WebScriptObjectPrivate.h')
-rw-r--r--WebCore/bindings/objc/WebScriptObjectPrivate.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/WebCore/bindings/objc/WebScriptObjectPrivate.h b/WebCore/bindings/objc/WebScriptObjectPrivate.h
index 3a424ce..5da1dde 100644
--- a/WebCore/bindings/objc/WebScriptObjectPrivate.h
+++ b/WebCore/bindings/objc/WebScriptObjectPrivate.h
@@ -59,6 +59,16 @@ namespace WebCore {
- (JSC::Bindings::RootObject*)_originRootObject;
@end
+@interface WebScriptObject (StagedForPublic)
+/*!
+ @method hasWebScriptKey:
+ @param name The name of the property to check for.
+ @discussion Checks for the existence of the property on the object in the script environment.
+ @result Returns YES if the property exists, NO otherwise.
+ */
+- (BOOL)hasWebScriptKey:(NSString *)name;
+@end
+
@interface WebScriptObjectPrivate : NSObject
{
@public