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

Issue 2098353005: Implement RenderWidgetHostViewBase::ImeCancelComposition for all Views (Aura Only) (Closed)

Created:
4 years, 5 months ago by EhsanK
Modified:
4 years, 5 months ago
Reviewers:
kenrb, Charlie Reis
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement RenderWidgetHostViewBase::ImeCancelComposition for all Views (Aura Only) Currently, the RenderWidgetHostViewChildFrame's do not implement this method. This CL implements the method for RenderWidgetHostViewBase where the view will forward the call to the TextInputManager. The TextInputManager will then call its observers about the change. The tab's view in aura is an observer of the TextInputManager which will in turn cancel any ongoing composition. BUG=578168 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/50ee203f1d50521adeeb01faaa380e3c41c8b7a4 Cr-Commit-Position: refs/heads/master@{#402663}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing kenrb@'s comments #

Patch Set 3 : Removed the Incorrect DCHECK_EQ #

Total comments: 4

Patch Set 4 : Addressing creis@'s comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -17 lines) Patch
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 2 chunks +12 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 3 1 chunk +9 lines, -2 lines 0 comments Download
M content/browser/renderer_host/text_input_manager.h View 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/renderer_host/text_input_manager.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2098353005/1
4 years, 5 months ago (2016-06-27 19:56:02 UTC) #2
EhsanK
Hello Ken, Sorry for the load of reviews. Please take a look. This is another ...
4 years, 5 months ago (2016-06-27 20:06:21 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/235134)
4 years, 5 months ago (2016-06-27 21:33:40 UTC) #6
kenrb
Mostly looks fine, but don't you need to remove the ImeCancelComposition override in RenderWidgetHostViewChildFrame? https://codereview.chromium.org/2098353005/diff/1/content/browser/renderer_host/render_widget_host_view_base.cc ...
4 years, 5 months ago (2016-06-28 15:12:41 UTC) #7
EhsanK
PTAL. Thanks Ken for reminding me to remove the override. I found it hard to ...
4 years, 5 months ago (2016-06-28 16:41:19 UTC) #9
kenrb
What are the problems with testing? Have you been able to test it manually with ...
4 years, 5 months ago (2016-06-28 16:52:58 UTC) #10
EhsanK
On 2016/06/28 16:52:58, kenrb wrote: > What are the problems with testing? Have you been ...
4 years, 5 months ago (2016-06-28 17:26:30 UTC) #11
kenrb
lgtm, although it would be nice to have a test at some point to spot ...
4 years, 5 months ago (2016-06-28 19:21:07 UTC) #12
EhsanK
Thanks Ken! I will keep looking to see if there is a way to send ...
4 years, 5 months ago (2016-06-28 19:38:07 UTC) #14
Charlie Reis
LGTM https://codereview.chromium.org/2098353005/diff/40001/content/browser/renderer_host/render_widget_host_view_base.cc File content/browser/renderer_host/render_widget_host_view_base.cc (right): https://codereview.chromium.org/2098353005/diff/40001/content/browser/renderer_host/render_widget_host_view_base.cc#newcode415 content/browser/renderer_host/render_widget_host_view_base.cc:415: #if defined(USE_AURA) Same TODO as above? https://codereview.chromium.org/2098353005/diff/40001/content/browser/renderer_host/render_widget_host_view_base.h File ...
4 years, 5 months ago (2016-06-28 21:33:46 UTC) #15
EhsanK
Thanks for the reviews. I will CQ after the dry-run. https://codereview.chromium.org/2098353005/diff/40001/content/browser/renderer_host/render_widget_host_view_base.cc File content/browser/renderer_host/render_widget_host_view_base.cc (right): https://codereview.chromium.org/2098353005/diff/40001/content/browser/renderer_host/render_widget_host_view_base.cc#newcode415 ...
4 years, 5 months ago (2016-06-28 22:05:01 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2098353005/60001
4 years, 5 months ago (2016-06-28 22:06:19 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-29 00:09:13 UTC) #20
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/2098353005/60001
4 years, 5 months ago (2016-06-29 01:02:51 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-06-29 02:18:48 UTC) #24
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 02:19:58 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/50ee203f1d50521adeeb01faaa380e3c41c8b7a4
Cr-Commit-Position: refs/heads/master@{#402663}

Powered by Google App Engine
This is Rietveld 408576698