Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: third_party/WebKit/public/platform/PointerProperties.h

Issue 2673963002: Drop hover:on-demand support & let touch-screens report "none" instead. (Closed)
Patch Set: Fixed a "yikes!" Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PointerProperties_h 5 #ifndef PointerProperties_h
6 #define PointerProperties_h 6 #define PointerProperties_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 // Bit field values indicating available pointer types. 10 // Bit field values indicating available pointer types.
11 enum PointerType { 11 enum PointerType {
12 PointerTypeNone = 1 << 0, 12 PointerTypeNone = 1 << 0,
13 PointerTypeCoarse = 1 << 1, 13 PointerTypeCoarse = 1 << 1,
14 PointerTypeFine = 1 << 2 14 PointerTypeFine = 1 << 2
15 }; 15 };
16 16
17 // Bit field values indicating available hover types. 17 // Bit field values indicating available hover types.
18 enum HoverType { 18 enum HoverType { HoverTypeNone = 1 << 0, HoverTypeHover = 1 << 1 };
19 HoverTypeNone = 1 << 0,
20 // Indicates that the primary pointing system can hover, but it requires
21 // a significant action on the user's part. e.g. hover on "long press".
22 HoverTypeOnDemand = 1 << 1,
23 HoverTypeHover = 1 << 2
24 };
25 } 19 }
26 20
27 #endif 21 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698