1 // Copyright 2014 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.
5 #ifndef CONTENT_COMMON_INPUT_WEB_TOUCH_EVENT_TRAITS_H_
6 #define CONTENT_COMMON_INPUT_WEB_TOUCH_EVENT_TRAITS_H_
8 #include "base/basictypes.h"
9 #include "content/common/input/scoped_web_input_event.h"
10 #include "third_party/WebKit/public/web/WebInputEvent.h"
14 // Utility class for performing operations on and with WebTouchEvents.
15 class CONTENT_EXPORT WebTouchEventTraits {
17 static bool IsTouchSequenceStart(const blink::WebTouchEvent& event);
20 } // namespace content
22 #endif // CONTENT_COMMON_INPUT_WEB_TOUCH_EVENT_TRAITS_H_