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

Unified Diff: ui/base/touch/touch_device.h

Issue 2690323002: Make Interaction Media Features MQ dynamic on Windows. (Closed)
Patch Set: Nit fix Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/touch/touch_device.h
diff --git a/ui/base/touch/touch_device.h b/ui/base/touch/touch_device.h
index b59699bf36c70a0831b347636de444d173fae062..7b1b65f30fc02104269e243b416a2830524f8623 100644
--- a/ui/base/touch/touch_device.h
+++ b/ui/base/touch/touch_device.h
@@ -62,6 +62,9 @@ enum HoverType {
};
UI_BASE_EXPORT std::pair<int, int> GetAvailablePointerAndHoverTypes();
+UI_BASE_EXPORT void SetAvailablePointerAndHoverTypesForTesting(
+ int available_pointer_types,
+ int available_hover_types);
UI_BASE_EXPORT PointerType GetPrimaryPointerType(int available_pointer_types);
UI_BASE_EXPORT HoverType GetPrimaryHoverType(int available_hover_types);

Powered by Google App Engine
This is Rietveld 408576698