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

Unified Diff: ui/base/ime/chromeos/ime_keyboard_x11.cc

Issue 727143002: Moves code from chromeos/ime to ui/base/ime/chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit. Created 6 years, 1 month 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/base/ime/chromeos/ime_keyboard_x11.h ('k') | ui/base/ime/chromeos/ime_keyboard_x11_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/chromeos/ime_keyboard_x11.cc
diff --git a/chromeos/ime/ime_keyboard_x11.cc b/ui/base/ime/chromeos/ime_keyboard_x11.cc
similarity index 97%
rename from chromeos/ime/ime_keyboard_x11.cc
rename to ui/base/ime/chromeos/ime_keyboard_x11.cc
index 8e1c7955b5b37e2bbdd2cd5a30607dcfd022f00c..7bb8d0aac2c87355c64b06f6958b0830d4fb19e2 100644
--- a/chromeos/ime/ime_keyboard_x11.cc
+++ b/ui/base/ime/chromeos/ime_keyboard_x11.cc
@@ -2,7 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chromeos/ime/ime_keyboard_x11.h"
+#include "ui/base/ime/chromeos/ime_keyboard_x11.h"
+
+#include <X11/XKBlib.h>
+#include <X11/Xlib.h>
+
+#include "ui/gfx/x/x11_types.h"
namespace chromeos {
namespace input_method {
@@ -293,7 +298,9 @@ bool ImeKeyboard::CheckLayoutNameForTesting(const std::string& layout_name) {
}
// static
-ImeKeyboard* ImeKeyboard::Create() { return new ImeKeyboardX11(); }
+ImeKeyboard* ImeKeyboard::Create() {
+ return new ImeKeyboardX11();
+}
} // namespace input_method
} // namespace chromeos
« no previous file with comments | « ui/base/ime/chromeos/ime_keyboard_x11.h ('k') | ui/base/ime/chromeos/ime_keyboard_x11_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698