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

Issue 2292343002: Hooking up Blimp IME with BlimpContents (Closed)

Created:
4 years, 3 months ago by shaktisahu
Modified:
4 years, 3 months ago
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, jbudorick+watch_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, mikecase+watch_chromium.org, lethalantidote+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hooking up Blimp IME with BlimpContents This CL hooks up the ImeFeature and its delegate with BlimpContents. The IME is an Android AlertDialog driven by ImeHelperDialog in native which implements the ImeFeature's delegate interface and is owned in native by the BlimpContentsView. The methods from ImeFeature for sending text to engine is passed to the delegate as a callback which binds the appropriate tab ID along with it. BUG=611111 Committed: https://crrev.com/dbc30df32da8a742e26ac283114d8c72291e2347 Cr-Commit-Position: refs/heads/master@{#415867}

Patch Set 1 #

Patch Set 2 : Using Callback #

Total comments: 35

Patch Set 3 : Addressed initial comments #

Total comments: 2

Patch Set 4 : Removed ImeHelperDialog from app #

Patch Set 5 : merge origin/master #

Patch Set 6 : merge origin/master #

Patch Set 7 : Fixed linux client #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -502 lines) Patch
M blimp/client/BUILD.gn View 1 2 3 4 4 chunks +0 lines, -6 lines 0 comments Download
M blimp/client/app/android/AndroidManifest.xml.jinja2 View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/app/android/blimp_app_jni_registrar.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/app/android/blimp_client_session_android.h View 1 2 3 3 chunks +6 lines, -1 line 0 comments Download
M blimp/client/app/android/blimp_client_session_android.cc View 1 2 3 4 4 chunks +15 lines, -5 lines 0 comments Download
M blimp/client/app/android/ime_helper_dialog.h View 1 2 3 1 chunk +0 lines, -59 lines 0 comments Download
M blimp/client/app/android/ime_helper_dialog.cc View 1 2 3 1 chunk +0 lines, -72 lines 0 comments Download
M blimp/client/app/android/java/res/layout/text_input_popup.xml View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/app/android/java/src/org/chromium/blimp/BlimpRendererActivity.java View 1 2 3 5 chunks +5 lines, -11 lines 0 comments Download
D blimp/client/app/android/java/src/org/chromium/blimp/input/ImeEditText.java View 1 2 3 4 1 chunk +0 lines, -43 lines 0 comments Download
D blimp/client/app/android/java/src/org/chromium/blimp/input/ImeHelperDialog.java View 1 2 3 4 1 chunk +0 lines, -196 lines 0 comments Download
M blimp/client/app/android/java/src/org/chromium/blimp/session/BlimpClientSession.java View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M blimp/client/app/linux/blimp_client_session_linux.cc View 1 2 3 4 5 6 2 chunks +6 lines, -3 lines 0 comments Download
M blimp/client/core/contents/BUILD.gn View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M blimp/client/core/contents/android/blimp_contents_jni_registrar.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
A + blimp/client/core/contents/android/ime_helper_dialog.h View 1 2 3 2 chunks +17 lines, -22 lines 0 comments Download
A blimp/client/core/contents/android/ime_helper_dialog.cc View 1 2 3 1 chunk +59 lines, -0 lines 0 comments Download
A + blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/ImeEditText.java View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/ImeHelperDialog.java View 1 2 3 4 4 chunks +16 lines, -27 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_impl.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_impl.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_impl_unittest.cc View 1 2 3 4 5 6 3 chunks +7 lines, -4 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_manager_unittest.cc View 1 2 3 4 5 6 5 chunks +9 lines, -4 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_observer_unittest.cc View 1 2 3 4 5 6 3 chunks +9 lines, -5 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_view.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_view_android.h View 1 2 3 4 3 chunks +4 lines, -0 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_view_android.cc View 1 2 3 4 5 6 3 chunks +8 lines, -2 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_view_aura.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_view_aura.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M blimp/client/core/contents/ime_feature.h View 1 2 3 chunks +13 lines, -18 lines 0 comments Download
M blimp/client/core/contents/ime_feature.cc View 1 2 2 chunks +16 lines, -15 lines 0 comments Download
M blimp/client/core/contents/mock_ime_feature_delegate.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (17 generated)
shaktisahu
David, PTAL
4 years, 3 months ago (2016-08-31 03:34:02 UTC) #2
David Trainor- moved to gerrit
https://codereview.chromium.org/2292343002/diff/20001/blimp/client/app/android/ime_helper_dialog.cc File blimp/client/app/android/ime_helper_dialog.cc (right): https://codereview.chromium.org/2292343002/diff/20001/blimp/client/app/android/ime_helper_dialog.cc#newcode70 blimp/client/app/android/ime_helper_dialog.cc:70: std::string textInput = base::android::ConvertJavaStringToUTF8(env, text); text_input https://codereview.chromium.org/2292343002/diff/20001/blimp/client/app/android/ime_helper_dialog.cc#newcode71 blimp/client/app/android/ime_helper_dialog.cc:71: textSubmitCallback_.Run(textInput); ...
4 years, 3 months ago (2016-08-31 05:59:10 UTC) #4
shaktisahu
PTAL https://codereview.chromium.org/2292343002/diff/20001/blimp/client/app/android/ime_helper_dialog.cc File blimp/client/app/android/ime_helper_dialog.cc (right): https://codereview.chromium.org/2292343002/diff/20001/blimp/client/app/android/ime_helper_dialog.cc#newcode70 blimp/client/app/android/ime_helper_dialog.cc:70: std::string textInput = base::android::ConvertJavaStringToUTF8(env, text); On 2016/08/31 05:59:09, ...
4 years, 3 months ago (2016-08-31 17:28:22 UTC) #5
David Trainor- moved to gerrit
lgtm % nits https://codereview.chromium.org/2292343002/diff/20001/blimp/client/core/contents/blimp_contents_impl.h File blimp/client/core/contents/blimp_contents_impl.h (right): https://codereview.chromium.org/2292343002/diff/20001/blimp/client/core/contents/blimp_contents_impl.h#newcode80 blimp/client/core/contents/blimp_contents_impl.h:80: ImeFeature* ime_feature_; On 2016/08/31 17:28:21, shaktisahu ...
4 years, 3 months ago (2016-08-31 18:59:54 UTC) #6
shaktisahu
mikecase@chromium.org: Please review changes in lint
4 years, 3 months ago (2016-08-31 20:25:12 UTC) #8
shaktisahu
@nyquist, please take a look at the last patch. I removed the duplicate files for ...
4 years, 3 months ago (2016-08-31 22:34:38 UTC) #10
David Trainor- moved to gerrit
lgtm
4 years, 3 months ago (2016-08-31 23:19:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2292343002/80001
4 years, 3 months ago (2016-09-01 00:29:47 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/61939) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 3 months ago (2016-09-01 00:32:53 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2292343002/120001
4 years, 3 months ago (2016-09-01 03:02:15 UTC) #26
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-01 03:08:16 UTC) #27
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 03:10:12 UTC) #29
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/dbc30df32da8a742e26ac283114d8c72291e2347
Cr-Commit-Position: refs/heads/master@{#415867}

Powered by Google App Engine
This is Rietveld 408576698