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

Side by Side Diff: ui/events/ozone/evdev/input_controller_evdev.h

Issue 806693009: Port ScopedDisableInternalMouseAndKeyboardX11 to Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ 5 #ifndef UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_
6 #define UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ 6 #define UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 20 matching lines...) Expand all
31 GesturePropertyProvider* gesture_property_provider 31 GesturePropertyProvider* gesture_property_provider
32 #endif 32 #endif
33 ); 33 );
34 virtual ~InputControllerEvdev(); 34 virtual ~InputControllerEvdev();
35 35
36 // InputController overrides: 36 // InputController overrides:
37 // 37 //
38 // Interfaces for configuring input devices. 38 // Interfaces for configuring input devices.
39 bool HasMouse() override; 39 bool HasMouse() override;
40 bool HasTouchpad() override; 40 bool HasTouchpad() override;
41 void DisableInternalTouchpad() override;
42 void EnableInternalTouchpad() override;
43 void DisableInternalKeyboardExceptKeys(
44 scoped_ptr<std::set<KeyboardCode>> excepted_keys) override;
45 void EnableInternalKeyboard() override;
41 void SetTouchpadSensitivity(int value) override; 46 void SetTouchpadSensitivity(int value) override;
42 void SetTapToClick(bool enabled) override; 47 void SetTapToClick(bool enabled) override;
43 void SetThreeFingerClick(bool enabled) override; 48 void SetThreeFingerClick(bool enabled) override;
44 void SetTapDragging(bool enabled) override; 49 void SetTapDragging(bool enabled) override;
45 void SetNaturalScroll(bool enabled) override; 50 void SetNaturalScroll(bool enabled) override;
46 void SetMouseSensitivity(int value) override; 51 void SetMouseSensitivity(int value) override;
47 void SetPrimaryButtonRight(bool right) override; 52 void SetPrimaryButtonRight(bool right) override;
48 53
49 private: 54 private:
50 // Set a property value for all devices of one type. 55 // Set a property value for all devices of one type.
(...skipping 14 matching lines...) Expand all
65 // Gesture library property provider. 70 // Gesture library property provider.
66 GesturePropertyProvider* gesture_property_provider_; // Not owned. 71 GesturePropertyProvider* gesture_property_provider_; // Not owned.
67 #endif 72 #endif
68 73
69 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); 74 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev);
70 }; 75 };
71 76
72 } // namespace ui 77 } // namespace ui
73 78
74 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ 79 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698