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

Unified Diff: views/view.cc

Issue 6675005: Integrate the new input method API for Views into Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows build. Created 9 years, 9 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 | « views/focus/focus_manager.cc ('k') | views/widget/native_widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/view.cc
diff --git a/views/view.cc b/views/view.cc
index e2acab9180ca2e20ba60b83105345ce05f05411a..5494a4e25db1dc69b59ed004f7a01d516e029c4c 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -846,8 +846,8 @@ TextInputClient* View::GetTextInputClient() {
}
InputMethod* View::GetInputMethod() {
- NOTIMPLEMENTED();
- return NULL;
+ Widget* widget = GetWidget();
+ return widget ? widget->GetInputMethod() : NULL;
}
// Accelerators ----------------------------------------------------------------
« no previous file with comments | « views/focus/focus_manager.cc ('k') | views/widget/native_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698