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

Issue 6869024: Add IME UI related extension API. (Closed)

Created:
9 years, 8 months ago by Peng
Modified:
9 years, 5 months ago
CC:
chromium-reviews, Rick Byers, satorux1
Visibility:
Public.

Description

Add IME UI related extension API. Add IME UI related extension API. We will use it to show IME candidates in a chrome extension. BUG=none TEST=seaboard

Patch Set 1 #

Patch Set 2 : Update #

Patch Set 3 : Update #

Total comments: 9

Patch Set 4 : Update #

Patch Set 5 : Rename ime.ui to input.ui #

Total comments: 7

Patch Set 6 : Update #

Patch Set 7 : Update License header #

Patch Set 8 : Fix build errors #

Total comments: 3

Patch Set 9 : Rename input.ui to inputUI #

Patch Set 10 : Rename input.ui to inputUI #

Total comments: 6

Patch Set 11 : Create html template and update doc in extension_api.json #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+643 lines, -1 line) Patch
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +16 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_input_ui_api.h View 1 2 3 4 5 6 7 8 1 chunk +103 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_input_ui_api.cc View 1 2 3 4 5 6 7 8 1 chunk +351 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +14 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +138 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/static/experimental.inputUI.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/renderer/resources/renderer_extension_bindings.js View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 32 (0 generated)
Peng
http://codereview.chromium.org/6869024/diff/4001/chrome/common/extensions/api/extension_api.json File chrome/common/extensions/api/extension_api.json (right): http://codereview.chromium.org/6869024/diff/4001/chrome/common/extensions/api/extension_api.json#newcode2371 chrome/common/extensions/api/extension_api.json:2371: "namespace": "experimental.ime.ui", I use name space experimental.ime.ui temporarily. I ...
9 years, 8 months ago (2011-04-15 21:16:11 UTC) #1
Zachary Kuznia
http://codereview.chromium.org/6869024/diff/4001/chrome/browser/extensions/extension_ime_ui_api.cc File chrome/browser/extensions/extension_ime_ui_api.cc (right): http://codereview.chromium.org/6869024/diff/4001/chrome/browser/extensions/extension_ime_ui_api.cc#newcode117 chrome/browser/extensions/extension_ime_ui_api.cc:117: chromeos::NotifyPageUp(ui_status_connection_); CursorUp, CursorDown, PageUp and PageDown are not used ...
9 years, 8 months ago (2011-04-18 03:52:29 UTC) #2
Yusuke Sato
Peng, could you let me know the typical use case of the extension API? 1) ...
9 years, 8 months ago (2011-04-18 08:21:29 UTC) #3
Peng
http://codereview.chromium.org/6869024/diff/4001/chrome/browser/extensions/extension_ime_ui_api.cc File chrome/browser/extensions/extension_ime_ui_api.cc (right): http://codereview.chromium.org/6869024/diff/4001/chrome/browser/extensions/extension_ime_ui_api.cc#newcode39 chrome/browser/extensions/extension_ime_ui_api.cc:39: // libcros. |input_method_library| is a void pointer to this ...
9 years, 8 months ago (2011-04-18 14:35:38 UTC) #4
bryeung
On Mon, Apr 18, 2011 at 10:35 AM, <penghuang@chromium.org> wrote: http://codereview.chromium.org/6869024/diff/4001/chrome/common/extensions/api/extension_api.json#newcode2371 > chrome/common/extensions/api/extension_api.json:2371: "namespace": > ...
9 years, 8 months ago (2011-04-18 15:46:08 UTC) #5
Peng
On 2011/04/18 15:46:08, bryeung wrote: > On Mon, Apr 18, 2011 at 10:35 AM, <mailto:penghuang@chromium.org> ...
9 years, 8 months ago (2011-04-18 15:57:39 UTC) #6
bryeung
On Mon, Apr 18, 2011 at 11:57 AM, <penghuang@chromium.org> wrote: > On 2011/04/18 15:46:08, bryeung ...
9 years, 8 months ago (2011-04-19 14:49:09 UTC) #7
Peng
On 2011/04/19 14:49:09, bryeung wrote: > On Mon, Apr 18, 2011 at 11:57 AM, <mailto:penghuang@chromium.org> ...
9 years, 8 months ago (2011-04-20 20:07:26 UTC) #8
zork
ime.ui makes sense, but I worry about separating ime and virtual keyboard APIs. Since there ...
9 years, 8 months ago (2011-04-21 03:36:52 UTC) #9
bryeung
On Wed, Apr 20, 2011 at 11:36 PM, Zach Kuznia <zork@google.com> wrote: > ime.ui makes ...
9 years, 8 months ago (2011-04-21 16:57:21 UTC) #10
zork
Oh, I misunderstood; I was under the impression that we would still have the chrome.input ...
9 years, 8 months ago (2011-04-22 01:07:36 UTC) #11
Peng
I think we could keep chrome.input for VK currently. And then we might consider how ...
9 years, 8 months ago (2011-04-26 22:56:24 UTC) #12
Yusuke Sato
LGTM http://codereview.chromium.org/6869024/diff/19001/chrome/browser/extensions/extension_input_ui_api.cc File chrome/browser/extensions/extension_input_ui_api.cc (right): http://codereview.chromium.org/6869024/diff/19001/chrome/browser/extensions/extension_input_ui_api.cc#newcode37 chrome/browser/extensions/extension_input_ui_api.cc:37: private: nit: one vertical space between line 36 ...
9 years, 7 months ago (2011-05-02 07:33:30 UTC) #13
Zachary Kuznia
LGTM This API has some conflicts with the IME extension api that's currently in review. ...
9 years, 7 months ago (2011-05-02 07:50:37 UTC) #14
Peng
http://codereview.chromium.org/6869024/diff/19001/chrome/browser/extensions/extension_input_ui_api.cc File chrome/browser/extensions/extension_input_ui_api.cc (right): http://codereview.chromium.org/6869024/diff/19001/chrome/browser/extensions/extension_input_ui_api.cc#newcode37 chrome/browser/extensions/extension_input_ui_api.cc:37: private: On 2011/05/02 07:33:31, Yusuke Sato wrote: > nit: ...
9 years, 7 months ago (2011-05-02 17:17:23 UTC) #15
commit-bot: I haz the power
Presubmit check for 6869024-19009 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 7 months ago (2011-05-02 17:18:11 UTC) #16
commit-bot: I haz the power
Presubmit check for 6869024-19009 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 7 months ago (2011-05-02 18:20:16 UTC) #17
Peng
I saw many lines are longer than 80 characters in json file. So could we ...
9 years, 7 months ago (2011-05-02 20:46:12 UTC) #18
asargent_no_longer_on_chrome
Drive-by since I was watching the tree and noticed the ExtensionApiTest.Stubs failure that you got ...
9 years, 7 months ago (2011-05-04 20:29:58 UTC) #19
Peng
Thanks for your advice. For api docs, I executed build.py. But the changes from this ...
9 years, 7 months ago (2011-05-04 21:32:22 UTC) #20
asargent_no_longer_on_chrome
That's fine to leave that file out of your CL - probably someone else forgot ...
9 years, 7 months ago (2011-05-04 21:36:14 UTC) #21
Peng
I updated the CL which should fix the build errors. Who can help me to ...
9 years, 7 months ago (2011-05-04 21:46:46 UTC) #22
Peng
On 2011/05/04 20:29:58, Antony Sargent wrote: > Drive-by since I was watching the tree and ...
9 years, 7 months ago (2011-05-05 19:37:35 UTC) #23
Mihai Parparita -not on Chrome
This is pretty different from the IME API discussed at http://dev.chromium.org/developers/design-documents/extensions/input-method-editor. Were there design changes, ...
9 years, 7 months ago (2011-05-05 19:42:13 UTC) #24
Peng
On 2011/05/05 19:42:13, Mihai Parparita wrote: > This is pretty different from the IME API ...
9 years, 7 months ago (2011-05-05 19:56:03 UTC) #25
Peng
http://codereview.chromium.org/6869024/diff/27010/chrome/common/extensions/api/extension_api.json File chrome/common/extensions/api/extension_api.json (right): http://codereview.chromium.org/6869024/diff/27010/chrome/common/extensions/api/extension_api.json#newcode2465 chrome/common/extensions/api/extension_api.json:2465: "description": "Notify input method engine cursor up buttion was ...
9 years, 7 months ago (2011-05-05 21:48:46 UTC) #26
asargent_no_longer_on_chrome
http://codereview.chromium.org/6869024/diff/23006/chrome/browser/extensions/extension_input_ui_api.cc File chrome/browser/extensions/extension_input_ui_api.cc (right): http://codereview.chromium.org/6869024/diff/23006/chrome/browser/extensions/extension_input_ui_api.cc#newcode185 chrome/browser/extensions/extension_input_ui_api.cc:185: extension_id_ = extension_id; So it looks like this makes ...
9 years, 7 months ago (2011-05-05 23:50:02 UTC) #27
Peng
http://codereview.chromium.org/6869024/diff/23006/chrome/browser/extensions/extension_input_ui_api.cc File chrome/browser/extensions/extension_input_ui_api.cc (right): http://codereview.chromium.org/6869024/diff/23006/chrome/browser/extensions/extension_input_ui_api.cc#newcode185 chrome/browser/extensions/extension_input_ui_api.cc:185: extension_id_ = extension_id; On 2011/05/05 23:50:02, Antony Sargent wrote: ...
9 years, 7 months ago (2011-05-06 14:52:08 UTC) #28
asargent_no_longer_on_chrome
ok, LGTM
9 years, 7 months ago (2011-05-06 18:07:16 UTC) #29
commit-bot: I haz the power
Presubmit check for 6869024-24009 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 7 months ago (2011-05-09 17:37:59 UTC) #30
asargent_no_longer_on_chrome
Just FYI, you'll need to commit this manually instead of via the commit-queue, because of ...
9 years, 7 months ago (2011-05-09 17:45:11 UTC) #31
Peng
9 years, 7 months ago (2011-05-09 21:48:12 UTC) #32
Thanks for the information. Bryan landed it for me.

