Remove touch_drag_drop web preference. It was added in r184242 for tests to be

able to override it. But there is already functionality in internals.settings to
to that.

BUG=231643

Review URL: https://chromiumcodereview.appspot.com/15898003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202958 0039d316-1c4b-4281-b951-d872f2087c98
parent 150ad40f
......@@ -180,7 +180,6 @@ IPC_STRUCT_TRAITS_BEGIN(WebPreferences)
IPC_STRUCT_TRAITS_MEMBER(device_supports_touch)
IPC_STRUCT_TRAITS_MEMBER(device_supports_mouse)
IPC_STRUCT_TRAITS_MEMBER(touch_adjustment_enabled)
IPC_STRUCT_TRAITS_MEMBER(touch_drag_drop_enabled)
IPC_STRUCT_TRAITS_MEMBER(fixed_position_creates_stacking_context)
IPC_STRUCT_TRAITS_MEMBER(sync_xhr_in_documents_enabled)
IPC_STRUCT_TRAITS_MEMBER(deferred_image_decoding_enabled)
......
......@@ -50,7 +50,6 @@ void ExportLayoutTestSpecificPreferences(
to->javascript_can_open_windows_automatically =
from.javaScriptCanOpenWindowsAutomatically;
to->user_style_sheet_location = from.userStyleSheetLocation;
to->touch_drag_drop_enabled = from.touchDragDropEnabled;
}
// Applies settings that differ between layout tests and regular mode. Some
......
......@@ -103,7 +103,6 @@ WebPreferences::WebPreferences()
device_supports_touch(false),
device_supports_mouse(true),
touch_adjustment_enabled(true),
touch_drag_drop_enabled(false),
fixed_position_creates_stacking_context(false),
sync_xhr_in_documents_enabled(true),
deferred_image_decoding_enabled(false),
......@@ -436,7 +435,6 @@ void ApplyWebPreferences(const WebPreferences& prefs, WebView* web_view) {
settings->setDeviceSupportsTouch(prefs.device_supports_touch);
settings->setDeviceSupportsMouse(prefs.device_supports_mouse);
settings->setEnableTouchAdjustment(prefs.touch_adjustment_enabled);
settings->setTouchDragDropEnabled(prefs.touch_drag_drop_enabled);
settings->setFixedPositionCreatesStackingContext(
prefs.fixed_position_creates_stacking_context);
......
......@@ -142,7 +142,6 @@ struct WEBKIT_GLUE_EXPORT WebPreferences {
bool device_supports_touch;
bool device_supports_mouse;
bool touch_adjustment_enabled;
bool touch_drag_drop_enabled;
bool fixed_position_creates_stacking_context;
bool sync_xhr_in_documents_enabled;
bool deferred_image_decoding_enabled;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment