Drive: Add BatchableRequest subclass.
[chromium-blink-merge.git] / ui / events / ozone / evdev / input_device_settings_evdev.cc
blob6393eb336ba8780e8b0288b46ce12edb90dcc2b1
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/events/ozone/evdev/input_device_settings_evdev.h"
7 namespace ui {
9 const int kDefaultSensitivity = 3;
11 // The initial settings are not critical since they will be shortly be changed
12 // to the user's preferences or the application's own defaults.
14 InputDeviceSettingsEvdev::InputDeviceSettingsEvdev()
15 : tap_to_click_enabled(true),
16 three_finger_click_enabled(false),
17 tap_dragging_enabled(false),
18 natural_scroll_enabled(false),
19 tap_to_click_paused(false),
20 touchpad_sensitivity(kDefaultSensitivity),
21 mouse_sensitivity(kDefaultSensitivity) {
24 InputDeviceSettingsEvdev::InputDeviceSettingsEvdev(
25 const InputDeviceSettingsEvdev& other) = default;
27 InputDeviceSettingsEvdev::~InputDeviceSettingsEvdev() {
30 } // namespace ui