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

Unified Diff: chrome/renderer/render_view.h

Issue 3808001: Implement IME for Mac plugins using the Cocoa event model on 10.6 (Closed)
Patch Set: Windows and unit test compile fixes Created 10 years, 2 months 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
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index 95766c131eb29b90273ca2e29141069be4d9e964..360b24df7dfc36b8e162409b2caffdcd791d07ad 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -304,7 +304,10 @@ class RenderView : public RenderWidget,
uint32 GetCPBrowsingContext();
#if defined(OS_MACOSX)
- // Helper routines for GPU plugin support. Used by the
+ // Enables/disabled plugin IME for the given plugin.
+ void SetPluginImeEnabled(bool enabled, int plugin_id);
+
+ // Helper routines for accelerated plugin support. Used by the
// WebPluginDelegateProxy, which has a pointer to the RenderView.
gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque,
bool root);
@@ -824,6 +827,9 @@ class RenderView : public RenderWidget,
void OnFillPasswordForm(
const webkit_glue::PasswordFormFillData& form_data);
void OnPaste();
+#if defined(OS_MACOSX)
+ void OnPluginImeCompositionConfirmed(const string16& text, int plugin_id);
+#endif
void OnPrintingDone(int document_cookie, bool success);
void OnPrintPages();
void OnRedo();
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698