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

Side by Side Diff: ui/base/touch/touch_device.h

Issue 2827803002: Make Interaction Media Features MQ dynamic on Linux. (Closed)
Patch Set: Patch for landing, added the mojo bits Created 3 years, 7 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
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/base/touch/touch_device_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_BASE_TOUCH_TOUCH_DEVICE_H_ 5 #ifndef UI_BASE_TOUCH_TOUCH_DEVICE_H_
6 #define UI_BASE_TOUCH_TOUCH_DEVICE_H_ 6 #define UI_BASE_TOUCH_TOUCH_DEVICE_H_
7 7
8 #include <tuple> 8 #include <tuple>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // content/public/common/web_preferences.cc . 54 // content/public/common/web_preferences.cc .
55 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui.base 55 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui.base
56 // GENERATED_JAVA_PREFIX_TO_STRIP: HOVER_TYPE_ 56 // GENERATED_JAVA_PREFIX_TO_STRIP: HOVER_TYPE_
57 enum HoverType { 57 enum HoverType {
58 HOVER_TYPE_NONE = 1 << 0, 58 HOVER_TYPE_NONE = 1 << 0,
59 HOVER_TYPE_FIRST = HOVER_TYPE_NONE, 59 HOVER_TYPE_FIRST = HOVER_TYPE_NONE,
60 HOVER_TYPE_HOVER = 1 << 1, 60 HOVER_TYPE_HOVER = 1 << 1,
61 HOVER_TYPE_LAST = HOVER_TYPE_HOVER 61 HOVER_TYPE_LAST = HOVER_TYPE_HOVER
62 }; 62 };
63 63
64 int GetAvailablePointerTypes();
65 int GetAvailableHoverTypes();
64 UI_BASE_EXPORT std::pair<int, int> GetAvailablePointerAndHoverTypes(); 66 UI_BASE_EXPORT std::pair<int, int> GetAvailablePointerAndHoverTypes();
65 UI_BASE_EXPORT void SetAvailablePointerAndHoverTypesForTesting( 67 UI_BASE_EXPORT void SetAvailablePointerAndHoverTypesForTesting(
66 int available_pointer_types, 68 int available_pointer_types,
67 int available_hover_types); 69 int available_hover_types);
68 UI_BASE_EXPORT PointerType GetPrimaryPointerType(int available_pointer_types); 70 UI_BASE_EXPORT PointerType GetPrimaryPointerType(int available_pointer_types);
69 UI_BASE_EXPORT HoverType GetPrimaryHoverType(int available_hover_types); 71 UI_BASE_EXPORT HoverType GetPrimaryHoverType(int available_hover_types);
70 72
71 } // namespace ui 73 } // namespace ui
72 74
73 #endif // UI_BASE_TOUCH_TOUCH_DEVICE_H_ 75 #endif // UI_BASE_TOUCH_TOUCH_DEVICE_H_
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/base/touch/touch_device_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698