summaryrefslogtreecommitdiffstats
path: root/ui/base/touch/touch_mode_support.h
blob: 0e7edeff78fba9294f0e4da9ab16c656182d6fe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2012 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_MODE_SUPPORT_H_
#define UI_BASE_TOUCH_TOUCH_MODE_SUPPORT_H_
#pragma once

#include "base/basictypes.h"
#include "ui/base/ui_export.h"

class UI_EXPORT TouchModeSupport {
 public:
  // Returns whether we should be operating in touch-friendly mode.
  static bool IsTouchOptimized();

 private:
  DISALLOW_IMPLICIT_CONSTRUCTORS(TouchModeSupport);
};

#endif  // UI_BASE_TOUCH_TOUCH_MODE_SUPPORT_H_