Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: public/web/WebTouchAction.h

Issue 1137483003: Implement direction-specific touch-action values (blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebTouchAction.h
diff --git a/public/web/WebTouchAction.h b/public/web/WebTouchAction.h
index 2643199d264f4ecdacb03c77f223c78089fe3a64..27ebe35269fab3d8bba9f859d3e89a8756ccdaa5 100644
--- a/public/web/WebTouchAction.h
+++ b/public/web/WebTouchAction.h
@@ -37,9 +37,13 @@ namespace blink {
enum WebTouchAction {
WebTouchActionAuto = 0x0,
WebTouchActionNone = 0x1,
- WebTouchActionPanX = 0x2,
- WebTouchActionPanY = 0x4,
- WebTouchActionPinchZoom = 0x8,
+ WebTouchActionPanLeft = 0x2,
+ WebTouchActionPanRight = 0x4,
+ WebTouchActionPanX = WebTouchActionPanLeft | WebTouchActionPanRight,
+ WebTouchActionPanUp = 0x8,
+ WebTouchActionPanDown = 0x10,
+ WebTouchActionPanY = WebTouchActionPanUp | WebTouchActionPanDown,
+ WebTouchActionPinchZoom = 0x20,
};
inline WebTouchAction operator| (WebTouchAction a, WebTouchAction b) { return WebTouchAction(int(a) | int(b)); }
inline WebTouchAction& operator|= (WebTouchAction& a, WebTouchAction b) { return a = a | b; }
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698