On 2011/05/09 17:45:11, Antony Sargent wrote:
> Just FYI, you'll need to commit this manually instead of via the
> commit-queue, because of crbug.com/81826.
> 
> I will also file a bug about the presubmit check looking at .json files for
> 80-character width - since these often contain documentation and not code I
> don't believe it's appropriate to do that check on them.
> 
> 
> On Mon, May 9, 2011 at 10:38 AM, <mailto:commit-bot@chromium.org> wrote:
> 
> > Presubmit check for 6869024-24009 failed and returned exit status 1.
> >
> > Running presubmit commit checks ...
> >
> > ** Presubmit Warnings **
> > Found lines longer than 80 characters (first 5 shown).
> >  chrome/common/extensions/api/extension_api.json, line 2433, 107 chars \
> >  chrome/common/extensions/api/extension_api.json, line 2438, 93 chars \
> >  chrome/common/extensions/api/extension_api.json, line 2446, 82 chars \
> >  chrome/common/extensions/api/extension_api.json, line 2457, 93 chars \
> >  chrome/common/extensions/api/extension_api.json, line 2465, 82 chars
> >
> >
> > This change modifies file(s) which the extension docs depend on. You must
> > rebuild the extension docs.
> >
> > Build by running the build.py script in
> > chrome/common/extensions/docs/build/.
> >
> > Be sure to include any modified resulting static files
> > (/common/extension/docs/*.html) in your final changelist.
> >
> >
> >
> >
> >
> > http://codereview.chromium.org/6869024/
> >

Powered by Google App Engine
This is Rietveld 408576698