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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.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
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
index c9d3f3a67b037de6fff4c1dd5ce8ba40d5a23d95..d6ce68179f0355bb513d1134450b68cecbd1aaa5 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
@@ -40,7 +40,6 @@
#include "ui/gfx/screen.h"
#include "ui/native_theme/native_theme.h"
#include "ui/views/corewm/tooltip_aura.h"
-#include "ui/views/ime/input_method.h"
#include "ui/views/linux_ui/linux_ui.h"
#include "ui/views/views_delegate.h"
#include "ui/views/views_switches.h"
@@ -898,12 +897,9 @@ void DesktopWindowTreeHostX11::OnRootViewLayout() {
}
void DesktopWindowTreeHostX11::OnNativeWidgetFocus() {
- native_widget_delegate_->AsWidget()->GetInputMethod()->OnFocus();
}
void DesktopWindowTreeHostX11::OnNativeWidgetBlur() {
- if (xwindow_)
- native_widget_delegate_->AsWidget()->GetInputMethod()->OnBlur();
}
bool DesktopWindowTreeHostX11::IsAnimatingClosed() const {

Powered by Google App Engine
This is Rietveld 408576698