diff options
Diffstat (limited to 'WebCore/bindings/v8/V8Binding.h')
-rw-r--r-- | WebCore/bindings/v8/V8Binding.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/WebCore/bindings/v8/V8Binding.h b/WebCore/bindings/v8/V8Binding.h index 58989ed..566e8ac 100644 --- a/WebCore/bindings/v8/V8Binding.h +++ b/WebCore/bindings/v8/V8Binding.h @@ -31,6 +31,8 @@ #ifndef V8Binding_h #define V8Binding_h +#include "BindingFrame.h" +#include "BindingLocation.h" #include "BindingSecurity.h" #include "MathExtras.h" #include "PlatformString.h" @@ -50,16 +52,18 @@ namespace WebCore { public: typedef v8::Handle<v8::Value> Value; typedef V8BindingDOMWindow DOMWindow; + typedef BindingFrame<V8Binding> Frame; + typedef BindingLocation<V8Binding> Location; static Value emptyScriptValue() { return v8::Local<v8::Value>(); } }; typedef BindingSecurity<V8Binding> V8BindingSecurity; - + enum ExternalMode { Externalize, DoNotExternalize }; - + template <typename StringType> StringType v8StringToWebCoreString(v8::Handle<v8::String> v8String, ExternalMode external); |