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

Unified Diff: ui/views/ime/input_method_bridge_unittest.cc

Issue 1177503003: Remove the 2-level input method system & InputMethodBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. 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 | « ui/views/ime/input_method_bridge.cc ('k') | ui/views/ime/input_method_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/ime/input_method_bridge_unittest.cc
diff --git a/ui/views/ime/input_method_bridge_unittest.cc b/ui/views/ime/input_method_bridge_unittest.cc
deleted file mode 100644
index 510264544ed7f1c6641680b18bad811b545c48a4..0000000000000000000000000000000000000000
--- a/ui/views/ime/input_method_bridge_unittest.cc
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/aura/window.h"
-#include "ui/base/ime/dummy_input_method_delegate.h"
-#include "ui/base/ime/input_method_minimal.h"
-#include "ui/base/ime/text_input_client.h"
-#include "ui/views/ime/input_method.h"
-#include "ui/views/test/views_test_base.h"
-#include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
-#include "ui/views/widget/native_widget_aura.h"
-#include "ui/views/widget/widget.h"
-
-namespace views {
-
-typedef ViewsTestBase InputMethodBridgeTest;
-
-TEST_F(InputMethodBridgeTest, DestructTest) {
- ui::internal::DummyInputMethodDelegate input_method_delegate;
- ui::InputMethodMinimal input_method(&input_method_delegate);
-
- Widget* toplevel = new Widget;
- Widget::InitParams toplevel_params =
- CreateParams(Widget::InitParams::TYPE_WINDOW);
- // |child| owns |native_widget|.
- toplevel_params.native_widget = new DesktopNativeWidgetAura(toplevel);
- toplevel->Init(toplevel_params);
-
- Widget* child = new Widget;
- Widget::InitParams child_params =
- CreateParams(Widget::InitParams::TYPE_POPUP);
- child_params.parent = toplevel->GetNativeView();
- // |child| owns |native_widget|.
- child_params.native_widget = new NativeWidgetAura(child);
- child->Init(child_params);
-
- child->GetInputMethod()->OnFocus();
-
- toplevel->CloseNow();
-}
-
-} // namespace views
« no previous file with comments | « ui/views/ime/input_method_bridge.cc ('k') | ui/views/ime/input_method_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698