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

Unified Diff: content/renderer/render_frame_impl.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/mus/render_widget_mus_connection.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index c0adcb2e44282671bc7643c20a398454c1c9413c..ce8f2725ee2b813aa94e0886dfe200be4c48e5da 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -1305,8 +1305,7 @@ void RenderFrameImpl::PepperTextInputTypeChanged(
if (instance != focused_pepper_plugin_)
return;
- GetRenderWidget()->UpdateTextInputState(ShowIme::HIDE_IME,
- ChangeSource::FROM_NON_IME);
+ GetRenderWidget()->UpdateTextInputState();
FocusedNodeChangedForAccessibility(WebNode());
}
@@ -4043,8 +4042,7 @@ void RenderFrameImpl::didChangeSelection(bool is_empty_selection) {
// was changed, and SyncSelectionIfRequired may send SelectionChanged
// to notify the selection was changed. Focus change should be notified
// before selection change.
- GetRenderWidget()->UpdateTextInputState(ShowIme::HIDE_IME,
- ChangeSource::FROM_NON_IME);
+ GetRenderWidget()->UpdateTextInputState();
SyncSelectionIfRequired();
}
@@ -6811,8 +6809,7 @@ void RenderFrameImpl::PepperFocusChanged(PepperPluginInstanceImpl* instance,
GetRenderWidget()->set_focused_pepper_plugin(focused_pepper_plugin_);
- GetRenderWidget()->UpdateTextInputState(ShowIme::HIDE_IME,
- ChangeSource::FROM_NON_IME);
+ GetRenderWidget()->UpdateTextInputState();
GetRenderWidget()->UpdateSelectionBounds();
}
« no previous file with comments | « content/renderer/mus/render_widget_mus_connection.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698