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

Issue 7978019: Additional update on Pepper IME API and boilerplate thunk/proxy implementation. (Closed)

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

Description

Additional update on Pepper IME API and boilerplate thunk/proxy implementation. BUG=59425 TEST=Check that ppapi_tests compile. This CL is the second (out of three) part for adding IME support for PPAPI. It reflects comments from James Su to the previous CL: http://codereview.chromium.org/7882004. - Renamed ..._COMPOSTION_START to _IME_COMPOSITON_START. - Changed to assure GetSegment to return a strictly increasing sequence of segmentation points from 0 to the length. and, - Added the mostly boilerplate code for interfacing with in-process & out-of-process plugins. The actual implementation of the IME support will come as the next and the last part of this series of patches. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102897

Patch Set 1 #

Total comments: 18

Patch Set 2 : Updated in response to yzshen's comments. Especially msgs made async. #

Total comments: 5

Patch Set 3 : Removed PPB_TextInput_Dev::ConfirmCompositionText. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+521 lines, -86 lines) Patch
M ppapi/api/dev/ppb_ime_input_event_dev.idl View 1 chunk +12 lines, -17 lines 0 comments Download
M ppapi/api/dev/ppb_text_input_dev.idl View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M ppapi/api/ppb_input_event.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/c/dev/ppb_ime_input_event_dev.h View 2 chunks +12 lines, -18 lines 0 comments Download
M ppapi/c/dev/ppb_text_input_dev.h View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M ppapi/c/ppb_input_event.h View 2 chunks +4 lines, -4 lines 0 comments Download
M ppapi/cpp/dev/ime_input_event_dev.h View 1 chunk +14 lines, -8 lines 0 comments Download
M ppapi/cpp/dev/ime_input_event_dev.cc View 1 chunk +4 lines, -9 lines 0 comments Download
M ppapi/cpp/dev/text_input_dev.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/cpp/dev/text_input_dev.cc View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_input_event.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/interface_id.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 4 chunks +17 lines, -0 lines 0 comments Download
A ppapi/proxy/ppb_text_input_proxy.h View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A ppapi/proxy/ppb_text_input_proxy.cc View 1 2 1 chunk +84 lines, -0 lines 0 comments Download
M ppapi/shared_impl/function_group_base.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/shared_impl/input_event_impl.h View 1 4 chunks +10 lines, -1 line 0 comments Download
M ppapi/shared_impl/input_event_impl.cc View 1 2 chunks +27 lines, -2 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_input_event_api.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_input_event_thunk.cc View 2 chunks +62 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_text_input_api.h View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_text_input_thunk.cc View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
M ppapi/thunk/thunk.h View 2 chunks +2 lines, -0 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/event_conversion.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 chunk +1 line, -0 lines 0 comments Download
A webkit/plugins/ppapi/ppb_text_input_impl.h View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
A webkit/plugins/ppapi/ppb_text_input_impl.cc View 1 2 1 chunk +59 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/resource_tracker.cc View 3 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
kinaba
Just for illustrating purpose, I uploaded the unsplit full patch at http://codereview.chromium.org/7977017/. James, I included ...
9 years, 3 months ago (2011-09-21 04:33:35 UTC) #1
kochi
LGTM for my part (API itself).
9 years, 3 months ago (2011-09-22 10:48:47 UTC) #2
yzshen1
http://codereview.chromium.org/7978019/diff/1/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): http://codereview.chromium.org/7978019/diff/1/ppapi/proxy/ppapi_messages.h#newcode803 ppapi/proxy/ppapi_messages.h:803: // PPB_TextInput. nit: this section should be moved downwards ...
9 years, 3 months ago (2011-09-22 19:24:00 UTC) #3
James Su
Ahh, I gave my comments to http://codereview.chromium.org/7977017/. If this CL same as that one?
9 years, 3 months ago (2011-09-23 01:53:57 UTC) #4
kochi
On 2011/09/23 01:53:57, James Su wrote: > Ahh, I gave my comments to http://codereview.chromium.org/7977017/. > ...
9 years, 3 months ago (2011-09-23 02:53:25 UTC) #5
kinaba
Updated. Thank you for comments. http://codereview.chromium.org/7978019/diff/1/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): http://codereview.chromium.org/7978019/diff/1/ppapi/proxy/ppapi_messages.h#newcode803 ppapi/proxy/ppapi_messages.h:803: // PPB_TextInput. On 2011/09/22 ...
9 years, 2 months ago (2011-09-27 02:49:27 UTC) #6
James Su
http://codereview.chromium.org/7978019/diff/9001/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): http://codereview.chromium.org/7978019/diff/9001/ppapi/proxy/ppapi_messages.h#newcode896 ppapi/proxy/ppapi_messages.h:896: PP_Instance /* instance */) I'm now wondering if ConfirmCompositionText ...
9 years, 2 months ago (2011-09-27 04:23:59 UTC) #7
brettw
http://codereview.chromium.org/7978019/diff/9001/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): http://codereview.chromium.org/7978019/diff/9001/ppapi/proxy/ppapi_messages.h#newcode896 ppapi/proxy/ppapi_messages.h:896: PP_Instance /* instance */) If we can remove some ...
9 years, 2 months ago (2011-09-27 04:28:42 UTC) #8
yzshen1
LGTM Thanks! (Please make sure you get LGTMs from other reviewers before checking in the ...
9 years, 2 months ago (2011-09-27 05:00:43 UTC) #9
James Su
http://codereview.chromium.org/7978019/diff/9001/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): http://codereview.chromium.org/7978019/diff/9001/ppapi/proxy/ppapi_messages.h#newcode896 ppapi/proxy/ppapi_messages.h:896: PP_Instance /* instance */) On 2011/09/27 04:28:42, brettw wrote: ...
9 years, 2 months ago (2011-09-27 05:06:39 UTC) #10
kinaba
http://codereview.chromium.org/7978019/diff/9001/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): http://codereview.chromium.org/7978019/diff/9001/ppapi/proxy/ppapi_messages.h#newcode896 ppapi/proxy/ppapi_messages.h:896: PP_Instance /* instance */) I see. Let us drop ...
9 years, 2 months ago (2011-09-27 05:18:00 UTC) #11
brettw
LGTM, looks great.
9 years, 2 months ago (2011-09-27 05:22:28 UTC) #12
James Su
LGTM.
9 years, 2 months ago (2011-09-27 05:55:33 UTC) #13
kinaba
9 years, 2 months ago (2011-09-27 05:55:36 UTC) #14
Done. Removed the interface of composition confirmation.

http://codereview.chromium.org/7978019/diff/9001/ppapi/proxy/ppapi_messages.h
File ppapi/proxy/ppapi_messages.h (right):

http://codereview.chromium.org/7978019/diff/9001/ppapi/proxy/ppapi_messages.h...
ppapi/proxy/ppapi_messages.h:896: PP_Instance /* instance */)
On 2011/09/27 05:06:39, James Su wrote:
> On 2011/09/27 04:28:42, brettw wrote:
> > If we can remove some complexity by not supporting this function, and still
> have
> > a good product, then let's do it. I don't really know how important this is
to
> > the user experience. We can always add stuff later if we determine that it's
> > important.
> 
> I think this message is not that important. Chrome does not support such
feature
> on all platforms, no user complaint so far.

Done.

Powered by Google App Engine
This is Rietveld 408576698