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

Unified Diff: content/public/common/common_param_traits_macros.h

Issue 685153003: Pointer/hover media query support: platform-independent changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed platform-dependent changes, and rebased Created 6 years, 2 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
« no previous file with comments | « no previous file | content/public/common/web_preferences.h » ('j') | content/public/common/web_preferences.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/common_param_traits_macros.h
diff --git a/content/public/common/common_param_traits_macros.h b/content/public/common/common_param_traits_macros.h
index 854ed74977f2569192f5e8698358f92eaf4879d5..db5613a1707e6c93741289c13cf9636733dd083e 100644
--- a/content/public/common/common_param_traits_macros.h
+++ b/content/public/common/common_param_traits_macros.h
@@ -44,6 +44,12 @@ IPC_ENUM_TRAITS_MAX_VALUE(WindowOpenDisposition,
IPC_ENUM_TRAITS_MAX_VALUE(net::RequestPriority, net::MAXIMUM_PRIORITY)
IPC_ENUM_TRAITS_MAX_VALUE(content::V8CacheOptions,
content::V8_CACHE_OPTIONS_LAST)
+IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::PointerType,
+ content::POINTER_TYPE_FIRST,
+ content::POINTER_TYPE_LAST)
+IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::HoverType,
+ content::HOVER_TYPE_FIRST,
+ content::HOVER_TYPE_LAST)
IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint)
IPC_STRUCT_TRAITS_MEMBER(x)
@@ -163,6 +169,10 @@ IPC_STRUCT_TRAITS_BEGIN(content::WebPreferences)
IPC_STRUCT_TRAITS_MEMBER(device_supports_mouse)
IPC_STRUCT_TRAITS_MEMBER(touch_adjustment_enabled)
IPC_STRUCT_TRAITS_MEMBER(pointer_events_max_touch_points)
+ IPC_STRUCT_TRAITS_MEMBER(available_pointer_types)
+ IPC_STRUCT_TRAITS_MEMBER(primary_pointer_type)
+ IPC_STRUCT_TRAITS_MEMBER(available_hover_types)
+ IPC_STRUCT_TRAITS_MEMBER(primary_hover_type)
IPC_STRUCT_TRAITS_MEMBER(sync_xhr_in_documents_enabled)
IPC_STRUCT_TRAITS_MEMBER(deferred_image_decoding_enabled)
IPC_STRUCT_TRAITS_MEMBER(should_respect_image_orientation)
« no previous file with comments | « no previous file | content/public/common/web_preferences.h » ('j') | content/public/common/web_preferences.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698