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

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 5 years, 11 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 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void GetAutoRepeatRate(base::TimeDelta* delay, 48 void GetAutoRepeatRate(base::TimeDelta* delay,
49 base::TimeDelta* interval) override; 49 base::TimeDelta* interval) override;
50 void SetTouchpadSensitivity(int value) override; 50 void SetTouchpadSensitivity(int value) override;
51 void SetTapToClick(bool enabled) override; 51 void SetTapToClick(bool enabled) override;
52 void SetThreeFingerClick(bool enabled) override; 52 void SetThreeFingerClick(bool enabled) override;
53 void SetTapDragging(bool enabled) override; 53 void SetTapDragging(bool enabled) override;
54 void SetNaturalScroll(bool enabled) override; 54 void SetNaturalScroll(bool enabled) override;
55 void SetMouseSensitivity(int value) override; 55 void SetMouseSensitivity(int value) override;
56 void SetPrimaryButtonRight(bool right) override; 56 void SetPrimaryButtonRight(bool right) override;
57 void SetTapToClickPaused(bool state) override; 57 void SetTapToClickPaused(bool state) override;
58 void DisableInternalTouchpad() override;
59 void EnableInternalTouchpad() override;
60 void DisableInternalKeyboardExceptKeys(
61 scoped_ptr<std::set<DomCode>> excepted_keys) override;
62 void EnableInternalKeyboard() override;
58 63
59 private: 64 private:
60 // Set a property value for all devices of one type. 65 // Set a property value for all devices of one type.
61 void SetIntPropertyForOneType(const EventDeviceType type, 66 void SetIntPropertyForOneType(const EventDeviceType type,
62 const std::string& name, 67 const std::string& name,
63 int value); 68 int value);
64 void SetBoolPropertyForOneType(const EventDeviceType type, 69 void SetBoolPropertyForOneType(const EventDeviceType type,
65 const std::string& name, 70 const std::string& name,
66 bool value); 71 bool value);
67 72
(...skipping 10 matching lines...) Expand all
78 // Gesture library property provider. 83 // Gesture library property provider.
79 GesturePropertyProvider* gesture_property_provider_; 84 GesturePropertyProvider* gesture_property_provider_;
80 #endif 85 #endif
81 86
82 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); 87 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev);
83 }; 88 };
84 89
85 } // namespace ui 90 } // namespace ui
86 91
87 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ 92 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/event_factory_evdev.cc ('k') | ui/events/ozone/evdev/input_controller_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698