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

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: Remove redundant check of focus state. 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
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 ----------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698