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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/x11/x11_input_controller.h
diff --git a/ui/ozone/platform/test/input_controller_test.h b/ui/ozone/platform/x11/x11_input_controller.h
similarity index 57%
copy from ui/ozone/platform/test/input_controller_test.h
copy to ui/ozone/platform/x11/x11_input_controller.h
index 4b72e2b1925671c6fc3cbcab436c7a250b03601a..eced29bfb8c57dd84090c75eb2d77b7b8524f5fc 100644
--- a/ui/ozone/platform/test/input_controller_test.h
+++ b/ui/ozone/platform/x11/x11_input_controller.h
@@ -2,23 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_OZONE_PLATFORM_TEST_INPUT_CONTROLLER_TEST_H_
-#define UI_OZONE_PLATFORM_TEST_INPUT_CONTROLLER_TEST_H_
+#ifndef UI_OZONE_PLATFORM_X11_X11_INPUT_CONTROLLER_H_
+#define UI_OZONE_PLATFORM_X11_X11_INPUT_CONTROLLER_H_
-#include "base/basictypes.h"
#include "ui/ozone/public/input_controller.h"
namespace ui {
-// Ozone InputController implementation for test.
-class InputControllerTest : public InputController {
+class X11InputController : public InputController {
public:
- InputControllerTest();
- virtual ~InputControllerTest();
+ X11InputController();
+ ~X11InputController() override;
- // InputController overrides:
- //
- // Interfaces for configuring input devices.
bool HasMouse() override;
bool HasTouchpad() override;
void SetTouchpadSensitivity(int value) override;
@@ -30,9 +25,9 @@ class InputControllerTest : public InputController {
void SetPrimaryButtonRight(bool right) override;
private:
- DISALLOW_COPY_AND_ASSIGN(InputControllerTest);
+ DISALLOW_COPY_AND_ASSIGN(X11InputController);
};
} // namespace ui
-#endif // UI_OZONE_PLATFORM_TEST_INPUT_CONTROLLER_TEST_H_
+#endif // UI_OZONE_PLATFORM_X11_X11_INPUT_CONTROLLER_H_
« 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