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

Unified Diff: ash/wm/window_manager_unittest.cc

Issue 1209663002: Use EventHandler for IME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ui/base/ime/input_method_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_manager_unittest.cc
diff --git a/ash/wm/window_manager_unittest.cc b/ash/wm/window_manager_unittest.cc
index bccc084e6871be9bfd87871519d6236c45d7fbf3..5bad49d732d104fafa93dc203ce9cbb7f1497ec8 100644
--- a/ash/wm/window_manager_unittest.cc
+++ b/ash/wm/window_manager_unittest.cc
@@ -132,6 +132,10 @@ class HitTestWindowDelegate : public aura::test::TestWindowDelegate {
};
TEST_F(WindowManagerTest, Focus) {
+ // The IME event filter interferes with the basic key event propagation we
+ // attempt to do here, so we disable it.
+ //
+ DisableIME();
aura::Window* root_window = Shell::GetPrimaryRootWindow();
root_window->SetBounds(gfx::Rect(0, 0, 510, 510));
@@ -643,6 +647,9 @@ TEST_F(WindowManagerTest, MAYBE_TransformActivate) {
}
TEST_F(WindowManagerTest, AdditionalFilters) {
+ // The IME event filter interferes with the basic key event propagation we
+ // attempt to do here, so we disable it.
+ DisableIME();
aura::Window* root_window = Shell::GetPrimaryRootWindow();
// Creates a window and make it active
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ui/base/ime/input_method_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698