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

Unified Diff: content/public/renderer/pepper_plugin_instance.h

Issue 250063003: Pepper: Move IME workaround from the trusted plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile error Created 6 years, 8 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
Index: content/public/renderer/pepper_plugin_instance.h
diff --git a/content/public/renderer/pepper_plugin_instance.h b/content/public/renderer/pepper_plugin_instance.h
index 8628ac85beb918bc66a7da834fd79074209a6004..88d9026d6df1e518bfbf557d2e16d843ec18ff82 100644
--- a/content/public/renderer/pepper_plugin_instance.h
+++ b/content/public/renderer/pepper_plugin_instance.h
@@ -12,6 +12,7 @@
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_var.h"
#include "ppapi/c/private/ppb_instance_private.h"
+#include "ui/base/ime/text_input_type.h"
class GURL;
@@ -110,6 +111,9 @@ class PepperPluginInstance {
// Sets the link currently under the cursor.
virtual void SetLinkUnderCursor(const std::string& url) = 0;
+
+ // Sets the text input type for this plugin.
+ virtual void SetTextInputType(ui::TextInputType type) = 0;
};
} // namespace content
« no previous file with comments | « components/nacl/renderer/nexe_load_manager.cc ('k') | content/renderer/pepper/fake_pepper_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698