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

Unified Diff: ui/ozone/platform/caca/ozone_platform_caca.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/ozone/platform/caca/caca.gypi ('k') | ui/ozone/platform/dri/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/caca/ozone_platform_caca.cc
diff --git a/ui/ozone/platform/caca/ozone_platform_caca.cc b/ui/ozone/platform/caca/ozone_platform_caca.cc
index 3e06458fb5e6ec76100d0053f708a0b9ea2afd41..bc11340de2091bce9cd0d1d196594ff7112f9fb8 100644
--- a/ui/ozone/platform/caca/ozone_platform_caca.cc
+++ b/ui/ozone/platform/caca/ozone_platform_caca.cc
@@ -4,6 +4,8 @@
#include "ui/ozone/platform/caca/ozone_platform_caca.h"
+#include "ui/events/ozone/layout/keyboard_layout_engine_manager.h"
+#include "ui/events/ozone/layout/no/no_keyboard_layout_engine.h"
#include "ui/ozone/common/native_display_delegate_ozone.h"
#include "ui/ozone/platform/caca/caca_event_source.h"
#include "ui/ozone/platform/caca/caca_window.h"
@@ -62,6 +64,8 @@ class OzonePlatformCaca : public OzonePlatform {
cursor_factory_ozone_.reset(new CursorFactoryOzone());
gpu_platform_support_host_.reset(CreateStubGpuPlatformSupportHost());
input_controller_ = CreateStubInputController();
+ KeyboardLayoutEngineManager::SetKeyboardLayoutEngine(
+ make_scoped_ptr(new NoKeyboardLayoutEngine()));
}
void InitializeGPU() override {
@@ -81,6 +85,8 @@ class OzonePlatformCaca : public OzonePlatform {
} // namespace
-OzonePlatform* CreateOzonePlatformCaca() { return new OzonePlatformCaca; }
+OzonePlatform* CreateOzonePlatformCaca() {
+ return new OzonePlatformCaca;
+}
} // namespace ui
« no previous file with comments | « ui/ozone/platform/caca/caca.gypi ('k') | ui/ozone/platform/dri/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698