diff options
Diffstat (limited to 'webkit/glue/cpp_bound_class.h')
-rw-r--r-- | webkit/glue/cpp_bound_class.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/glue/cpp_bound_class.h b/webkit/glue/cpp_bound_class.h index 7b1b9b8..7db5f3b 100644 --- a/webkit/glue/cpp_bound_class.h +++ b/webkit/glue/cpp_bound_class.h @@ -26,7 +26,9 @@ #include "base/scoped_ptr.h" #include "base/task.h" +namespace WebKit { class WebFrame; +} typedef std::vector<CppVariant> CppArgumentList; @@ -51,7 +53,8 @@ class CppBoundClass { // as window.<classname>. The owner of the CppBoundObject is responsible for // keeping the object around while the frame is alive, and for destroying it // afterwards. - void BindToJavascript(WebFrame* frame, const std::wstring& classname); + void BindToJavascript( + WebKit::WebFrame* frame, const std::wstring& classname); // The type of callbacks. typedef Callback2<const CppArgumentList&, CppVariant*>::Type Callback; |