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

Unified Diff: ppapi/shared_impl/ppb_instance_shared.cc

Issue 10053017: Request text context in the plugin process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: ppapi/shared_impl/ppb_instance_shared.cc
diff --git a/ppapi/shared_impl/ppb_instance_shared.cc b/ppapi/shared_impl/ppb_instance_shared.cc
index 255a92e3eccd4ef43d904e800448ca9c621fdcd5..5a29a99ade5d3fbbf72cd266f548c69eb4b492e2 100644
--- a/ppapi/shared_impl/ppb_instance_shared.cc
+++ b/ppapi/shared_impl/ppb_instance_shared.cc
@@ -16,6 +16,9 @@
namespace ppapi {
+// static
+const int PPB_Instance_Shared::kExtraCharsForTextInput = 100;
+
PPB_Instance_Shared::~PPB_Instance_Shared() {
}
@@ -56,8 +59,8 @@ int32_t PPB_Instance_Shared::ValidateRequestInputEvents(
}
bool PPB_Instance_Shared::ValidateSetCursorParams(PP_MouseCursor_Type type,
- PP_Resource image,
- const PP_Point* hot_spot) {
+ PP_Resource image,
+ const PP_Point* hot_spot) {
if (static_cast<int>(type) < static_cast<int>(PP_MOUSECURSOR_TYPE_CUSTOM) ||
static_cast<int>(type) > static_cast<int>(PP_MOUSECURSOR_TYPE_GRABBING))
return false; // Cursor type out of range.

Powered by Google App Engine
This is Rietveld 408576698