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

Unified Diff: content/test/layouttest_support.cc

Issue 2596193002: Clean up names and remove unnecessary parameter (Closed)
Patch Set: rebase Created 3 years, 11 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 | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 764125cee562c63f1f550a93540d4220b7082d1f..0107ded07a441515b5d49eb76afabf223b13bb4c 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -604,8 +604,7 @@ void SchedulerRunIdleTasks(const base::Closure& callback) {
void ForceTextInputStateUpdateForRenderFrame(RenderFrame* frame) {
if (auto* render_widget =
static_cast<RenderFrameImpl*>(frame)->GetRenderWidget()) {
- render_widget->UpdateTextInputState(ShowIme::IF_NEEDED,
- ChangeSource::FROM_NON_IME);
+ render_widget->ShowVirtualKeyboard();
}
}
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698