| Index: webkit/chaos/V8CustomChaosPositionCallback.h | 
| =================================================================== | 
| --- webkit/chaos/V8CustomChaosPositionCallback.h	(revision 0) | 
| +++ webkit/chaos/V8CustomChaosPositionCallback.h	(revision 0) | 
| @@ -0,0 +1,26 @@ | 
| +#include "ChaosPositionCallback.h" | 
| +#include <v8.h> | 
| +#include <wtf/PassRefPtr.h> | 
| +#include <wtf/RefPtr.h> | 
| + | 
| +namespace WebCore { | 
| + | 
| +class Frame; | 
| + | 
| +class V8CustomChaosPositionCallback : public ChaosPositionCallback { | 
| + public: | 
| +  static PassRefPtr<V8CustomChaosPositionCallback> create(Frame *frame, v8::Local<v8::Value> value) { | 
| +    ASSERT(value->IsObject()); | 
| +    return adoptRef(new V8CustomChaosPositionCallback(frame, value->ToObject())); | 
| +  } | 
| + private: | 
| +  V8CustomChaosPositionCallback(Frame *frame, v8::Local<v8::Object> callback); | 
| + | 
| +  void handleEvent(ChaosGeoposition* position); | 
| + | 
| +  v8::Persistent<v8::Object> callback_; | 
| +  RefPtr<Frame> frame_; | 
| + | 
| +}; | 
| + | 
| +} // namespace WebCore | 
|  | 
| Property changes on: webkit/chaos/V8CustomChaosPositionCallback.h | 
| ___________________________________________________________________ | 
| Added: svn:eol-style | 
| + LF | 
|  | 
|  |