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

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
CC:
chromium-reviews, gcasto+watchlist_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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.*

Patch Set 1 #

Patch Set 2 : rebase and fix tests #

Patch Set 3 : rebase and fix unittests #

Patch Set 4 : fix typo #

Total comments: 2

Patch Set 5 : do not run for mash to fix mash test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -0 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 3 chunks +11 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/ui/password_echo_controller.h View 1 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/ui/password_echo_controller.cc View 1 1 chunk +76 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/ui/password_echo_controller_browsertest.cc View 1 2 3 4 1 chunk +156 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate_chromeos.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 30 (23 generated)
xiyuan
4 years, 3 months ago (2016-08-26 05:31:07 UTC) #2
xiyuan
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
xiyuan
Ready to review. PTAL. Thanks.
4 years, 3 months ago (2016-08-26 17:37:37 UTC) #11
xiyuan
+sky ha, still need you to look at this dependent CL for the following: chrome_views_delegate.h ...
4 years, 3 months ago (2016-08-26 19:48:28 UTC) #17
sky
https://codereview.chromium.org/2279163002/diff/70001/chrome/browser/ui/views/chrome_views_delegate_chromeos.cc File chrome/browser/ui/views/chrome_views_delegate_chromeos.cc (right): https://codereview.chromium.org/2279163002/diff/70001/chrome/browser/ui/views/chrome_views_delegate_chromeos.cc#newcode17 chrome/browser/ui/views/chrome_views_delegate_chromeos.cc:17: const base::TimeDelta kTextfieldPasswordRevealDuration = Did you consider doing this ...
4 years, 3 months ago (2016-08-26 22:48:00 UTC) #24
xiyuan
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
oshima
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).

Powered by Google App Engine
This is Rietveld 408576698