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

Unified Diff: chrome/browser/ui/cocoa/profiles/user_manager_mac.mm

Issue 2168953002: Disables the context menu in User Manager's reauth dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initial Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/user_manager.h » ('j') | chrome/browser/ui/user_manager.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/profiles/user_manager_mac.mm
diff --git a/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm b/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm
index 177a6df9f626e4d74a3aa3c6bb674ac1fdbedce4..04f21c679f4fc6c86ae187728856a09f5aeb4d4e 100644
--- a/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm
+++ b/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm
@@ -115,7 +115,8 @@ class UserManagerModalManagerDelegate :
};
// Custom WebContentsDelegate that allows handling of hotkeys.
-class UserManagerWebContentsDelegate : public content::WebContentsDelegate {
+class UserManagerWebContentsDelegate :
+ virtual public content::WebContentsDelegate {
public:
UserManagerWebContentsDelegate() {}
@@ -141,15 +142,15 @@ class UserManagerWebContentsDelegate : public content::WebContentsDelegate {
}
};
-class ReauthDialogDelegate : public UserManager::ReauthDialogObserver,
+class ReauthDialogDelegate : public UserManager::BaseReauthDialogDelegate,
public UserManagerWebContentsDelegate,
public ConstrainedWindowMacDelegate {
public:
ReauthDialogDelegate(content::WebContents* web_contents,
const std::string& email)
- : UserManager::ReauthDialogObserver(web_contents, email) {}
+ : UserManager::BaseReauthDialogDelegate(web_contents) {}
- // UserManager::ReauthDialogObserver:
+ // UserManager::BaseReauthDialogDelegate:
void CloseReauthDialog() override {
CloseInstanceReauthDialog();
}
« no previous file with comments | « no previous file | chrome/browser/ui/user_manager.h » ('j') | chrome/browser/ui/user_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698