summaryrefslogtreecommitdiffstats
path: root/chromium/ui/base/touch/touch_enabled.h
blob: 4155674ddb63200269e24aec52c89b6ea3c81b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_BASE_TOUCH_TOUCH_ENABLED_H_
#define UI_BASE_TOUCH_TOUCH_ENABLED_H_

#include "ui/base/ui_export.h"

namespace ui {

// Returns true if the touch-enabled flag is enabled, or if it is set to auto
// and a touch device is present.
UI_EXPORT bool AreTouchEventsEnabled();

}  // namespace ui

#endif  // UI_BASE_TOUCH_TOUCH_ENABLED_H_