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

Unified Diff: webkit/glue/webpreferences.cc

Issue 12314032: [content shell] enable touch events for layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpreferences.cc
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index d84bb3110acd5e32ad913120c1644cb7feb9da9e..6fc88df4b953b53b1b6e6cb00a14565677e72bfe 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -121,6 +121,7 @@ WebPreferences::WebPreferences()
device_supports_touch(false),
device_supports_mouse(true),
touch_adjustment_enabled(true),
+ touch_drag_drop_enabled(false),
default_tile_width(256),
default_tile_height(256),
max_untiled_layer_width(512),
@@ -467,6 +468,7 @@ void WebPreferences::Apply(WebView* web_view) const {
settings->setDeviceSupportsTouch(device_supports_touch);
settings->setDeviceSupportsMouse(device_supports_mouse);
settings->setEnableTouchAdjustment(touch_adjustment_enabled);
+ settings->setTouchDragDropEnabled(touch_drag_drop_enabled);
settings->setDefaultTileSize(
WebSize(default_tile_width, default_tile_height));
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698