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

Issue 7882004: Declarations for Pepper IME API. (Closed)

Created:
9 years, 3 months ago by kinaba
Modified:
9 years, 3 months ago
Reviewers:
James Su, brettw, yzshen1, kochi
CC:
chromium-reviews, piman+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Declarations for Pepper IME API. BUG=59425 TEST=Check that ppapi_tests compile. This change list is the first part for adding IME support for PPAPI. For effectiveness of reviewing, I'll split the rather large change into three parts: (*1) Header files declaring IME API. (2) Boilerplate code for proxy & thunk stuff. (3) Actual implementation in webkit/plugin/ppapi/* and content/renderer/*. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101458

Patch Set 1 #

Total comments: 30

Patch Set 2 : Split GetSegments into two functions, and improve comments and style. #

Total comments: 12

Patch Set 3 : CompositionInputEvent --> IMEInputEvent_Dev #

Total comments: 12

Patch Set 4 : Clarified the specification of GetSegmentAt(). #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+703 lines, -3 lines) Patch
A ppapi/api/dev/ppb_ime_input_event_dev.idl View 1 2 3 1 chunk +100 lines, -0 lines 2 comments Download
A ppapi/api/dev/ppb_text_input_dev.idl View 1 2 1 chunk +73 lines, -0 lines 0 comments Download
M ppapi/api/ppb_input_event.idl View 1 2 1 chunk +29 lines, -1 line 1 comment Download
A ppapi/c/dev/ppb_ime_input_event_dev.h View 1 2 3 1 chunk +114 lines, -0 lines 0 comments Download
A ppapi/c/dev/ppb_text_input_dev.h View 1 2 1 chunk +100 lines, -0 lines 0 comments Download
M ppapi/c/ppb_input_event.h View 1 2 2 chunks +26 lines, -2 lines 0 comments Download
A ppapi/cpp/dev/ime_input_event_dev.h View 1 2 1 chunk +71 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/ime_input_event_dev.cc View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/text_input_dev.h View 1 1 chunk +33 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/text_input_dev.cc View 1 1 chunk +57 lines, -0 lines 0 comments Download
M ppapi/ppapi_cpp.gypi View 1 2 4 chunks +6 lines, -0 lines 0 comments Download
M ppapi/tests/all_c_includes.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/tests/all_cpp_includes.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/event_conversion.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
kinaba
Takayoshi, could you check the API is properly following your design doc? Brett and Yuzhu, ...
9 years, 3 months ago (2011-09-13 04:12:48 UTC) #1
yzshen1
http://codereview.chromium.org/7882004/diff/1/ppapi/api/dev/ppb_text_input_dev.idl File ppapi/api/dev/ppb_text_input_dev.idl (right): http://codereview.chromium.org/7882004/diff/1/ppapi/api/dev/ppb_text_input_dev.idl#newcode7 ppapi/api/dev/ppb_text_input_dev.idl:7: * Implementation of the TextInput interface. It is not ...
9 years, 3 months ago (2011-09-13 06:28:34 UTC) #2
kinaba
Updated. Thank you for various comments! http://codereview.chromium.org/7882004/diff/1/ppapi/api/dev/ppb_text_input_dev.idl File ppapi/api/dev/ppb_text_input_dev.idl (right): http://codereview.chromium.org/7882004/diff/1/ppapi/api/dev/ppb_text_input_dev.idl#newcode7 ppapi/api/dev/ppb_text_input_dev.idl:7: * Implementation of ...
9 years, 3 months ago (2011-09-13 09:29:01 UTC) #3
brettw
This looks like a great start. Some higher-level comments: http://codereview.chromium.org/7882004/diff/9002/ppapi/api/dev/ppb_text_input_dev.idl File ppapi/api/dev/ppb_text_input_dev.idl (right): http://codereview.chromium.org/7882004/diff/9002/ppapi/api/dev/ppb_text_input_dev.idl#newcode16 ppapi/api/dev/ppb_text_input_dev.idl:16: ...
9 years, 3 months ago (2011-09-13 22:36:04 UTC) #4
kochi
http://codereview.chromium.org/7882004/diff/9002/ppapi/api/dev/ppb_text_input_dev.idl File ppapi/api/dev/ppb_text_input_dev.idl (right): http://codereview.chromium.org/7882004/diff/9002/ppapi/api/dev/ppb_text_input_dev.idl#newcode41 ppapi/api/dev/ppb_text_input_dev.idl:41: interface PPB_TextInput_Dev { IME generally accepted as CJK input ...
9 years, 3 months ago (2011-09-14 02:07:04 UTC) #5
kinaba
Updated. Thank you for useful feedbacks! http://codereview.chromium.org/7882004/diff/9002/ppapi/api/dev/ppb_text_input_dev.idl File ppapi/api/dev/ppb_text_input_dev.idl (right): http://codereview.chromium.org/7882004/diff/9002/ppapi/api/dev/ppb_text_input_dev.idl#newcode16 ppapi/api/dev/ppb_text_input_dev.idl:16: * text input. ...
9 years, 3 months ago (2011-09-14 08:54:04 UTC) #6
yzshen1
http://codereview.chromium.org/7882004/diff/9002/ppapi/api/dev/ppb_text_input_dev.idl File ppapi/api/dev/ppb_text_input_dev.idl (right): http://codereview.chromium.org/7882004/diff/9002/ppapi/api/dev/ppb_text_input_dev.idl#newcode41 ppapi/api/dev/ppb_text_input_dev.idl:41: interface PPB_TextInput_Dev { Is it true that Confirm/CancelCompositionText are ...
9 years, 3 months ago (2011-09-14 17:32:56 UTC) #7
brettw
LGTM from me at a high level, I'll let Yuzhu finish the review. http://codereview.chromium.org/7882004/diff/7010/ppapi/api/dev/ppb_ime_input_event_dev.idl File ...
9 years, 3 months ago (2011-09-14 23:00:06 UTC) #8
kochi
http://codereview.chromium.org/7882004/diff/7010/ppapi/api/dev/ppb_ime_input_event_dev.idl File ppapi/api/dev/ppb_ime_input_event_dev.idl (right): http://codereview.chromium.org/7882004/diff/7010/ppapi/api/dev/ppb_ime_input_event_dev.idl#newcode51 ppapi/api/dev/ppb_ime_input_event_dev.idl:51: * the string GetText(). They always satisfy 0 <= ...
9 years, 3 months ago (2011-09-15 07:27:18 UTC) #9
kinaba
Updated. http://codereview.chromium.org/7882004/diff/9002/ppapi/api/dev/ppb_text_input_dev.idl File ppapi/api/dev/ppb_text_input_dev.idl (right): http://codereview.chromium.org/7882004/diff/9002/ppapi/api/dev/ppb_text_input_dev.idl#newcode41 ppapi/api/dev/ppb_text_input_dev.idl:41: interface PPB_TextInput_Dev { On 2011/09/14 17:32:56, yzshen1 wrote: ...
9 years, 3 months ago (2011-09-15 08:53:49 UTC) #10
yzshen1
LGTM. Thanks! On 2011/09/15 08:53:49, kinaba wrote: > Updated. > > http://codereview.chromium.org/7882004/diff/9002/ppapi/api/dev/ppb_text_input_dev.idl > File ppapi/api/dev/ppb_text_input_dev.idl ...
9 years, 3 months ago (2011-09-15 16:59:54 UTC) #11
kochi
LGTM
9 years, 3 months ago (2011-09-16 02:10:59 UTC) #12
James Su
http://codereview.chromium.org/7882004/diff/10002/ppapi/api/dev/ppb_ime_input_event_dev.idl File ppapi/api/dev/ppb_ime_input_event_dev.idl (right): http://codereview.chromium.org/7882004/diff/10002/ppapi/api/dev/ppb_ime_input_event_dev.idl#newcode15 ppapi/api/dev/ppb_ime_input_event_dev.idl:15: interface PPB_IMEInputEvent_Dev { Is this event only for composition ...
9 years, 3 months ago (2011-09-16 06:39:53 UTC) #13
kinaba
On 2011/09/16 06:39:53, James Su wrote: > http://codereview.chromium.org/7882004/diff/10002/ppapi/api/dev/ppb_ime_input_event_dev.idl > File ppapi/api/dev/ppb_ime_input_event_dev.idl (right): > > http://codereview.chromium.org/7882004/diff/10002/ppapi/api/dev/ppb_ime_input_event_dev.idl#newcode15 ...
9 years, 3 months ago (2011-09-16 08:19:08 UTC) #14
James Su
On 2011/09/16 08:19:08, kinaba wrote: > On 2011/09/16 06:39:53, James Su wrote: > > > ...
9 years, 3 months ago (2011-09-16 08:44:55 UTC) #15
James Su
9 years, 3 months ago (2011-09-16 08:45:28 UTC) #16
One more comment.

http://codereview.chromium.org/7882004/diff/10002/ppapi/api/ppb_input_event.idl
File ppapi/api/ppb_input_event.idl (right):

http://codereview.chromium.org/7882004/diff/10002/ppapi/api/ppb_input_event.i...
ppapi/api/ppb_input_event.idl:110: PP_INPUTEVENT_TYPE_COMPOSITION_START = 11,
I'm wondering if PP_INPUTEVENT_TYPE_IME_COMPOSITION_START is better? Considering
you are going to use the same event class for both composition and text events.

Powered by Google App Engine
This is Rietveld 408576698