summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/npapi/webplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/npapi/webplugin.h')
-rw-r--r--webkit/plugins/npapi/webplugin.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/webkit/plugins/npapi/webplugin.h b/webkit/plugins/npapi/webplugin.h
index c596949..afd2865 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