Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / ui / base / touch / touch_device.cc
blob8aa63404d8736eba1d6f25611ca07f228afa9db8
1 // Copyright (c) 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.
5 #include "ui/base/touch/touch_device.h"
7 namespace ui {
9 // Platforms supporting touch link in an alternate implementation of this
10 // method.
11 bool IsTouchDevicePresent() {
12 return false;
15 int MaxTouchPoints() {
16 return 0;
19 int GetAvailablePointerTypes() {
20 // Assume a non-touch-device with a mouse
21 return POINTER_TYPE_FINE;
24 PointerType GetPrimaryPointerType() {
25 // Assume a non-touch-device with a mouse
26 return POINTER_TYPE_FINE;
29 int GetAvailableHoverTypes() {
30 // Assume a non-touch-device with a mouse
31 return HOVER_TYPE_HOVER;
34 HoverType GetPrimaryHoverType() {
35 // Assume a non-touch-device with a mouse
36 return HOVER_TYPE_HOVER;
39 } // namespace ui