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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 1234193002: Simplify InputMethodWin initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: content/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 6080ecc685934c9b1430d499e32eeb76da8c66c4..f2400d3d7217e144f25e99eac626ebf165bf56eb 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -162,7 +162,6 @@ RenderWidgetHostImpl::RenderWidgetHostImpl(RenderWidgetHostDelegate* delegate,
in_flight_event_count_(0),
in_get_backing_store_(false),
ignore_input_events_(false),
- input_method_active_(false),
text_direction_updated_(false),
text_direction_(blink::WebTextDirectionLeftToRight),
text_direction_canceled_(false),
@@ -1249,11 +1248,6 @@ void RenderWidgetHostImpl::NotifyTextDirection() {
}
}
-void RenderWidgetHostImpl::SetInputMethodActive(bool activate) {
- input_method_active_ = activate;
- Send(new ViewMsg_SetInputMethodActive(GetRoutingID(), activate));
-}
-
void RenderWidgetHostImpl::ImeSetComposition(
const base::string16& text,
const std::vector<blink::WebCompositionUnderline>& underlines,

Powered by Google App Engine
This is Rietveld 408576698