| Index: Source/core/style/ComputedStyleConstants.h
|
| diff --git a/Source/core/style/ComputedStyleConstants.h b/Source/core/style/ComputedStyleConstants.h
|
| index 0aa2718fe8c850a9849f26484482ea37299a1542..d3c9cf13fbc71c4f186d41eb56d62a414857ca42 100644
|
| --- a/Source/core/style/ComputedStyleConstants.h
|
| +++ b/Source/core/style/ComputedStyleConstants.h
|
| @@ -486,13 +486,17 @@ enum GridAutoFlow {
|
|
|
| enum DraggableRegionMode { DraggableRegionNone, DraggableRegionDrag, DraggableRegionNoDrag };
|
|
|
| -static const size_t TouchActionBits = 4;
|
| +static const size_t TouchActionBits = 6;
|
| enum TouchAction {
|
| TouchActionAuto = 0x0,
|
| TouchActionNone = 0x1,
|
| - TouchActionPanX = 0x2,
|
| - TouchActionPanY = 0x4,
|
| - TouchActionPinchZoom = 0x8,
|
| + TouchActionPanLeft = 0x2,
|
| + TouchActionPanRight = 0x4,
|
| + TouchActionPanX = TouchActionPanLeft | TouchActionPanRight,
|
| + TouchActionPanUp = 0x8,
|
| + TouchActionPanDown = 0x10,
|
| + TouchActionPanY = TouchActionPanUp | TouchActionPanDown,
|
| + TouchActionPinchZoom = 0x20,
|
| };
|
| inline TouchAction operator| (TouchAction a, TouchAction b) { return TouchAction(int(a) | int(b)); }
|
| inline TouchAction& operator|= (TouchAction& a, TouchAction b) { return a = a | b; }
|
|
|