diff options
author | flackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-21 21:10:31 +0000 |
---|---|---|
committer | flackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-21 21:10:31 +0000 |
commit | d793253443c9d18556f98ad9a02f0aeaf0640d1b (patch) | |
tree | b365661e0168120569a2b4a1f0b1a87d3f4a2aab /content/common | |
parent | 33a7e0838e27d9062719904c73062d499e33e8e2 (diff) | |
download | chromium_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.h | 1 |
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) |