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

Unified Diff: components/test_runner/text_input_controller.h

Issue 2535303004: Consider TextInputController::inputMethodController() could be nullptr. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | components/test_runner/text_input_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/text_input_controller.h
diff --git a/components/test_runner/text_input_controller.h b/components/test_runner/text_input_controller.h
index d9eec8a7a859b00404945b5dc042e2a43ae326bc..785ab1d6198109c4134ec6dc5b8623804c922880 100644
--- a/components/test_runner/text_input_controller.h
+++ b/components/test_runner/text_input_controller.h
@@ -47,7 +47,9 @@ class TextInputController {
void ForceTextInputStateUpdate();
blink::WebView* view();
- blink::WebInputMethodController* inputMethodController();
+ // Returns the WebInputMethodController corresponding to the focused frame
+ // accepting IME. Could return nullptr if no such frame exists.
+ blink::WebInputMethodController* GetInputMethodController();
WebViewTestProxyBase* web_view_test_proxy_base_;
« no previous file with comments | « no previous file | components/test_runner/text_input_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698