| Index: Source/bindings/common/AbstractArrayValue.h
|
| diff --git a/public/platform/WebGestureDevice.h b/Source/bindings/common/AbstractArrayValue.h
|
| similarity index 72%
|
| copy from public/platform/WebGestureDevice.h
|
| copy to Source/bindings/common/AbstractArrayValue.h
|
| index 41b8856c33ead8a53fa0fe2346f1bd0d24dce0c5..2d1e89be1bb719ec91d481d557c3e8ce249d49a6 100644
|
| --- a/public/platform/WebGestureDevice.h
|
| +++ b/Source/bindings/common/AbstractArrayValue.h
|
| @@ -23,16 +23,27 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebGestureDevice_h
|
| -#define WebGestureDevice_h
|
| +#ifndef AbstractArrayValue_h
|
| +#define AbstractArrayValue_h
|
| +
|
| +#include "wtf/Noncopyable.h"
|
| +#include "wtf/RefCounted.h"
|
|
|
| namespace blink {
|
|
|
| -enum WebGestureDevice {
|
| - WebGestureDeviceTouchpad,
|
| - WebGestureDeviceTouchscreen,
|
| +class Dictionary;
|
| +
|
| +class AbstractArrayValue : public RefCounted<AbstractArrayValue> {
|
| + WTF_MAKE_NONCOPYABLE(AbstractArrayValue);
|
| +protected:
|
| + AbstractArrayValue() { }
|
| +public:
|
| + virtual ~AbstractArrayValue() { }
|
| + virtual bool isUndefinedOrNull() const = 0;
|
| + virtual bool length(size_t&) const = 0;
|
| + virtual bool get(size_t index, Dictionary&) const = 0;
|
| };
|
|
|
| -} // namespace blink
|
| +}
|
|
|
| -#endif // WebGestureDevice_h
|
| +#endif // AbstractArrayValue_h
|
|
|