Chromium Code Reviews

Unified Diff: ui/views/widget/native_widget_mac.mm

Issue 1177503003: Remove the 2-level input method system & InputMethodBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: makes trybots green. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: ui/views/widget/native_widget_mac.mm
diff --git a/ui/views/widget/native_widget_mac.mm b/ui/views/widget/native_widget_mac.mm
index 7290fd13e25855e44430a43c8799aad899c50949..5a6c545392ec4c0d163045f80a57b5aed4296e4b 100644
--- a/ui/views/widget/native_widget_mac.mm
+++ b/ui/views/widget/native_widget_mac.mm
@@ -213,16 +213,8 @@ bool NativeWidgetMac::HasCapture() const {
return bridge_ && bridge_->HasCapture();
}
-InputMethod* NativeWidgetMac::CreateInputMethod() {
- return bridge_ ? bridge_->CreateInputMethod() : NULL;
-}
-
-internal::InputMethodDelegate* NativeWidgetMac::GetInputMethodDelegate() {
- return bridge_.get();
-}
-
-ui::InputMethod* NativeWidgetMac::GetHostInputMethod() {
- return bridge_ ? bridge_->GetHostInputMethod() : NULL;
+ui::InputMethod* NativeWidgetMac::GetInputMethod() {
+ return bridge_ ? bridge_->GetInputMethod() : NULL;
}
void NativeWidgetMac::CenterWindow(const gfx::Size& size) {

Powered by Google App Engine