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

Unified Diff: chrome/browser/ui/cocoa/browser_window_utils.mm

Issue 1250533003: [Mac] Remove BrowserCommandExecutor protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't take a window for handleExtraKeyboardShortcut. Created 5 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
Index: chrome/browser/ui/cocoa/browser_window_utils.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_utils.mm b/chrome/browser/ui/cocoa/browser_window_utils.mm
index 60dd4d1f8827371fc63ecfb3f2469b5eef29e278..2a63941522accefc8ddb13b11d8cbcad7934f496 100644
--- a/chrome/browser/ui/cocoa/browser_window_utils.mm
+++ b/chrome/browser/ui/cocoa/browser_window_utils.mm
@@ -45,13 +45,7 @@ using content::NativeWebKeyboardEvent;
if ([[NSApp mainMenu] performKeyEquivalent:event])
return true;
- if ([event_window handleExtraBrowserKeyboardShortcut:event])
- return true;
-
- if ([event_window handleExtraWindowKeyboardShortcut:event])
- return true;
-
- if ([event_window handleDelayedWindowKeyboardShortcut:event])
+ if ([event_window handleExtraKeyboardShortcut:event])
return true;
}

Powered by Google App Engine
This is Rietveld 408576698