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

Unified Diff: content/common/input/touch_action.h

Issue 197273003: Add support for touch-action: manipulation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move validation to IPC layer Created 6 years, 9 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
Index: content/common/input/touch_action.h
diff --git a/content/common/input/touch_action.h b/content/common/input/touch_action.h
index 6bd2ddbc8bd7f6e67837e498f59598bd6a8a50ac..5eb09f9ada2e980bc7ee5b39171452124a52063f 100644
--- a/content/common/input/touch_action.h
+++ b/content/common/input/touch_action.h
@@ -23,7 +23,11 @@ enum TouchAction {
TOUCH_ACTION_PAN_X_Y = TOUCH_ACTION_PAN_X | TOUCH_ACTION_PAN_Y,
- TOUCH_ACTION_MAX = (1 << 3) - 1
+ TOUCH_ACTION_PINCH_ZOOM = 1 << 3,
+
+ TOUCH_ACTION_MANIPULATION = TOUCH_ACTION_PAN_X_Y | TOUCH_ACTION_PINCH_ZOOM,
+
+ TOUCH_ACTION_MAX = (1 << 4) - 1
};
} // namespace content
« no previous file with comments | « content/browser/renderer_host/input/touch_action_filter_unittest.cc ('k') | content/common/input_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698