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

Unified Diff: ppapi/thunk/ppb_input_event_api.h

Issue 7977017: Never submit: tentative Pepper IME. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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_input_event_api.h
diff --git a/ppapi/thunk/ppb_input_event_api.h b/ppapi/thunk/ppb_input_event_api.h
index 28b6c5856a33915f5f163d9b34307ceac322f111..e2b7542b3ae29877607793382993fc9137f71830 100644
--- a/ppapi/thunk/ppb_input_event_api.h
+++ b/ppapi/thunk/ppb_input_event_api.h
@@ -6,6 +6,7 @@
#define PPAPI_THUNK_PPB_INPUT_EVENT_API_H_
#include "ppapi/c/ppb_input_event.h"
+#include "ppapi/c/dev/ppb_ime_input_event_dev.h"
#include "ppapi/thunk/ppapi_thunk_export.h"
namespace ppapi {
@@ -34,6 +35,10 @@ class PPAPI_THUNK_EXPORT PPB_InputEvent_API {
virtual PP_Bool GetWheelScrollByPage() = 0;
virtual uint32_t GetKeyCode() = 0;
virtual PP_Var GetCharacterText() = 0;
+ virtual uint32_t GetIMESegmentNumber() = 0;
+ virtual uint32_t GetIMESegmentOffset(uint32_t index) = 0;
+ virtual int32_t GetIMETargetSegment() = 0;
+ virtual void GetIMESelection(uint32_t* start, uint32_t* end) = 0;
};
} // namespace thunk

Powered by Google App Engine
This is Rietveld 408576698