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

Issue 843603004: Moves smart deploy UI into the IME tray. (Closed)

Created:
5 years, 11 months ago by rsadam
Modified:
5 years, 10 months ago
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moves smart deploy UI into the IME tray. BUG=447642, 443766 TEST=TrayIMETest.PerformActionOnDetailedView, TrayIMETest.HidesOnA11yEnabled, TrayIMETest.HiddenWithNoIMEs Committed: https://crrev.com/e94b540b1f2da1bfca727d30f51242d18214f3d9 Cr-Commit-Position: refs/heads/master@{#311394}

Patch Set 1 : Made tray_ime chromeos only. #

Total comments: 17

Patch Set 2 : Address reviewer comments. #

Patch Set 3 : Added unittests + fixed IME refresh bug. #

Patch Set 4 : Revert accidental edit of a file. #

Total comments: 13

Patch Set 5 : Address reviewer feedback. #

Patch Set 6 : Re-add visibility test. #

Patch Set 7 : Split into chromeos #

Patch Set 8 : Rebase to master. #

Patch Set 9 : Unsplit. Remove IME tray in Linux. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+389 lines, -424 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M ash/ash_chromeos_strings.grdp View 1 chunk +6 lines, -0 lines 0 comments Download
M ash/system/ime/tray_ime.h View 7 8 1 chunk +0 lines, -57 lines 0 comments Download
M ash/system/ime/tray_ime.cc View 7 8 1 chunk +0 lines, -308 lines 0 comments Download
A ash/system/ime/tray_ime_chromeos.h View 1 2 3 4 7 8 1 chunk +88 lines, -0 lines 0 comments Download
A + ash/system/ime/tray_ime_chromeos.cc View 1 2 3 4 7 8 15 chunks +127 lines, -55 lines 0 comments Download
A ash/system/ime/tray_ime_chromeos_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +164 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray.cc View 1 2 3 4 5 6 7 8 3 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 35 (9 generated)
rsadam
Hi Skuhne, PTAL! tray_ime is only ever instantiated in chromeos and the new keyboard related ...
5 years, 11 months ago (2015-01-09 19:35:05 UTC) #4
Mr4D (OOO till 08-26)
It would also be great if you could add some unit tests to verify that ...
5 years, 11 months ago (2015-01-09 22:50:38 UTC) #5
rsadam
On 2015/01/09 22:50:38, Mr4D wrote: > It would also be great if you could add ...
5 years, 11 months ago (2015-01-09 23:44:53 UTC) #6
rsadam
https://codereview.chromium.org/843603004/diff/40001/ash/system/ime/tray_ime_chromeos.cc File ash/system/ime/tray_ime_chromeos.cc (right): https://codereview.chromium.org/843603004/diff/40001/ash/system/ime/tray_ime_chromeos.cc#newcode51 ash/system/ime/tray_ime_chromeos.cc:51: AddLabel(label, gfx::ALIGN_LEFT, On 2015/01/09 22:50:38, Mr4D wrote: > According ...
5 years, 11 months ago (2015-01-09 23:45:07 UTC) #7
Mr4D (OOO till 08-26)
On 2015/01/09 23:44:53, rsadam wrote: > On 2015/01/09 22:50:38, Mr4D wrote: > > It would ...
5 years, 11 months ago (2015-01-10 00:33:38 UTC) #8
Mr4D (OOO till 08-26)
As stated before - yes, I was also irritated about OS_CHROMEOS, but looking at system_tray.cc ...
5 years, 11 months ago (2015-01-10 00:42:10 UTC) #9
rsadam
Found a bug when writing the unittests with how defaultview is created, fixed in this ...
5 years, 11 months ago (2015-01-12 22:10:35 UTC) #10
rsadam
Accidentally edited the original tray_keyboard_test file, reverted.
5 years, 11 months ago (2015-01-12 22:13:01 UTC) #11
Mr4D (OOO till 08-26)
Only a few more nits and we are there! https://codereview.chromium.org/843603004/diff/100001/ash/system/ime/tray_ime_chromeos.cc File ash/system/ime/tray_ime_chromeos.cc (right): https://codereview.chromium.org/843603004/diff/100001/ash/system/ime/tray_ime_chromeos.cc#newcode141 ash/system/ime/tray_ime_chromeos.cc:141: ...
5 years, 11 months ago (2015-01-12 22:35:37 UTC) #12
rsadam
https://codereview.chromium.org/843603004/diff/100001/ash/system/ime/tray_ime_chromeos.cc File ash/system/ime/tray_ime_chromeos.cc (right): https://codereview.chromium.org/843603004/diff/100001/ash/system/ime/tray_ime_chromeos.cc#newcode141 ash/system/ime/tray_ime_chromeos.cc:141: friend class TrayIMETest; On 2015/01/12 22:35:37, Mr4D wrote: > ...
5 years, 11 months ago (2015-01-13 00:05:35 UTC) #13
Mr4D (OOO till 08-26)
The one test - is the default view visible or not (or - why did ...
5 years, 11 months ago (2015-01-13 15:04:05 UTC) #14
rsadam
In the original test the toggle was in the default view which is why I ...
5 years, 11 months ago (2015-01-13 16:20:43 UTC) #15
Mr4D (OOO till 08-26)
Thanks! lgtm
5 years, 11 months ago (2015-01-13 18:39:54 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/843603004/140001
5 years, 11 months ago (2015-01-13 19:01:18 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/49430)
5 years, 11 months ago (2015-01-13 19:17:07 UTC) #20
rsadam
On 2015/01/13 19:17:07, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 11 months ago (2015-01-13 19:33:07 UTC) #21
rsadam
PTANL! Split the class into the CROS and non CROS parts.
5 years, 11 months ago (2015-01-13 20:13:37 UTC) #23
rsadam
Rebased to master - in hindsight I should have landed this first before deleting the ...
5 years, 11 months ago (2015-01-13 21:09:20 UTC) #24
rsadam
As discussed offline, removed the IMETray for Linux. Seems all the bots are green (other ...
5 years, 11 months ago (2015-01-13 23:24:47 UTC) #26
Mr4D (OOO till 08-26)
As discussed offline - LGTM!
5 years, 11 months ago (2015-01-14 00:07:00 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/843603004/240001
5 years, 11 months ago (2015-01-14 01:41:06 UTC) #29
commit-bot: I haz the power
Committed patchset #9 (id:240001)
5 years, 11 months ago (2015-01-14 02:31:33 UTC) #30
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/e94b540b1f2da1bfca727d30f51242d18214f3d9 Cr-Commit-Position: refs/heads/master@{#311394}
5 years, 11 months ago (2015-01-14 02:32:32 UTC) #31
Peter Lundblad
Hi, I just discovered that it broke a feature related to the Braille IME that ...
5 years, 10 months ago (2015-02-13 15:07:07 UTC) #33
Mr4D (OOO till 08-26)
I see. Yes, I have reviewed the CL and I was wondering about that change, ...
5 years, 10 months ago (2015-02-13 16:03:32 UTC) #34
chromium-reviews
5 years, 10 months ago (2015-02-13 16:10:32 UTC) #35
Message was sent while issue was closed.
Hi,

I didn't realize that property_list items were checkboxes - in which case
having one item makes sense, unlike in the list of IME where it doesn't. I
don't think that changing this back would break anything - though please
update the check 4 lines below as well, since we'll want the
scroll-separator if only one property is present.

On Fri, Feb 13, 2015 at 11:03 AM, Stefan Kuhne <skuhne@chromium.org> wrote:

> I see. Yes, I have reviewed the CL and I was wondering about that change,
> but was under the impression that if there is only one choice, there needs
> not to be an option.
>
> I guess that was not correct then - but you should wait for rsadam to
> comment.
>
> -Stefan
>
> On Fri, Feb 13, 2015 at 7:07 AM, <plundblad@chromium.org> wrote:
>
>> Hi,
>>
>> I just discovered that it broke a feature related to the Braille IME that
>> is
>> used for inputting braille using either a braille display or cording on a
>> standrard 'PC' keyboard. See crbug.com/458529.
>> The issue is that this CL requires an IME to expose more than one menu
>> item for
>> any item to be shown and not just one item. I think the checks for
>> property_list.size() > 1 should have remaing as !property_list.emtpy() in
>> the
>> Update method in tray_ime_chromeos.cc.  Was there a reason for that
>> particular
>> change or was it just a mistake?  (I understand why the check was change
>> for the
>> ime list, I think, this is about the IME properties).
>>
>> Since I have the hardware and this is trivial, I'll work on a fix, just
>> wanting
>> to know if I am missing something here.
>>
>> https://codereview.chromium.org/843603004/
>>
>
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698