1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CONTENT_COMMON_INPUT_TOUCH_ACTION_H_ 6 #define CONTENT_COMMON_INPUT_TOUCH_ACTION_H_ 7 8 namespace content { 9 10 // The current touch action specifies what accelerated browser operations 11 // (panning and zooming) are currently permitted via touch input. 12 // See http://www.w3.org/TR/pointerevents/#the-touch-action-css-property. 13 enum TouchAction { 14 // No scrolling or zooming allowed. 15 TOUCH_ACTION_NONE, 16 17 // All actions are pemitted (the default). 18 TOUCH_ACTION_AUTO, 19 20 TOUCH_ACTION_MAX = TOUCH_ACTION_AUTO 21 }; 22 23 } // namespace content 24 25 #endif // CONTENT_COMMON_INPUT_TOUCH_ACTION_H_ 26