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

Unified Diff: chrome/browser/ui/signin_view_controller_delegate.cc

Issue 2093563003: Disable the Context Menu in the tab-modal signin dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « chrome/browser/ui/signin_view_controller_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/signin_view_controller_delegate.cc
diff --git a/chrome/browser/ui/signin_view_controller_delegate.cc b/chrome/browser/ui/signin_view_controller_delegate.cc
index 00f70601746977957dfb1be06bd6b0d826382a17..c82b0c3ea22c8db432821faabdc63860776823ef 100644
--- a/chrome/browser/ui/signin_view_controller_delegate.cc
+++ b/chrome/browser/ui/signin_view_controller_delegate.cc
@@ -67,3 +67,9 @@ void SigninViewControllerDelegate::PerformNavigation() {
CloseModalSignin();
}
}
+
+bool SigninViewControllerDelegate::HandleContextMenu(
sky 2016/06/23 19:13:24 make order match position in header.
anthonyvd 2016/06/27 15:28:16 Good catch, most of the file was out of order. Don
+ const content::ContextMenuParams& params) {
+ // Discard the context menu
+ return true;
+}
« no previous file with comments | « chrome/browser/ui/signin_view_controller_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698