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

Issue 2469663002: [ash-md] Add on-screen keyboard toggle row in IME menu view. (Closed)

Created:
4 years, 1 month ago by Azure Wei
Modified:
4 years, 1 month ago
Reviewers:
tdanderson
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

[ash-md] Add on-screen keyboard toggle row in IME menu view. 1. Add vector icons ime_menu_on_screen_keyboard.*.icon for on-screen keyboard. 2. Add new class MaterialKeyboardStatusRowView in ImeListView to show the keyboard row: a on-screen keyboard, a label and a toggle button. 3. Makes s shown only for MD and sticky when scrolling. 4. Updates the ImeInfoView as simple Label+Label+Image with TriView. And updates the id size. * Still needs follow-up CL to make MaterialKeyboardStatusRowView has shadow and shown in opt-in IME menu. BUG=657146, 642385, 652677 TEST=Verified on local build. Committed: https://crrev.com/974c67a70351cf6b243833b309996046fdcab1f5 Cr-Commit-Position: refs/heads/master@{#430186}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Use TriView. #

Patch Set 3 : Use TriView. #

Total comments: 16

Patch Set 4 : Not use ImageButton and LabelButton. #

Patch Set 5 : Usage Label and ImageView. #

Total comments: 35

Patch Set 6 : Addressed comments. #

Total comments: 12

Patch Set 7 : Addressed comments. #

Patch Set 8 : Update tooltip text of toggle. #

Patch Set 9 : Remove use of SizeToFit(). #

Patch Set 10 : Remove use of SetMaximumWidth(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+336 lines, -53 lines) Patch
M ash/common/system/chromeos/ime_menu/ime_list_view.h View 1 2 3 4 5 6 3 chunks +16 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/ime_menu/ime_list_view.cc View 1 2 3 4 5 6 7 8 9 11 chunks +178 lines, -53 lines 0 comments Download
M ash/common/system/ime/tray_ime_chromeos_unittest.cc View 1 2 3 4 5 6 7 3 chunks +9 lines, -0 lines 0 comments Download
M ash/resources/vector_icons/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A ash/resources/vector_icons/ime_menu_on_screen_keyboard.icon View 1 chunk +73 lines, -0 lines 0 comments Download
A ash/resources/vector_icons/ime_menu_on_screen_keyboard.1x.icon View 1 chunk +58 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (16 generated)
Azure Wei
Please review this CL. Thanks!
4 years, 1 month ago (2016-11-01 07:27:04 UTC) #3
tdanderson
Please see my comments below. https://codereview.chromium.org/2469663002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2469663002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode176 ash/common/system/chromeos/ime_menu/ime_list_view.cc:176: SystemMenuButton* on_screen_keyboard_ = new ...
4 years, 1 month ago (2016-11-01 21:42:12 UTC) #4
Azure Wei
https://codereview.chromium.org/2469663002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2469663002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode176 ash/common/system/chromeos/ime_menu/ime_list_view.cc:176: SystemMenuButton* on_screen_keyboard_ = new SystemMenuButton( On 2016/11/01 21:42:11, tdanderson ...
4 years, 1 month ago (2016-11-02 15:01:41 UTC) #5
tdanderson
Hi, thanks for making the change to use TriView. I have another set of comments ...
4 years, 1 month ago (2016-11-02 18:44:37 UTC) #6
Azure Wei
Thanks for the review. The comments have been addressed. PTAL. https://codereview.chromium.org/2469663002/diff/40001/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2469663002/diff/40001/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode105 ...
4 years, 1 month ago (2016-11-03 02:06:44 UTC) #8
tdanderson
Please see my comments below. https://codereview.chromium.org/2469663002/diff/40001/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2469663002/diff/40001/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode383 ash/common/system/chromeos/ime_menu/ime_list_view.cc:383: !material_keyboard_statuts_view_->is_toggled()) { On 2016/11/03 ...
4 years, 1 month ago (2016-11-03 21:17:06 UTC) #9
Azure Wei
Please review the latest patch set. https://codereview.chromium.org/2469663002/diff/80001/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2469663002/diff/80001/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode41 ash/common/system/chromeos/ime_menu/ime_list_view.cc:41: const int kKeyboardRowkVerticalInset ...
4 years, 1 month ago (2016-11-04 01:28:35 UTC) #10
tdanderson
Thanks for all the changes! LGTM with a last few comments below: https://codereview.chromium.org/2469663002/diff/80001/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc ...
4 years, 1 month ago (2016-11-04 19:01:05 UTC) #11
Azure Wei
https://codereview.chromium.org/2469663002/diff/100001/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2469663002/diff/100001/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode119 ash/common/system/chromeos/ime_menu/ime_list_view.cc:119: // In case we don't run into endless loop ...
4 years, 1 month ago (2016-11-05 02:26:19 UTC) #12
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/2469663002/120001
4 years, 1 month ago (2016-11-05 02:27:00 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/267148)
4 years, 1 month ago (2016-11-05 03:12:19 UTC) #17
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/2469663002/140001
4 years, 1 month ago (2016-11-05 07:59:59 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/267192)
4 years, 1 month ago (2016-11-05 08:46:25 UTC) #22
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/2469663002/160001
4 years, 1 month ago (2016-11-06 02:57:04 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/267260)
4 years, 1 month ago (2016-11-06 03:38:29 UTC) #27
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/2469663002/180001
4 years, 1 month ago (2016-11-06 04:16:59 UTC) #30
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 1 month ago (2016-11-06 05:23:37 UTC) #32
commit-bot: I haz the power
4 years, 1 month ago (2016-11-06 05:25:53 UTC) #34
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/974c67a70351cf6b243833b309996046fdcab1f5
Cr-Commit-Position: refs/heads/master@{#430186}

Powered by Google App Engine
This is Rietveld 408576698