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

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: Review comment 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
« no previous file with comments | « ppapi/proxy/ppb_text_input_proxy.cc ('k') | ppapi/shared_impl/ppb_instance_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 385d805268d42d0503dafceef523e27b450575a8..eed82e17cd801ec8f5be66149e03330cd9666b40 100644
--- a/ppapi/shared_impl/ppb_instance_shared.h
+++ b/ppapi/shared_impl/ppb_instance_shared.h
@@ -33,6 +33,11 @@ class PPAPI_SHARED_EXPORT PPB_Instance_Shared
bool ValidateSetCursorParams(PP_MouseCursor_Type type,
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
« no previous file with comments | « ppapi/proxy/ppb_text_input_proxy.cc ('k') | ppapi/shared_impl/ppb_instance_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698