Index: webkit/plugins/npapi/webplugin.h |
diff --git a/webkit/plugins/npapi/webplugin.h b/webkit/plugins/npapi/webplugin.h |
index c5969497c24cbd306f329fe56f0add8c217fc02f..afd2865f62fe69f5cc2dd8d36552592834ade3dd 100644 |
--- a/webkit/plugins/npapi/webplugin.h |
+++ b/webkit/plugins/npapi/webplugin.h |
@@ -151,8 +151,11 @@ class WebPlugin { |
bool defer) = 0; |
#if defined(OS_MACOSX) |
- // Enables/disables plugin IME. |
- virtual void SetImeEnabled(bool enabled) {}; |
+ // Called to inform the WebPlugin that the plugin has gained or lost focus. |
+ virtual void FocusChanged(bool focused) {}; |
+ |
+ // Starts plugin IME. |
+ virtual void StartIme() {}; |
// Synthesize a fake window handle for the plug-in to identify the instance |
// to the browser, allowing mapping to a surface for hardware accelleration |