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

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

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.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index d1231cac59e114d85b14c29a2dba13ae080f5293..99c13a971dd02cf419e0c4521cefb4693d426787 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -547,6 +547,17 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
// Don't check whether we expected a resize ack during layout tests.
static void DisableResizeAckCheckForTesting();
+ // Public interface for changing TextInputType etc. at once.
+ void ChangeTextInputType(ui::TextInputType type,
+ ui::TextInputMode input_mode,
+ bool can_compose_inline);
+ void CancelImeComposition();
+#if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA)
+ void ChangeImeCompositionRange(
+ const gfx::Range& range,
+ const std::vector<gfx::Rect>& character_bounds);
+#endif
+
protected:
virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698