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

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

Issue 103403006: Implement Input Method related WebPlugin interface for browser plugin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add cancel/compositionrangechanged Created 7 years 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 78edc465cf1b8ca8ffed686e5e6f2e4eaec56078..ec3611d4bdebb6f3e0f6e7092b16dddca78e4e25 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -1104,6 +1104,25 @@ void RenderWidgetHostImpl::DisableResizeAckCheckForTesting() {
g_check_for_pending_resize_ack = false;
}
+void RenderWidgetHostImpl::ChangeTextInputType(
+ ui::TextInputType type,
+ ui::TextInputMode input_mode,
+ bool can_compose_inline) {
+ OnTextInputTypeChanged(type, input_mode, can_compose_inline);
+}
+
+void RenderWidgetHostImpl::CancelImeComposition() {
+ OnImeCancelComposition();
+}
+
+#if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA)
+void RenderWidgetHostImpl::ChangeImeCompositionRange(
+ const gfx::Range& range,
+ const std::vector<gfx::Rect>& character_bounds) {
+ OnImeCompositionRangeChanged(range, character_bounds);
+}
+#endif
+
ui::LatencyInfo RenderWidgetHostImpl::CreateRWHLatencyInfoIfNotExist(
const ui::LatencyInfo* original) {
ui::LatencyInfo info;

Powered by Google App Engine
This is Rietveld 408576698