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

Unified Diff: ui/views/widget/widget_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: reverted changes for MockInputMethod. 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
Index: ui/views/widget/widget_unittest.cc
diff --git a/ui/views/widget/widget_unittest.cc b/ui/views/widget/widget_unittest.cc
index 6fb2a143077e1b741410f26740c98f70aaaa78d0..dba9a9ddd107dbf95e7e03402736c463458cc4f9 100644
--- a/ui/views/widget/widget_unittest.cc
+++ b/ui/views/widget/widget_unittest.cc
@@ -310,8 +310,6 @@ TEST_F(WidgetTest, GetTopLevelWidget_Native) {
// when window activation changes.
TEST_F(WidgetTest, ChangeActivation) {
Widget* top1 = CreateTopLevelPlatformWidget();
- // CreateInputMethod before activated
- top1->GetInputMethod();
top1->Show();
RunPendingMessages();
@@ -322,8 +320,6 @@ TEST_F(WidgetTest, ChangeActivation) {
top1->Activate();
RunPendingMessages();
- // Create InputMethod after deactivated.
- top2->GetInputMethod();
top2->Activate();
RunPendingMessages();
@@ -802,7 +798,6 @@ class WidgetWithDestroyedNativeViewTest : public ViewsTestBase {
widget->GetThemeProvider();
widget->GetNativeTheme();
widget->GetFocusManager();
- widget->GetInputMethod();
widget->SchedulePaintInRect(gfx::Rect(0, 0, 1, 2));
widget->IsMouseEventsEnabled();
widget->SetNativeWindowProperty("xx", widget);

Powered by Google App Engine
This is Rietveld 408576698