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

Unified Diff: ppapi/shared_impl/ppb_instance_shared.h

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.h
diff --git a/ppapi/shared_impl/ppb_instance_shared.h b/ppapi/shared_impl/ppb_instance_shared.h
index 8260a784c016dca58cc9a70ed8da9f204d3fb967..eed82e17cd801ec8f5be66149e03330cd9666b40 100644
--- a/ppapi/shared_impl/ppb_instance_shared.h
+++ b/ppapi/shared_impl/ppb_instance_shared.h
@@ -31,8 +31,13 @@ class PPAPI_SHARED_EXPORT PPB_Instance_Shared
int32_t ValidateRequestInputEvents(bool is_filtering, uint32_t event_classes);
bool ValidateSetCursorParams(PP_MouseCursor_Type type,
- PP_Resource image,
- const PP_Point* hot_spot);
+ PP_Resource image,
+ const PP_Point* hot_spot);
+
+ // The length of text to request as a surrounding context of selection.
+ // For now, the value is copied from the one with render_view_impl.cc.
+ // TODO(kinaba) implement a way to dynamically sync the requirement.
+ static const int kExtraCharsForTextInput;
};
} // namespace ppapi

Powered by Google App Engine
This is Rietveld 408576698