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

Unified Diff: chrome/browser/chromeos/events/system_key_event_listener.cc

Issue 232333002: ozone: Rename XKeyboard to KeyboardController & use fake under ozone (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to ImeKeyboard & rebase Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/events/system_key_event_listener.cc
diff --git a/chrome/browser/chromeos/events/system_key_event_listener.cc b/chrome/browser/chromeos/events/system_key_event_listener.cc
index f707626cfe5a632bd5465aef7fc7df7262f611f2..7ce4f5e7044018960ac9ed31873eeab40afe6101 100644
--- a/chrome/browser/chromeos/events/system_key_event_listener.cc
+++ b/chrome/browser/chromeos/events/system_key_event_listener.cc
@@ -10,8 +10,8 @@
#include <X11/XKBlib.h>
#undef Status
+#include "chromeos/ime/ime_keyboard.h"
#include "chromeos/ime/input_method_manager.h"
-#include "chromeos/ime/xkeyboard.h"
#include "ui/base/x/x11_util.h"
#include "ui/events/platform/platform_event_source.h"
@@ -94,7 +94,7 @@ void SystemKeyEventListener::ProcessedXEvent(XEvent* xevent) {
if (xkey_event->state.mods) {
// TODO(yusukes,adlr): Let the user know that num lock is unsupported.
// Force turning off Num Lock (crosbug.com/29169)
- input_method_manager->GetXKeyboard()->DisableNumLock();
+ input_method_manager->GetImeKeyboard()->DisableNumLock();
}
}
}

Powered by Google App Engine
This is Rietveld 408576698