cros: Bind password echo with TouchView mode
Enable password echo when entering TouchView mode and disable it
when exiting TouchView mode.
BUG=634472
TEST=PasswordEchoControllerTest.*
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/268185)
4 years, 3 months ago
(2016-08-26 06:24:41 UTC)
#6
Please hold off review. Making changes in the dependency views CL and looking at the ...
4 years, 3 months ago
(2016-08-26 17:03:02 UTC)
#7
Please hold off review. Making changes in the dependency views CL and looking at
the test failures. Will ping back when it is ready. Sorry for the noise.
xiyuan
Patchset #2 (id:20001) has been deleted
4 years, 3 months ago
(2016-08-26 17:30:24 UTC)
#8
Patchset #2 (id:20001) has been deleted
xiyuan
The CQ bit was checked by xiyuan@chromium.org to run a CQ dry run
4 years, 3 months ago
(2016-08-26 17:34:38 UTC)
#9
Dry run: 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/225679)
4 years, 3 months ago
(2016-08-26 18:17:29 UTC)
#13
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/190521) linux_chromium_chromeos_compile_dbg_ng on ...
4 years, 3 months ago
(2016-08-26 20:00:10 UTC)
#19
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/268588)
4 years, 3 months ago
(2016-08-26 21:26:44 UTC)
#23
The CL will not work for mash since it tries to get TouchView via WmShell's ...
4 years, 3 months ago
(2016-08-26 23:20:31 UTC)
#25
The CL will not work for mash since it tries to get TouchView via WmShell's
maximize_mode_controller. I skipped it for mash in PS5 and added to comment to
revisit it later.
PTAL. Thanks.
https://codereview.chromium.org/2279163002/diff/70001/chrome/browser/ui/views...
File chrome/browser/ui/views/chrome_views_delegate_chromeos.cc (right):
https://codereview.chromium.org/2279163002/diff/70001/chrome/browser/ui/views...
chrome/browser/ui/views/chrome_views_delegate_chromeos.cc:17: const
base::TimeDelta kTextfieldPasswordRevealDuration =
On 2016/08/26 22:48:00, sky wrote:
> Did you consider doing this if the mouse recent pointer event (which includes
> touch and mouse) is a touch event? I think it's worth asking UX about this
given
> it seems helpful on desktop when using a touch input device too.
I see your point. The part that I am not sure is how confident we are to enable
this with touch events. People might not want this just because they tap on a
password field.
Will ask UX on the bug.
xiyuan
The CQ bit was checked by xiyuan@chromium.org to run a CQ dry run
4 years, 3 months ago
(2016-08-26 23:20:38 UTC)
#26
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/270059)
4 years, 3 months ago
(2016-08-27 01:19:36 UTC)
#29
On 2016/08/26 23:20:31, xiyuan wrote: > The CL will not work for mash since it ...
4 years, 2 months ago
(2016-10-11 21:25:49 UTC)
#30
On 2016/08/26 23:20:31, xiyuan wrote:
> The CL will not work for mash since it tries to get TouchView via WmShell's
> maximize_mode_controller. I skipped it for mash in PS5 and added to comment to
> revisit it later.
>
> PTAL. Thanks.
>
>
https://codereview.chromium.org/2279163002/diff/70001/chrome/browser/ui/views...
> File chrome/browser/ui/views/chrome_views_delegate_chromeos.cc (right):
>
>
https://codereview.chromium.org/2279163002/diff/70001/chrome/browser/ui/views...
> chrome/browser/ui/views/chrome_views_delegate_chromeos.cc:17: const
> base::TimeDelta kTextfieldPasswordRevealDuration =
> On 2016/08/26 22:48:00, sky wrote:
> > Did you consider doing this if the mouse recent pointer event (which
includes
> > touch and mouse) is a touch event? I think it's worth asking UX about this
> given
> > it seems helpful on desktop when using a touch input device too.
>
> I see your point. The part that I am not sure is how confident we are to
enable
> this with touch events. People might not want this just because they tap on a
> password field.
>
> Will ask UX on the bug.
Alternative approach is to check if the key event is synthesized which, IIRC,
indicates it's coming from software keybaord (but sorry if I'm wrong).
Issue 2279163002: cros: Bind password echo with TouchView mode
Created 4 years, 3 months ago by xiyuan
Modified 4 years, 2 months ago
Reviewers: oshima, sky
Base URL:
Comments: 2