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

Unified Diff: ui/events/ozone/evdev/input_injector_evdev_unittest.cc

Issue 742103002: Ozone keyboard layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lite-code
Patch Set: reeeeebase 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/events/ozone/evdev/event_factory_evdev.cc ('k') | ui/events/ozone/evdev/keyboard_evdev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/input_injector_evdev_unittest.cc
diff --git a/ui/events/ozone/evdev/input_injector_evdev_unittest.cc b/ui/events/ozone/evdev/input_injector_evdev_unittest.cc
index 5e939a9755e7b0bf70d4c2af3c99a2448150d279..c4c58fff88076c9ef00c1aef95e1b990f0f2767f 100644
--- a/ui/events/ozone/evdev/input_injector_evdev_unittest.cc
+++ b/ui/events/ozone/evdev/input_injector_evdev_unittest.cc
@@ -12,6 +12,7 @@
#include "ui/events/ozone/evdev/event_modifiers_evdev.h"
#include "ui/events/ozone/evdev/keyboard_evdev.h"
#include "ui/events/ozone/events_ozone.h"
+#include "ui/events/ozone/layout/keyboard_layout_engine_manager.h"
namespace ui {
@@ -124,7 +125,9 @@ class InputInjectorEvdevTest : public testing::Test {
InputInjectorEvdevTest::InputInjectorEvdevTest()
: dispatch_callback_(base::Bind(&EventObserver::EventDispatchCallback,
base::Unretained(&event_observer_))),
- keyboard_(&modifiers_, dispatch_callback_),
+ keyboard_(&modifiers_,
+ KeyboardLayoutEngineManager::GetKeyboardLayoutEngine(),
+ dispatch_callback_),
injector_(&modifiers_, &cursor_, &keyboard_, dispatch_callback_) {
}
@@ -213,4 +216,4 @@ TEST_F(InputInjectorEvdevTest, MouseWheel) {
run_loop_.RunUntilIdle();
}
-} // namespace ui
+} // namespace ui
« no previous file with comments | « ui/events/ozone/evdev/event_factory_evdev.cc ('k') | ui/events/ozone/evdev/keyboard_evdev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698