Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / browser / chromeos / system / fake_input_device_settings.h
blobb1aa6b8f995120792a6fb8b2c82a9bdd4d2a6c39
1 // Copyright 2014 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 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_FAKE_INPUT_DEVICE_SETTINGS_H_
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_FAKE_INPUT_DEVICE_SETTINGS_H_
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "chrome/browser/chromeos/system/input_device_settings.h"
12 namespace chromeos {
13 namespace system {
15 // This fake just memorizes current values of input devices settings.
16 class FakeInputDeviceSettings : public InputDeviceSettings {
17 public:
18 FakeInputDeviceSettings();
19 virtual ~FakeInputDeviceSettings();
21 // Overridden from InputDeviceSettings.
22 virtual void TouchpadExists(const DeviceExistsCallback& callback) OVERRIDE;
23 virtual void UpdateTouchpadSettings(const TouchpadSettings& settings)
24 OVERRIDE;
25 virtual void SetTouchpadSensitivity(int value) OVERRIDE;
26 virtual void SetTapToClick(bool enabled) OVERRIDE;
27 virtual void SetThreeFingerClick(bool enabled) OVERRIDE;
28 virtual void SetTapDragging(bool enabled) OVERRIDE;
29 virtual void MouseExists(const DeviceExistsCallback& callback) OVERRIDE;
30 virtual void UpdateMouseSettings(const MouseSettings& settings) OVERRIDE;
31 virtual void SetMouseSensitivity(int value) OVERRIDE;
32 virtual void SetPrimaryButtonRight(bool right) OVERRIDE;
33 virtual void SetNaturalScroll(bool enabled) OVERRIDE;
35 virtual bool ForceKeyboardDrivenUINavigation() OVERRIDE;
36 virtual void ReapplyTouchpadSettings() OVERRIDE;
37 virtual void ReapplyMouseSettings() OVERRIDE;
39 const TouchpadSettings& current_touchpad_settings() const {
40 return current_touchpad_settings_;
43 const MouseSettings& current_mouse_settings() const {
44 return current_mouse_settings_;
47 private:
48 TouchpadSettings current_touchpad_settings_;
49 MouseSettings current_mouse_settings_;
51 DISALLOW_COPY_AND_ASSIGN(FakeInputDeviceSettings);
54 } // namespace system
55 } // namespace chromeos
57 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_FAKE_INPUT_DEVICE_SETTINGS_H_