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

Issue 1139453002: Initial native keyboard proof of concept. (Closed)

Created:
5 years, 7 months ago by APW
Modified:
5 years, 7 months ago
Reviewers:
jamesr
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, yzshen+watch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Initial native keyboard proof of concept. The mojo:keyboard_native service is written in C++ to be platform agnostic (as opposed to the mojo:keyboard service which is currently only a java wrapper around the Android IME). mojo:keyboard_client serves as a client to the mojo:keyboard_native service testing its implementation of the keyboard mojom APIs. R=jamesr@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/7da883d63253688cc3e54a1ab81d7117dfc1b83d

Patch Set 1 #

Total comments: 29

Patch Set 2 : #

Patch Set 3 : Move strong binding into base class and remove sub-class. #

Patch Set 4 : Fixed build. #

Total comments: 16

Patch Set 5 : More style fixes. #

Patch Set 6 : Attempt to fix application runner linkage errors #

Patch Set 7 : Linkage fixes. #

Total comments: 2

Patch Set 8 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -20 lines) Patch
M examples/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A + examples/keyboard_client/BUILD.gn View 1 2 3 4 5 6 1 chunk +7 lines, -10 lines 0 comments Download
A examples/keyboard_client/keyboard_client.cc View 1 2 3 4 5 6 7 1 chunk +62 lines, -0 lines 0 comments Download
M services/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
A + services/keyboard_native/BUILD.gn View 1 2 3 4 5 6 1 chunk +10 lines, -10 lines 0 comments Download
A services/keyboard_native/keyboard_service_impl.h View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
A services/keyboard_native/keyboard_service_impl.cc View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
A services/keyboard_native/main.cc View 1 2 3 4 5 6 7 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jamesr
I've left a bunch of mostly style comments. It can take a bit to get ...
5 years, 7 months ago (2015-05-08 20:55:16 UTC) #1
jamesr
Also please add more information in the patch description about what the patch is doing ...
5 years, 7 months ago (2015-05-08 20:59:14 UTC) #2
APW
I've updated the review based on review comments. https://codereview.chromium.org/1139453002/diff/1/examples/keyboard_client/BUILD.gn File examples/keyboard_client/BUILD.gn (right): https://codereview.chromium.org/1139453002/diff/1/examples/keyboard_client/BUILD.gn#newcode6 examples/keyboard_client/BUILD.gn:6: import("//mojo/public/tools/bindings/mojom.gni") ...
5 years, 7 months ago (2015-05-08 22:09:28 UTC) #3
APW
https://codereview.chromium.org/1139453002/diff/1/services/keyboard_native/keyboard_service_impl.h File services/keyboard_native/keyboard_service_impl.h (right): https://codereview.chromium.org/1139453002/diff/1/services/keyboard_native/keyboard_service_impl.h#newcode42 services/keyboard_native/keyboard_service_impl.h:42: class StrongBindingKeyboardServiceImpl : public KeyboardServiceImpl { On 2015/05/08 22:09:28, ...
5 years, 7 months ago (2015-05-08 22:27:02 UTC) #4
APW
5 years, 7 months ago (2015-05-08 22:27:04 UTC) #5
jamesr
https://codereview.chromium.org/1139453002/diff/60001/examples/keyboard_client/keyboard_client.cc File examples/keyboard_client/keyboard_client.cc (right): https://codereview.chromium.org/1139453002/diff/60001/examples/keyboard_client/keyboard_client.cc#newcode18 examples/keyboard_client/keyboard_client.cc:18: KeyboardDelegate() : binding_(this) {} whenever you have a type ...
5 years, 7 months ago (2015-05-08 23:45:24 UTC) #6
APW
FIxed more style issues. https://codereview.chromium.org/1139453002/diff/60001/examples/keyboard_client/keyboard_client.cc File examples/keyboard_client/keyboard_client.cc (right): https://codereview.chromium.org/1139453002/diff/60001/examples/keyboard_client/keyboard_client.cc#newcode18 examples/keyboard_client/keyboard_client.cc:18: KeyboardDelegate() : binding_(this) {} On ...
5 years, 7 months ago (2015-05-09 00:45:59 UTC) #7
APW
PTAL
5 years, 7 months ago (2015-05-11 17:39:40 UTC) #8
APW
PTAL
5 years, 7 months ago (2015-05-11 17:39:42 UTC) #9
jamesr
lgtm https://codereview.chromium.org/1139453002/diff/120001/examples/keyboard_client/keyboard_client.cc File examples/keyboard_client/keyboard_client.cc (right): https://codereview.chromium.org/1139453002/diff/120001/examples/keyboard_client/keyboard_client.cc#newcode28 examples/keyboard_client/keyboard_client.cc:28: mojo::GetProxy(&keyboard_client); two tips (you don't have to change ...
5 years, 7 months ago (2015-05-11 17:50:56 UTC) #10
APW
5 years, 7 months ago (2015-05-11 18:12:47 UTC) #11
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
7da883d63253688cc3e54a1ab81d7117dfc1b83d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698