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

Issue 1016003002: Show the password bubble even if the browser window has no focus. (Closed)

Created:
5 years, 9 months ago by vasilii
Modified:
5 years, 9 months ago
Reviewers:
Mike West, sky
CC:
chromium-reviews, tfarina, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show the password bubble even if the browser window has no focus. The bubble itself steals no focus. It's very important to show it for the new Credential Manager API. The user can be presented with the account chooser or the auto sign-in toast. The auto sign-in toast should stay visible while the browser isn't activated. Then it can be closed by timeout. BUG=468281 Committed: https://crrev.com/bc82a04abd421cbe2ba76b0cb6899e34def04c2d Cr-Commit-Position: refs/heads/master@{#321795}

Patch Set 1 #

Patch Set 2 : don't close auto signin toast #

Patch Set 3 : fix the test #

Total comments: 6

Patch Set 4 : addressed the comments from sky@ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -9 lines) Patch
M chrome/browser/ui/browser_commands.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc View 1 2 3 12 chunks +50 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc View 1 2 2 chunks +46 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (3 generated)
vasilii
Hi guys, please review the CL.
5 years, 9 months ago (2015-03-18 13:16:03 UTC) #2
sky
Will showing the password bubble take focus in anyway? If the browser window doesn't have ...
5 years, 9 months ago (2015-03-18 16:04:17 UTC) #3
vasilii
On 2015/03/18 16:04:17, sky wrote: > Will showing the password bubble take focus in anyway? ...
5 years, 9 months ago (2015-03-18 16:08:17 UTC) #4
sky
Doesn't the bubble also close if the hosting window loses focus? In this case wouldn't ...
5 years, 9 months ago (2015-03-18 20:57:46 UTC) #5
vasilii
On 2015/03/18 20:57:46, sky wrote: > Doesn't the bubble also close if the hosting window ...
5 years, 9 months ago (2015-03-19 09:12:52 UTC) #6
Mike West
On 2015/03/19 at 09:12:52, vasilii wrote: > On 2015/03/18 20:57:46, sky wrote: > > Doesn't ...
5 years, 9 months ago (2015-03-19 12:52:33 UTC) #7
sky
Seems to me if the user needs to see this toast then you need something ...
5 years, 9 months ago (2015-03-19 19:24:39 UTC) #8
vasilii
On 2015/03/19 19:24:39, sky wrote: > Seems to me if the user needs to see ...
5 years, 9 months ago (2015-03-19 20:03:43 UTC) #9
sky
I think you need to raise the issue with UX and ask for input. If ...
5 years, 9 months ago (2015-03-19 23:07:30 UTC) #10
vasilii
I changed the CL. Now we don't close the auto sign-in toast by timeout if ...
5 years, 9 months ago (2015-03-20 16:16:18 UTC) #11
Mike West
On 2015/03/20 at 16:16:18, vasilii wrote: > I changed the CL. Now we don't close ...
5 years, 9 months ago (2015-03-20 16:31:17 UTC) #12
vasilii
On 2015/03/20 16:31:17, Mike West wrote: > On 2015/03/20 at 16:16:18, vasilii wrote: > > ...
5 years, 9 months ago (2015-03-20 17:11:22 UTC) #13
sky
https://codereview.chromium.org/1016003002/diff/40001/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc File chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc (right): https://codereview.chromium.org/1016003002/diff/40001/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc#newcode271 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc:271: }; niT: DISALLOW... https://codereview.chromium.org/1016003002/diff/40001/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc#newcode287 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc:287: Browser* browser = Because ...
5 years, 9 months ago (2015-03-20 19:52:26 UTC) #14
vasilii
https://codereview.chromium.org/1016003002/diff/40001/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc File chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc (right): https://codereview.chromium.org/1016003002/diff/40001/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc#newcode271 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc:271: }; On 2015/03/20 19:52:26, sky wrote: > niT: DISALLOW... ...
5 years, 9 months ago (2015-03-23 09:27:51 UTC) #15
sky
LGTM
5 years, 9 months ago (2015-03-23 15:56:50 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1016003002/60001
5 years, 9 months ago (2015-03-23 16:16:36 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-23 17:01:39 UTC) #20
commit-bot: I haz the power
5 years, 9 months ago (2015-03-23 17:02:12 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bc82a04abd421cbe2ba76b0cb6899e34def04c2d
Cr-Commit-Position: refs/heads/master@{#321795}

Powered by Google App Engine
This is Rietveld 408576698