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

Issue 2599743003: Disable emoji, handwriting and voice for password input client. (Closed)

Created:
4 years ago by Azure Wei
Modified:
3 years, 11 months ago
Reviewers:
stevenjb, Shu Chen
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, shuchen+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, kalyank
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable emoji, handwriting and voice for password input client. Make ImeMenuTray observes InputMethod to get the current input type. If the current input client is password, do not show emoji, handwriting and voice buttons. We don't need to care about the input type changed after IME menu shown, since it will hide the bubble view. BUG=676568 TEST=Verified on local build. Review-Url: https://codereview.chromium.org/2599743003 Cr-Commit-Position: refs/heads/master@{#442478} Committed: https://chromium.googlesource.com/chromium/src/+/1c4c4e8afd6f1259d52e1ccb1aff046204421fdc

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add unittest. #

Patch Set 3 #

Patch Set 4 : Use IMEBridge to get current input context. #

Total comments: 1

Patch Set 5 : Update to use chromeos::input_method::MockInputMethodManager #

Patch Set 6 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -13 lines) Patch
M ash/common/system/chromeos/ime_menu/ime_menu_tray.cc View 1 2 3 4 5 4 chunks +22 lines, -13 lines 0 comments Download
M ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc View 1 2 3 4 3 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (27 generated)
Azure Wei
Please review this CL. Thanks!
4 years ago (2016-12-22 11:28:15 UTC) #5
stevenjb
On 2016/12/22 11:28:15, Azure Wei wrote: > Please review this CL. Thanks! Please clarify the ...
4 years ago (2016-12-22 19:16:00 UTC) #6
stevenjb
This should have a test. https://codereview.chromium.org/2599743003/diff/1/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc File ash/common/system/chromeos/ime_menu/ime_menu_tray.cc (right): https://codereview.chromium.org/2599743003/diff/1/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc#newcode377 ash/common/system/chromeos/ime_menu/ime_menu_tray.cc:377: input_method->AddObserver(this); RemoveObserver https://codereview.chromium.org/2599743003/diff/1/ash/common/system/chromeos/ime_menu/ime_menu_tray.h File ...
4 years ago (2016-12-22 19:19:23 UTC) #7
Azure Wei
Addressed comments and added unit test ImeMenuTrayTest.ShowEmojiHandwritingVoiceButtons has been added. PTAL. Thanks! https://codereview.chromium.org/2599743003/diff/1/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc File ash/common/system/chromeos/ime_menu/ime_menu_tray.cc ...
4 years ago (2016-12-23 02:13:47 UTC) #17
Shu Chen
Please expose an API to allow the ime extension notify the menu to update whether ...
4 years ago (2016-12-23 03:42:14 UTC) #18
Azure Wei
On 2016/12/23 03:42:14, Shu Chen wrote: > Please expose an API to allow the ime ...
3 years, 12 months ago (2016-12-23 09:29:24 UTC) #19
Azure Wei
Instead of listening on InputMethodObserver, this cl has been updated with get current input context ...
3 years, 12 months ago (2016-12-27 13:05:17 UTC) #24
stevenjb
Thanks for adding the test. Just one suggestion. Moving mock_input_method_manager.cc should be done in a ...
3 years, 12 months ago (2016-12-27 17:41:31 UTC) #25
Azure Wei
On 2016/12/27 17:41:31, stevenjb wrote: > Thanks for adding the test. Just one suggestion. Moving ...
3 years, 11 months ago (2016-12-28 08:57:39 UTC) #26
Shu Chen
lgtm
3 years, 11 months ago (2017-01-04 01:10:05 UTC) #27
Azure Wei
On 2016/12/27 17:41:31, stevenjb wrote: > Thanks for adding the test. Just one suggestion. Moving ...
3 years, 11 months ago (2017-01-06 06:02:24 UTC) #32
Azure Wei
ping~
3 years, 11 months ago (2017-01-09 09:26:58 UTC) #33
stevenjb
lgtm
3 years, 11 months ago (2017-01-09 16:38:37 UTC) #34
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/2599743003/100001
3 years, 11 months ago (2017-01-10 00:30:07 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 11 months ago (2017-01-10 02:34:23 UTC) #39
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/2599743003/100001
3 years, 11 months ago (2017-01-10 02:47:05 UTC) #41
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 04:47:53 UTC) #44
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/1c4c4e8afd6f1259d52e1ccb1aff...

Powered by Google App Engine
This is Rietveld 408576698