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

Unified Diff: ppapi/c/ppb_ime_input_event.h

Issue 18671004: PPAPI: Move IMEInputEvent and TextInput to stable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/c/ppb_ime_input_event.h
diff --git a/ppapi/c/dev/ppb_ime_input_event_dev.h b/ppapi/c/ppb_ime_input_event.h
similarity index 83%
rename from ppapi/c/dev/ppb_ime_input_event_dev.h
rename to ppapi/c/ppb_ime_input_event.h
index 590a1d96e189bf4555b3615acd4c96ce80a59cbe..6c9e2a1fde6b247278dac449e2cacfe8f2d7de37 100644
--- a/ppapi/c/dev/ppb_ime_input_event_dev.h
+++ b/ppapi/c/ppb_ime_input_event.h
@@ -3,10 +3,10 @@
* found in the LICENSE file.
*/
-/* From dev/ppb_ime_input_event_dev.idl modified Wed May 16 17:08:03 2012. */
+/* From ppb_ime_input_event.idl modified Tue Jul 16 14:52:11 2013. */
-#ifndef PPAPI_C_DEV_PPB_IME_INPUT_EVENT_DEV_H_
-#define PPAPI_C_DEV_PPB_IME_INPUT_EVENT_DEV_H_
+#ifndef PPAPI_C_PPB_IME_INPUT_EVENT_H_
+#define PPAPI_C_PPB_IME_INPUT_EVENT_H_
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
@@ -17,13 +17,12 @@
#include "ppapi/c/pp_var.h"
#include "ppapi/c/ppb_input_event.h"
-#define PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1 "PPB_IMEInputEvent(Dev);0.1"
-#define PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_2 "PPB_IMEInputEvent(Dev);0.2"
-#define PPB_IME_INPUT_EVENT_DEV_INTERFACE PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_2
+#define PPB_IME_INPUT_EVENT_INTERFACE_1_0 "PPB_IMEInputEvent;1.0"
+#define PPB_IME_INPUT_EVENT_INTERFACE PPB_IME_INPUT_EVENT_INTERFACE_1_0
/**
* @file
- * This file defines the <code>PPB_IMEInputEvent_Dev</code> interface.
+ * This file defines the <code>PPB_IMEInputEvent</code> interface.
*/
@@ -31,7 +30,7 @@
* @addtogroup Interfaces
* @{
*/
-struct PPB_IMEInputEvent_Dev_0_2 {
+struct PPB_IMEInputEvent_1_0 {
/**
* Create() creates an IME input event with the given parameters. Normally
* you will get an IME event passed through the <code>HandleInputEvent</code>
@@ -150,19 +149,10 @@ struct PPB_IMEInputEvent_Dev_0_2 {
void (*GetSelection)(PP_Resource ime_event, uint32_t* start, uint32_t* end);
};
-typedef struct PPB_IMEInputEvent_Dev_0_2 PPB_IMEInputEvent_Dev;
-
-struct PPB_IMEInputEvent_Dev_0_1 {
- PP_Bool (*IsIMEInputEvent)(PP_Resource resource);
- struct PP_Var (*GetText)(PP_Resource ime_event);
- uint32_t (*GetSegmentNumber)(PP_Resource ime_event);
- uint32_t (*GetSegmentOffset)(PP_Resource ime_event, uint32_t index);
- int32_t (*GetTargetSegment)(PP_Resource ime_event);
- void (*GetSelection)(PP_Resource ime_event, uint32_t* start, uint32_t* end);
dmichael (off chromium) 2013/07/16 22:42:07 You might need to check with yuzhu or raymes to se
Seigo Nonaka 2013/07/17 06:10:39 Sure, adding yuzhu@ as the reviewer. yuzhu: AFAIK
yzshen1 2013/07/22 18:56:33 Sorry, I didn't realize there is a question for me
Seigo Nonaka 2013/07/23 11:49:54 Sure, at this moment I keep old IDL including both
-};
+typedef struct PPB_IMEInputEvent_1_0 PPB_IMEInputEvent;
/**
* @}
*/
-#endif /* PPAPI_C_DEV_PPB_IME_INPUT_EVENT_DEV_H_ */
+#endif /* PPAPI_C_PPB_IME_INPUT_EVENT_H_ */

Powered by Google App Engine
This is Rietveld 408576698