summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authorflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-21 21:10:31 +0000
committerflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-21 21:10:31 +0000
commitd793253443c9d18556f98ad9a02f0aeaf0640d1b (patch)
treeb365661e0168120569a2b4a1f0b1a87d3f4a2aab /content/common
parent33a7e0838e27d9062719904c73062d499e33e8e2 (diff)
downloadchromium_src-d793253443c9d18556f98ad9a02f0aeaf0640d1b.zip
chromium_src-d793253443c9d18556f98ad9a02f0aeaf0640d1b.tar.gz
chromium_src-d793253443c9d18556f98ad9a02f0aeaf0640d1b.tar.bz2
Convert touch events to tristate flag.
When set to auto touch events are enabled when we believe there is a touch device attached (i.e. when pointer:coarse is true). BUG=159527 TEST=Set flag to enabled/auto/disabled, test (document.body.ontouchstart !== undefined). Review URL: https://chromiumcodereview.appspot.com/11410092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169131 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r--content/common/view_messages.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index e67f08f..a2f43cd 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -219,6 +219,7 @@ IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebPreferences)
IPC_STRUCT_TRAITS_MEMBER(css_shaders_enabled)
IPC_STRUCT_TRAITS_MEMBER(css_variables_enabled)
IPC_STRUCT_TRAITS_MEMBER(css_grid_layout_enabled)
+ IPC_STRUCT_TRAITS_MEMBER(touch_enabled)
IPC_STRUCT_TRAITS_MEMBER(device_supports_touch)
IPC_STRUCT_TRAITS_MEMBER(device_supports_mouse)
IPC_STRUCT_TRAITS_MEMBER(default_tile_width)