Index: chrome/browser/renderer_host/render_widget_host_view.h |
diff --git a/chrome/browser/renderer_host/render_widget_host_view.h b/chrome/browser/renderer_host/render_widget_host_view.h |
index 86c2abc9cd877569b49ae5d4ffc50ece027e671f..46d6bda6a4f6e85f6976b4078773e81b08bc510e 100644 |
--- a/chrome/browser/renderer_host/render_widget_host_view.h |
+++ b/chrome/browser/renderer_host/render_widget_host_view.h |
@@ -32,6 +32,7 @@ class RenderProcessHost; |
class RenderWidgetHost; |
class VideoLayer; |
class WebCursor; |
+struct NativeWebKeyboardEvent; |
struct ViewHostMsg_AccessibilityNotification_Params; |
struct WebMenuItem; |
@@ -211,6 +212,16 @@ class RenderWidgetHostView { |
// Informs the view that its containing window's frame changed. |
virtual void WindowFrameChanged() = 0; |
+ // Start or stop plugin IME for the given plugin. |
+ virtual void SetPluginImeEnabled(bool enabled, int plugin_id) = 0; |
+ |
+ // Does any event handling necessary for plugin IME; should be called after |
+ // the plugin has already had a chance to process the event. If plugin IME is |
+ // not enabled, this is a no-op, so it is always safe to call. |
+ // Returns true if the event was handled by IME. |
+ virtual bool PostProcessEventForPluginIme( |
+ const NativeWebKeyboardEvent& event) = 0; |
+ |
// Methods associated with GPU-accelerated plug-in instances. |
virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( |
bool opaque, bool root) = 0; |