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

Side by Side Diff: ui/ozone/platform/x11/x11_input_controller.h

Issue 750593003: Ozone X11 platform Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup leftover stuff 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_OZONE_PLATFORM_TEST_INPUT_CONTROLLER_TEST_H_ 5 #ifndef UI_OZONE_PLATFORM_X11_X11_INPUT_CONTROLLER_H_
6 #define UI_OZONE_PLATFORM_TEST_INPUT_CONTROLLER_TEST_H_ 6 #define UI_OZONE_PLATFORM_X11_X11_INPUT_CONTROLLER_H_
7 7
8 #include "base/basictypes.h"
9 #include "ui/ozone/public/input_controller.h" 8 #include "ui/ozone/public/input_controller.h"
10 9
11 namespace ui { 10 namespace ui {
12 11
13 // Ozone InputController implementation for test. 12 class X11InputController : public InputController {
14 class InputControllerTest : public InputController {
15 public: 13 public:
16 InputControllerTest(); 14 X11InputController();
17 virtual ~InputControllerTest(); 15 ~X11InputController() override;
18 16
19 // InputController overrides:
20 //
21 // Interfaces for configuring input devices.
22 bool HasMouse() override; 17 bool HasMouse() override;
23 bool HasTouchpad() override; 18 bool HasTouchpad() override;
24 void SetTouchpadSensitivity(int value) override; 19 void SetTouchpadSensitivity(int value) override;
25 void SetTapToClick(bool enabled) override; 20 void SetTapToClick(bool enabled) override;
26 void SetThreeFingerClick(bool enabled) override; 21 void SetThreeFingerClick(bool enabled) override;
27 void SetTapDragging(bool enabled) override; 22 void SetTapDragging(bool enabled) override;
28 void SetNaturalScroll(bool enabled) override; 23 void SetNaturalScroll(bool enabled) override;
29 void SetMouseSensitivity(int value) override; 24 void SetMouseSensitivity(int value) override;
30 void SetPrimaryButtonRight(bool right) override; 25 void SetPrimaryButtonRight(bool right) override;
31 26
32 private: 27 private:
33 DISALLOW_COPY_AND_ASSIGN(InputControllerTest); 28 DISALLOW_COPY_AND_ASSIGN(X11InputController);
34 }; 29 };
35 30
36 } // namespace ui 31 } // namespace ui
37 32
38 #endif // UI_OZONE_PLATFORM_TEST_INPUT_CONTROLLER_TEST_H_ 33 #endif // UI_OZONE_PLATFORM_X11_X11_INPUT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/x11/ozone_platform_x11.cc ('k') | ui/ozone/platform/x11/x11_input_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698