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

Unified Diff: ppapi/shared_impl/ppb_instance_shared.h

Issue 10083013: Merge 132027 - Make the text input not require round-trips when the text is updated. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1084/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
« 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
===================================================================
--- ppapi/shared_impl/ppb_instance_shared.h (revision 132273)
+++ ppapi/shared_impl/ppb_instance_shared.h (working copy)
@@ -29,6 +29,11 @@
// Error checks the given resquest to Request[Filtering]InputEvents. Returns
// PP_OK if the given classes are all valid, PP_ERROR_NOTSUPPORTED if not.
int32_t ValidateRequestInputEvents(bool is_filtering, uint32_t event_classes);
+
+ // 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