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

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

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.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 47d3a902dc83d1480dc069ac237dd6fdab2fbe74..caac77896d0db8866f618cc03401d7e027096044 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -304,14 +304,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
void CancelUpdateTextDirection();
- // Notifies the renderer whether or not the input method attached to this
- // process is activated.
- // When the input method is activated, a renderer process sends IPC messages
- // to notify the status of its composition node. (This message is mainly used
- // for notifying the position of the input cursor so that the browser can
- // display input method windows under the cursor.)
- void SetInputMethodActive(bool activate);
-
// Update the composition node of the renderer (or WebKit).
// WebKit has a special node (a composition node) for input method to change
// its text without affecting any other DOM nodes. When the input method
@@ -354,10 +346,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
return ignore_input_events_;
}
- bool input_method_active() const {
- return input_method_active_;
- }
-
// Whether forwarded WebInputEvents should be ignored. True if either
// |ignore_input_events_| or |process_->IgnoreInputEvents()| is true.
bool IgnoreInputEvents() const;
@@ -767,9 +755,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
// Set to true if we shouldn't send input events from the render widget.
bool ignore_input_events_;
- // Indicates whether IME is active.
- bool input_method_active_;
-
// Set when we update the text direction of the selected input element.
bool text_direction_updated_;
blink::WebTextDirection text_direction_;

Powered by Google App Engine
This is Rietveld 408576698