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

Unified Diff: chrome/renderer/render_view.h

Issue 6259013: Update Mac plugin IME handling to match updated spec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to trunk Created 9 years, 11 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 fa357c474e454e1f7305c475bae326c418d5c15a..92a3577f909f5f2fd29e321d360784b3eb25139c 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -352,8 +352,11 @@ class RenderView : public RenderWidget,
uint32 GetCPBrowsingContext();
#if defined(OS_MACOSX)
- // Enables/disabled plugin IME for the given plugin.
- void SetPluginImeEnabled(bool enabled, int plugin_id);
+ // Informs the render view that the given plugin has gained or lost focus.
+ void PluginFocusChanged(bool focused, int plugin_id);
+
+ // Starts plugin IME.
+ void StartPluginIme();
// Helper routines for accelerated plugin support. Used by the
// WebPluginDelegateProxy, which has a pointer to the RenderView.
@@ -898,7 +901,7 @@ class RenderView : public RenderWidget,
void OnNotifyRendererViewType(ViewType::Type view_type);
void OnPaste();
#if defined(OS_MACOSX)
- void OnPluginImeCompositionConfirmed(const string16& text, int plugin_id);
+ void OnPluginImeCompositionCompleted(const string16& text, int plugin_id);
#endif
void OnPrintingDone(int document_cookie, bool success);
void OnPrintPages();
« 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