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

Unified Diff: ppapi/thunk/ppb_text_input_api.h

Issue 8769003: Pepper IME API for surrounding text retrieval. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sort. Created 8 years, 9 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/thunk/ppb_text_input_api.h
diff --git a/ppapi/thunk/ppb_text_input_api.h b/ppapi/thunk/ppb_text_input_api.h
index d826b20ca18d246977607fe5925c527d7f7b359b..2eca15a6428c44b98cab19e52d138528c42849d9 100644
--- a/ppapi/thunk/ppb_text_input_api.h
+++ b/ppapi/thunk/ppb_text_input_api.h
@@ -21,6 +21,11 @@ class PPB_TextInput_FunctionAPI {
const PP_Rect& caret,
const PP_Rect& bounding_box) = 0;
virtual void CancelCompositionText(PP_Instance instance) = 0;
+ virtual void SelectionChanged(PP_Instance instance) = 0;
+ virtual void UpdateSurroundingText(PP_Instance instance,
+ const char* text,
+ uint32_t caret,
+ uint32_t anchor) = 0;
static const ApiID kApiID = API_ID_PPB_TEXT_INPUT;
};

Powered by Google App Engine
This is Rietveld 408576698