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

Issue 2168953002: Disables the context menu in User Manager's reauth dialog (Closed)

Created:
4 years, 5 months ago by Moe
Modified:
4 years, 4 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, anthonyvd
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disables the context menu in User Manager's reauth dialog. This prevents user from inspecting the contents of the dialog which causes a crash. This CL also removes the logic where the WebContentsObserver closes the dialog automatically when the final URL is reached. The reauth dialog is closed explicitly in InlineLoginHandler::HandleDialogClose(). That logic is not needed. BUG=608313 Committed: https://crrev.com/181eb213602d7e36865b6cc9fcc3835c721ab994 Cr-Commit-Position: refs/heads/master@{#409311}

Patch Set 1 : Initial #

Total comments: 2

Patch Set 2 : Addressed comments #

Total comments: 8

Patch Set 3 : Addressed comments #

Total comments: 4

Patch Set 4 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -60 lines) Patch
M chrome/browser/ui/cocoa/profiles/user_manager_mac.mm View 1 2 3 2 chunks +16 lines, -8 lines 0 comments Download
M chrome/browser/ui/user_manager.h View 1 2 3 2 chunks +16 lines, -12 lines 0 comments Download
M chrome/browser/ui/user_manager.cc View 1 2 3 2 chunks +18 lines, -35 lines 0 comments Download
M chrome/browser/ui/views/profiles/user_manager_view.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/profiles/user_manager_view.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 37 (21 generated)
Moe
Hi Scott, Please review this CL. https://codereview.chromium.org/2168953002/diff/20001/chrome/browser/ui/user_manager.cc File chrome/browser/ui/user_manager.cc (left): https://codereview.chromium.org/2168953002/diff/20001/chrome/browser/ui/user_manager.cc#oldcode39 chrome/browser/ui/user_manager.cc:39: CloseReauthDialog(); The reauth ...
4 years, 5 months ago (2016-07-21 15:34:12 UTC) #8
sky
https://codereview.chromium.org/2168953002/diff/20001/chrome/browser/ui/user_manager.h File chrome/browser/ui/user_manager.h (right): https://codereview.chromium.org/2168953002/diff/20001/chrome/browser/ui/user_manager.h#newcode76 chrome/browser/ui/user_manager.h:76: class BaseReauthDialogDelegate : virtual public content::WebContentsDelegate { multiple inheritance ...
4 years, 5 months ago (2016-07-21 19:19:58 UTC) #11
Moe
Hi, PTAL.
4 years, 5 months ago (2016-07-22 17:58:28 UTC) #14
sky
https://codereview.chromium.org/2168953002/diff/40001/chrome/browser/ui/user_manager.cc File chrome/browser/ui/user_manager.cc (left): https://codereview.chromium.org/2168953002/diff/40001/chrome/browser/ui/user_manager.cc#oldcode37 chrome/browser/ui/user_manager.cc:37: if (url.ReplaceComponents(replacements) == How come you're changing this code? ...
4 years, 5 months ago (2016-07-22 22:29:01 UTC) #17
Moe
https://codereview.chromium.org/2168953002/diff/40001/chrome/browser/ui/user_manager.cc File chrome/browser/ui/user_manager.cc (left): https://codereview.chromium.org/2168953002/diff/40001/chrome/browser/ui/user_manager.cc#oldcode37 chrome/browser/ui/user_manager.cc:37: if (url.ReplaceComponents(replacements) == On 2016/07/22 22:29:01, sky wrote: > ...
4 years, 5 months ago (2016-07-22 23:56:56 UTC) #19
sky
https://codereview.chromium.org/2168953002/diff/60001/chrome/browser/ui/user_manager.cc File chrome/browser/ui/user_manager.cc (right): https://codereview.chromium.org/2168953002/diff/60001/chrome/browser/ui/user_manager.cc#newcode51 chrome/browser/ui/user_manager.cc:51: web_contents_ = *content_set.begin(); How come web_contents_ is reset here? ...
4 years, 5 months ago (2016-07-25 14:53:22 UTC) #20
Moe
https://codereview.chromium.org/2168953002/diff/60001/chrome/browser/ui/user_manager.cc File chrome/browser/ui/user_manager.cc (right): https://codereview.chromium.org/2168953002/diff/60001/chrome/browser/ui/user_manager.cc#newcode51 chrome/browser/ui/user_manager.cc:51: web_contents_ = *content_set.begin(); On 2016/07/25 14:53:22, sky wrote: > ...
4 years, 4 months ago (2016-08-01 21:44:59 UTC) #21
sky
https://codereview.chromium.org/2168953002/diff/60001/chrome/browser/ui/user_manager.cc File chrome/browser/ui/user_manager.cc (right): https://codereview.chromium.org/2168953002/diff/60001/chrome/browser/ui/user_manager.cc#newcode36 chrome/browser/ui/user_manager.cc:36: // If still observing the top level web contents, ...
4 years, 4 months ago (2016-08-02 03:14:08 UTC) #22
Moe
https://codereview.chromium.org/2168953002/diff/60001/chrome/browser/ui/user_manager.cc File chrome/browser/ui/user_manager.cc (right): https://codereview.chromium.org/2168953002/diff/60001/chrome/browser/ui/user_manager.cc#newcode36 chrome/browser/ui/user_manager.cc:36: // If still observing the top level web contents, ...
4 years, 4 months ago (2016-08-02 15:22:59 UTC) #25
sky
On 2016/08/01 21:44:59, moe wrote: > https://codereview.chromium.org/2168953002/diff/60001/chrome/browser/ui/user_manager.cc > File chrome/browser/ui/user_manager.cc (right): > > https://codereview.chromium.org/2168953002/diff/60001/chrome/browser/ui/user_manager.cc#newcode51 > ...
4 years, 4 months ago (2016-08-02 19:37:49 UTC) #28
Moe
On 2016/08/02 19:37:49, sky wrote: > On 2016/08/01 21:44:59, moe wrote: > > > https://codereview.chromium.org/2168953002/diff/60001/chrome/browser/ui/user_manager.cc ...
4 years, 4 months ago (2016-08-02 19:52:01 UTC) #29
sky
On 2016/08/02 19:52:01, moe wrote: > On 2016/08/02 19:37:49, sky wrote: > > On 2016/08/01 ...
4 years, 4 months ago (2016-08-02 20:32:08 UTC) #30
Moe
On 2016/08/02 20:32:08, sky wrote: > On 2016/08/02 19:52:01, moe wrote: > > On 2016/08/02 ...
4 years, 4 months ago (2016-08-02 20:34:46 UTC) #31
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/2168953002/80001
4 years, 4 months ago (2016-08-02 20:35:21 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 4 months ago (2016-08-02 20:41:09 UTC) #35
commit-bot: I haz the power
4 years, 4 months ago (2016-08-02 20:44:11 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/181eb213602d7e36865b6cc9fcc3835c721ab994
Cr-Commit-Position: refs/heads/master@{#409311}

Powered by Google App Engine
This is Rietveld 408576698