diff options
Diffstat (limited to 'webkit/pending/Peerable.h')
-rw-r--r-- | webkit/pending/Peerable.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/webkit/pending/Peerable.h b/webkit/pending/Peerable.h new file mode 100644 index 0000000..75175ad --- /dev/null +++ b/webkit/pending/Peerable.h @@ -0,0 +1,25 @@ +// Copyright (c) 2008 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef Peerable_h
+#define Peerable_h
+
+#include <wtf/Noncopyable.h>
+
+#if USE(V8_BINDING)
+
+namespace WebCore {
+
+class Peerable : Noncopyable {
+public:
+ virtual void setPeer(void* peer) = 0;
+ virtual void* peer() const = 0;
+protected:
+ virtual ~Peerable() { }
+};
+
+};
+
+#endif // USE(V8_BINDING)
+#endif // Peerable_h
|